Skill library

Agent skill UI design

Msw UI System

Shape a web interface around a coherent visual direction.

  • UI design

Install the skill

Installation method

Run the command from your project root with Node.js and npm.

npx skills@latest add https://github.com/msw-git/msw-ai-coding-plugins-official/tree/main/plugins/msw-maker-base-skill/skills/msw-ui-system --skill msw-ui-system --agent claude-code --yes

Check this file in your project.claude/skills/msw-ui-system/SKILL.md

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/msw-git/msw-ai-coding-plugins-official/tree/main/plugins/msw-maker-base-skill/skills/msw-ui-system --skill msw-ui-system

    Select your assistant and choose the project installation scope.

    Official instructions

The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use Node.js and the installed `msw-ui-system` scripts. The builder protocol is in the sibling `msw-general` Skill from the same official repository. The standalone layout workflow uses a disposable file and no Maker login.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Skill name
msw-ui-system
Scenario
Build and lint an offline MapleStory Worlds popup
Deliverable
A .ui popup file with a named pane and nested title and Close control, lint result and terminal preview.
Skill name
msw-ui-system

Define a component task with an observable result

A request with an unclear outcome

Edit .ui JSON directly and place every entity at group root.

Direct edits can break UUID mappings and flat sibling paths prevent the panel parts from moving together.

A workflow with observable results

  1. Plan the hierarchy and bounds
  2. Build the popup with UIBuilder
  3. Reopen and inspect the terminal preview

MSW UI System operation manual

Use the published UIBuilder to create one nested popup group and inspect its layout before engine import.

Replace the bracketed details with your own project and target.

  1. Plan the hierarchy and bounds

    Read the sibling builder protocol and popup layout recipe.

    Prompt · Step 1
    Use `msw-ui-system` to plan [offline popup]. Read the official msw-general builder-protocol.md and builder-protocol-ui.md §3 plus the bundled popup recipe. Choose a separate UIGroup, a Window parent and Window/Title and Window/Close children. Define anchors and a Close target of at least 88×88 for the design.
  2. Build the popup with UIBuilder

    Create the parent first, then write with strict lint.

    Prompt · Step 2
    Use `msw-ui-system` to create [scratch popup.ui] through the installed scripts/msw_ui_builder.cjs. Create a UIBuilder group, then call panel, text and button with the approved parent paths and fixed-anchor rect sizes. Call write on the disposable output with lint enabled. Preserve existing UUIDs through UIBuilder.read if adapting an existing file. Report the exact result and any warnings.
  3. Reopen and inspect the terminal preview

    Check the entity paths and target size before any engine work.

    • Strict lint completes and the children resolve by full paths.
    • The terminal preview places Close inside Window at the intended size.
    Prompt · Step 3
    Use `msw-ui-system` to validate [scratch popup.ui]. Reopen via UIBuilder.read, confirm Window/Title and Window/Close exist, and inspect the Close transform size. Run `node "<installed-skill>/scripts/preview_ui_layout.cjs" "<file.ui>"`. Return the paths, target size, lint and preview observations. If Maker playback was not run, mark the runtime and bindings as unverified.

Find the relevant rule

Point the assistant to the installed Skill and a specific issue.

A child path fails lookup or lintReference
Command or reference
Builder protocol UI §3.5 · Hierarchy by Path
Examples
Create intermediate panels before their children and use slash-delimited paths.

MSW UI System troubleshooting

Does the preview bind a button handler?

The preview displays offline layout. Runtime binding, interaction and screen behavior require the Maker workflow and separate engine testing.