Skill library

Agent skill Frontend

Design System

Establish reusable styling and design decisions across web screens.

  • Design systems

Install the skill

Installation method

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

npx skills@latest add https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/tree/main/.claude/skills/design-system --skill design-system --agent claude-code --yes

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

Other ways to install
  • Choose an assistant interactively

    npx skills@latest add https://github.com/nextlevelbuilder/ui-ux-pro-max-skill/tree/main/.claude/skills/design-system --skill design-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. Approved raw palette values and existing token names, a primary button state brief, and Node.js for the bundled generators and checker.

View operation manual

What this skill helps with

  • Establish reusable styling and design decisions across web screens.

Good for

  • Design tokens and shared styles
Task
Specify tokens for one primary button
Requirements
Approved raw palette values and existing token names, a primary button state brief, and Node.js for the bundled generators and checker.
Deliverable
One scoped JSON token chain, generated CSS, a state table and a local hardcoded-value scan.
Skill name
design-system

Make the request verifiable

An underspecified brief

Apply a new palette directly in the button and consider the design system updated.

A token chain connects raw values, semantic purpose and component states. The button should consume the resulting variables.

A result you can check

  1. Start from approved values and choose semantic names that are already in use where possible.
  2. Generate from the JSON and inspect resolved values before wiring the component.
  3. Treat the local scan as evidence for hardcoded values and exercise the button separately.

Design System operation manual

One scoped JSON token chain, generated CSS, a state table and a local hardcoded-value scan.

Approved raw palette values and existing token names, a primary button state brief, and Node.js for the bundled generators and checker.

  1. Map the three layers for the button states

    Start from approved values and choose semantic names that are already in use where possible.

    Prompt · Step 1
    Use the installed nextlevelbuilder Skill named design-system and read its SKILL.md first.
    
    Read [existing token file, approved colors, primary button call sites]. Use the installed three-layer token reference to map the raw palette, action background and foreground, plus default, hover, focus and disabled button roles. Write the state table and create or adapt tokens.json using the established naming. Flag unresolved choices before changing other consumers.
  2. Generate CSS and use it in the scoped button

    Generate from the JSON and inspect resolved values before wiring the component.

    Prompt · Step 2
    Use the installed nextlevelbuilder Skill named design-system and read its SKILL.md first.
    
    From the project root, run node with the installed design-system scripts/generate-tokens.cjs path and arguments --config tokens.json -o tokens.css. Inspect the generated declarations against the approved token chain and use the relevant custom properties in [primary button styles]. Update the JSON source for value changes and regenerate the CSS.
  3. Scan the component and verify its actual states

    Treat the local scan as evidence for hardcoded values and exercise the button separately.

    • The JSON models the three token layers, and the generated CSS values match the approved button roles.
    • The source scan and browser state checks are both recorded with meaningful findings.
    Prompt · Step 3
    Use the installed nextlevelbuilder Skill named design-system and read its SKILL.md first.
    
    Run node with the installed design-system scripts/validate-tokens.cjs path and arguments --dir src/ for the fixture, or identify the component directory in my project. Review findings. In the running preview, compare normal, hover, keyboard focus and disabled states with the approved state table, including computed color and visible focus. Return the changed paths and observed checks.

Look up this workflow decision

Read the relevant section in the installed Skill.

A generated rule has a literal value while the JSON has an aliasSKILL.md
Command or reference
Token Architecture
Examples
The bundled generator resolves references at generation time. Inspect the result and regenerate after changes to the source JSON.

Troubleshooting

Are Brand and UI Styling needed for these local token commands?

The bundled token generator and source checker run locally with Node.js and your files. Brand and UI Styling are companion Skills for deriving brand foundations and applying component styles.

How do I select this installed Skill?

Name design-system directly and confirm its install source is .claude/skills/design-system in nextlevelbuilder/ui-ux-pro-max-skill.