design-how-build-design-system

Installation
SKILL.md

Build a Design System

When to Use

Use when an existing app needs tokens, component contracts, or a first design-system pilot. Use design-how-migrate-design-system to adopt an existing system across consumers.

Workflow

  1. Inventory routes, raw values, component families, and width, theme and state combinations. Capture a representative flow before edits. Use local fixture data, recording empty, loading, error, disabled and long-text states when present.
  2. Group raw values by purpose rather than by hex or pixel count. Pair semantic foreground and surface roles. Use design-how-token-mapping or a manual mapping table. Record intentional exceptions and test contrast before consolidating visually similar values.
  3. Build the most-used family first. Preserve public APIs or document migration gaps, including labels, slots, keyboard behavior, disabled semantics and error feedback. Add a showcase with realistic content and document the component with design-how-component-docs or a local story.
  4. Add a targeted lint rule or test with one deliberate failing fixture and a passing case. Baseline existing violations where necessary and require new code to avoid adding them.
  5. Move the pilot flow, then compare the same widths, themes and fixture states. Review unexplained visual differences and test keyboard navigation and the hardest call site. Before handing off, report prop gaps, event differences, missing tone combinations and changed accessible names.

Example

“Replace hardcoded foreground and surface colors in checkout with semantic tokens.” Inventory their uses by role, map them to paired tokens, swap the values and compare checkout screenshots and contrast in both themes.

Limitations

Installs
2
GitHub Stars
50.6K
First Seen
1 day ago
Security Audits