Design system

Build, adopt and maintain a shared React design system.

pnpm dlx skills add SarthakMishra/skills --skill design-system react-guide

Use /design-system in Claude Code or $design-system in Codex. Read the skill.

Use it to set up a React design system, adopt one in an existing app, or bring inconsistent components back together. It builds on Tailwind and shadcn/ui. The command also installs React guide for component implementation.

Example prompts

/design-system Migrate our duplicate buttons to the shared Button. Preserve their states and document any new variants.
$design-system Audit our tokens and shared components for inconsistencies. Use the settings feature as the test case and report findings without editing.

Shared rules and components

The agent defines how tokens, components, states, layout, typography, color and motion fit together. It reuses existing controls and variants before adding new ones, then checks them in the screens that use them: both themes, keyboard focus, long text and narrow layouts.

Decisions go in DESIGN.md, with checks to catch later inconsistencies. An audit returns findings and suggested changes; an implementation request updates the shared components and their uses.

Works well with