design-system-starter — Claude Code skill: setup and guide
Generates design tokens, React component hierarchy, and accessibility rules to structure an application design system.
npx claude-code-templates@latest --skill development/design-system-starterWhat design-system-starter does
The skill provides scaffolding for UI foundations. It writes design tokens for typography, palettes, elevation, and spacing using the W3C JSON format. Values are organized into primitive scales and semantic aliases so interface changes stay manageable.
Inside the package are reference files: templates/design-tokens-template.json, a starter React component in templates/component-template.tsx, and checklists/design-system-checklist.md for audits. Components follow atomic design principles from atoms to organisms, configured with CSS custom properties or ThemeProvider for dark mode.
Interface elements require strict contrast ratios, demanding a minimum 4.5:1 ratio for regular body text under WCAG 2.1 AA.
What it helps with
- generate W3C-compliant design tokens for colors, typography, and spacing
- construct atomic component hierarchies in React
- configure dark mode theming with CSS variables or ThemeProvider
- audit interface elements against WCAG 2.1 AA contrast requirements
Example prompts for the agent
- Set up a design system for my React project with dark mode support
- Generate color and spacing tokens using the W3C JSON specification
- Audit button contrast ratios against WCAG 2.1 AA standards
How to install design-system-starter
1claude-code-templates
npx claude-code-templates@latest --skill development/design-system-starter2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill design-system-starter -a claude-code3Manually: put the files in place
~/.claude/skills/design-system-starter/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/design-system-starter/
Manually: put the files in place
.agents/skills/design-system-starter/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/design-system-starter/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates design-system-starter2Manually: put the files in place
.github/skills/design-system-starter/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/design-system-starterManually: put the files in place
.devin/skills/design-system-starter/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about design-system-starter
How do I install design-system-starter in Claude Code?
Run npx claude-code-templates@latest --skill development/design-system-starter in your terminal. Alternatively, install it with npx skills add davila7/claude-code-templates --skill design-system-starter -a claude-code or copy files to ~/.claude/skills/design-system-starter/SKILL.md.
What does design-system-starter do?
It guides the creation of design tokens, React component structures, and theme setups. It also supplies guidelines to ensure compliance with WCAG 2.1 AA.
What templates are bundled with the skill?
It includes templates/component-template.tsx for React code, templates/design-tokens-template.json for token data, references/component-examples.md, and an audit checklist in checklists/design-system-checklist.md.