Skill library

Agent skill UI design

UI Design

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/TencentCloudBase/CloudBase-MCP/tree/main/config/.claude/skills/ui-design --skill ui-design --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/TencentCloudBase/CloudBase-MCP/tree/main/config/.claude/skills/ui-design --skill ui-design

    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 the Tencent CloudBase edition of the installed `ui-design` Skill. The standalone bundle includes checklist.md. Web and mini-program implementation instructions are sibling skills available in the full CloudBase toolkit. A design-only brief needs no CloudBase login.

View operation manual

What this skill helps with

  • Shape a web interface around a coherent visual direction.

Good for

  • Visual direction
Skill name
ui-design
Scenario
Specify a web request form before implementation
Deliverable
A visible web design spec with palette, typography, hierarchy, responsive layout and named states.
Skill name
ui-design

Define a component task with an observable result

A request with an unclear outcome

Write JSX immediately and decide the design during implementation.

The Skill requires an explicit direction and platform-aware design spec before markup or styling.

A workflow with observable results

  1. Read the platform and existing tokens
  2. Write a concrete design spec
  3. Check the spec and identify the platform handoff

CloudBase UI Design operation manual

Define a visual direction, field hierarchy and expected states before handing off to platform implementation.

Replace the bracketed details with your own project and target.

  1. Read the platform and existing tokens

    Define the form’s task and primary action.

    Prompt · Step 1
    Use Tencent CloudBase `ui-design` for [workshop request form]. Read checklist.md, confirm the target is web, and identify the primary submission action and any approved palette or font tokens. State the main user goal and the hierarchy of heading, helper text, form and action before writing code.
  2. Write a concrete design spec

    Make the palette, type roles and layout decisions visible.

    Prompt · Step 2
    Use Tencent CloudBase `ui-design` to produce a design spec for [web request form]. Name one concrete direction and specify the background, text and action colors, heading and body typography, spacing scale, narrow and wide layout, and empty, invalid, submitting and completed states. Cite approved project tokens that override Skill defaults. Deliver the spec before implementation.
  3. Check the spec and identify the platform handoff

    Use the activation checklist before code generation.

    • A visual direction, palette and type roles are visible before code goes in.
    • The design states, platform and implementation handoff are specified.
    Prompt · Step 3
    Use Tencent CloudBase `ui-design` to self-audit [draft design spec] against checklist.md. Confirm the target platform, palette and typography are explicit and describe how to verify the primary action and mobile layout. Name the full toolkit’s web-development skill as the implementation handoff, and state if it is unavailable in this standalone installation.

Find the relevant rule

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

The sibling implementation file is missingReference
Command or reference
SKILL.md · Sibling skills (local only)
Examples
The standalone skill supports the design step. The full toolkit adds platform siblings.

CloudBase UI Design troubleshooting

Can I use the standalone skill for a design-only request?

Yes. Use its bundled activation checklist and state the platform handoff for later implementation.