Skill library

Agent skill Frontend

Design System

Establish reusable styling and design decisions across web screens.

  • Design systems
  • Accessibility
  • UI components
  • Design tokens

Install the skill

Installation method

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

npx skills@latest add https://github.com/anthropics/knowledge-work-plugins/tree/main/design/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/anthropics/knowledge-work-plugins/tree/main/design/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. The button source and real family variants, its design tokens or design link, and normal, disabled and loading usage examples.

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
Document a reusable loading button from code and design evidence
Inputs
The button source and real family variants, its design tokens or design link, and normal, disabled and loading usage examples.
Deliverable
A truthful component document with real props, accessible names, variants, states and a buildable usage example.
Skill name
design-system

Start from real states and observations

A broad request

Write generic design-system docs for buttons.

Generic documentation can promise props and behavior that the project does not implement.

A verifiable workflow

  1. Inventory actual properties, variants and tokens against use sites or design.
  2. The documented example uses the live component and real state names.
  3. An example compiles or displays in existing stories, with the documented behavior verified.

Anthropic Design System operation manual

A truthful component document with real props, accessible names, variants, states and a buildable usage example.

The button source and real family variants, its design tokens or design link, and normal, disabled and loading usage examples.

  1. Choose document mode and trace the family

    Inventory actual properties, variants and tokens against use sites or design.

    Prompt · Step 1
    Use the Anthropic design-system Skill from knowledge-work-plugins in its document mode for [Button source, stories, designs and call sites]. Compare the real type signature and component variants with actual usage. Record which states are implemented and which are absent. Do not infer a prop name from a design label.
  2. Write the component document with working examples

    The documented example uses the live component and real state names.

    Prompt · Step 2
    Create a draft for [button family] following the installed Document output: description, variants, props or properties, default/hover/focus/disabled/loading/active states as applicable, accessibility, usage examples and anti-patterns. Link each token to its source and use a verified import path. Use the project’s actual accessible name, loading feedback and disabled behavior.
  3. Check the example and report uncovered states

    An example compiles or displays in existing stories, with the documented behavior verified.

    Prompt · Step 3
    Run [button documentation example] using the repository’s current test, story, or preview entry. Check keyboard focus, loading, disabled state and accessible naming against the document. Flag any example or state still missing evidence. Use audit mode only if I request broader system coverage, and extend mode for a new component API.

Look up the invocation

Read the corresponding section in the installed Skill.

Why is the Skill installed as design-system?SKILL.md
Command or reference
/design-system audit · document · extend
Examples
That is the publisher’s Skill name. Check the project’s skills-lock.json for anthropics/knowledge-work-plugins and design/skills/design-system, since other publishers have an entry with the same name.

Troubleshooting and FAQ

Why is the Skill installed as design-system?

That is the publisher’s Skill name. Check the project’s skills-lock.json for anthropics/knowledge-work-plugins and design/skills/design-system, since other publishers have an entry with the same name.