Skip to content

skilldrop·docs·How-to

Use design-system-spec

Write a design system component spec

Write a design system component spec — purpose, anatomy, variants, every state (default, hover, focus, active, disabled, error, loading), the design tokens each part uses by name, behaviour, content rules, accessibility (keyboard, focus order, ARIA role, contrast, target size) cited to WCAG 2.2 criteria, do/don't examples, and the open questions engineering must answer.

Reach for it when the user wants a component spec, design system documentation, "spec out this button / modal / text field", a component's states and tokens, or a design-to-engineering hand-off for a component.

Install it

npx skilldrop-cli install design-system-spec                 # Claude Code, your user folder
npx skilldrop-cli install design-system-spec --project       # Claude Code, this repo
npx skilldrop-cli install design-system-spec --ide cursor    # or kiro, codex, antigravity, copilot

It is part of the Experience design pack: --pack experience-design installs it with its neighbours.

Ask for it

Say it the way you would to a colleague. Requests like these route to it:

Requests like these belong to a different skill, so it shouldn't answer them:

If another skill answers instead, ask for this one by name: "use design-system-spec".

Check what you get

A good result:

See a worked example

Use something else when

Next

Edit this page on GitHub · View source