A Claude Code skill that brings golden-ratio design principles to your workflow. Generate wireframes, mockups, color palettes, and design audits — all rendered in Excalidraw, directly in your terminal.
Built on LiftKit's mathematical design system (phi = 1.618), encoded as knowledge rather than a dependency.
| Command | What it does |
|---|---|
/design [description] |
Generate wireframes or hi-fi mockups in Excalidraw |
/design-review [file] |
Audit existing code for design system compliance |
/design-palette [color] |
Generate OKLCH color palettes with MD3 tokens |
/design-tokens [category] |
Quick-reference tables for spacing, typography, colors |
- Claude Code CLI
- Excalidraw MCP server (included with Claude Code's built-in MCP servers)
Clone this repo, then copy the three directories into your project's .claude/ folder:
git clone https://github.com/BFondue/claude-design-skill.git
cp -r claude-design-skill/commands claude-design-skill/agents claude-design-skill/docs your-project/.claude/Or as a one-liner:
git clone https://github.com/BFondue/claude-design-skill.git /tmp/cds && cp -r /tmp/cds/{commands,agents,docs} .claude/ && rm -rf /tmp/cdsYour project structure should look like:
your-project/
└── .claude/
├── commands/
│ ├── design.md
│ ├── design-review.md
│ ├── design-palette.md
│ └── design-tokens.md
├── agents/
│ └── design-architect.md
└── docs/design/
├── golden-ratio-system.md
└── excalidraw-patterns.md
That's it. The commands will appear in Claude Code's / menu.
/design dark login page with email and Google sign-in
Renders a phi-spaced wireframe in Excalidraw with spacing annotations. Add --mockup or say "mockup" for full-color hi-fi output.
/design mockup bright SaaS pricing page with 3 tiers
Full-color design with realistic content, proper typography hierarchy, and material effects.
/design-review src/app/page.tsx
Analyzes your component's spacing, typography, colors, and contrast. Outputs a 0-100 compliance score with specific fix suggestions and an annotated Excalidraw diagram.
/design-palette ocean blue
Generates a full MD3 palette (Primary, Secondary, Tertiary, Error, Surface) with phi-derived lightness curves in OKLCH. Renders swatches in Excalidraw and outputs copy-pasteable CSS custom properties.
/design-tokens spacing
/design-tokens typography
/design-tokens all
Outputs formatted tables with phi scale values, font sizes, line heights, and component dimensions.
Everything derives from phi (1.618):
- Spacing: 11-step scale from 2px to 110px, each step multiplied by phi
- Typography: Font sizes step by phi, line heights at 1.0 / 1.272 / 1.618
- Layout: Golden-ratio column splits (61.8% / 38.2%)
- Color: OKLCH lightness curves using phi^(-0.35) decay
- Optical corrections: Asymmetric card padding, icon alignment shifts, circle scaling
For complex requests (3+ screens, full user journeys), the skill automatically delegates to the design-architect agent, which:
- Creates a user journey flowchart first
- Designs each screen with consistent phi spacing
- Uses camera panning to walk through the flow
- Zooms out for a final overview
MIT