| name | use-design-system |
| description | Explicitly load a design system from the org-level registry at ~/.claude/design-systems/<name>/ for the current project. Use when user says "use the Acme design system", "apply company-x tokens", or similar. |
| argument-hint | <design-system-name> |
| allowed-tools | Read Write Bash(ls:*) Bash(mkdir:*) Bash(cp:*) |
Use Design System
Load an org-level design system from ~/.claude/design-systems/<name>/ into the current project.
Steps
-
If $0 (name) is missing → Bash(ls ~/.claude/design-systems/ 2>/dev/null) and show the list, ask which one.
-
Verify the folder exists:
Bash(test -d ~/.claude/design-systems/$0 && echo ok || echo missing).
If missing → tell the user, list what's available, stop.
-
Read the tokens file:
Read ~/.claude/design-systems/$0/tokens.json
-
Copy to project-level for faster subsequent reads:
Bash(mkdir -p .claude)
Bash(cp ~/.claude/design-systems/$0/tokens.json .claude/design-tokens.json)
-
If ~/.claude/design-systems/$0/preview.html exists, offer to open it for visual reference via /preview ~/.claude/design-systems/$0/preview.html — lets the user remember what the system looks like before starting work.
-
Report: "Loaded design system $0 — colors, fonts, spacing, radii written to .claude/design-tokens.json. Subsequent /make-deck, /interactive-prototype, /wireframe will use it automatically."
When to NOT use this skill
- User is extracting a new system from a codebase / screenshot / Figma → use
/create-design-system instead
- User explicitly said "ignore existing, I want something fresh" → route to
/create-design-system with "from scratch" mode
Registry format reminder
~/.claude/design-systems/
├── acme/
│ ├── tokens.json # required
│ └── preview.html # optional
├── company-x/
│ └── tokens.json
└── minimal-mono/
└── tokens.json
tokens.json schema:
{
"name": "acme",
"colors": { "primary": "#D97757", "accent": "...", "bg": "...", "text": "..." },
"fonts": { "display": "...", "body": "...", "mono": "..." },
"spacing": [4, 8, 12, 16, 24, 32, 48, 64],
"radii": { "sm": 4, "md": 8, "lg": 16 },
"shadows": [...]
}