Design Intelligence Skill
The context layer of the design stack. Every other design skill depends on this one.
This skill reads the project's DESIGN.md, reasons about design decisions, and can
create or update the design system document from scratch if none exists.
Core Responsibilities
- Read DESIGN.md before any UI work. If no
DESIGN.md exists in the project root, create one (see Bootstrap below).
- Reference brand archetypes from the getdesign.md library (66 brands) when the user wants to match a specific aesthetic.
- Reverse-engineer any live site using
npxskillui to extract design tokens.
- Write and maintain DESIGN.md as the authoritative design system document.
DESIGN.md Standard Format (9 sections — always produce all 9)
- Visual Theme & Atmosphere — mood, philosophy, 5-word character statement
- Color Palette & Roles — semantic token table with hex + rgba values
- Typography Rules — font stack + full hierarchy table (Display → Caption → Mono)
- Component Stylings — buttons (all variants), cards, inputs, badges, nav, code blocks
- Layout Principles — spacing scale, grid, border-radius scale, whitespace philosophy
- Depth & Elevation — 6-level shadow table with exact CSS values
- Do's and Don'ts — 8+ rules per column, specific and concrete
- Responsive Behavior — breakpoint table, touch targets, collapsing strategy
- Agent Prompt Guide — quick colour reference + 5 copy-paste component prompts
Brand Archetype Library
When a user says "make this look like X", reference these design patterns:
Nearest to Pi-CEO
| Brand |
Aesthetic |
Key tokens |
| Vercel |
Black/white precision, Geist font, zero decoration |
#000 canvas, Inter/Geist, white text |
| Linear |
Ultra-minimal, purple accent, Berkeley Mono |
#08090a canvas, #5e6ad2 accent |
| Supabase |
Dark emerald, code-first, developer density |
#1c1c1c canvas, #3ecf8e accent |
| Raycast |
Sleek dark chrome, vibrant gradients |
Dark chrome, gradient accents |
| Warp |
IDE-like dark, block-based command UI |
Terminal dark, monospace-first |
Premium / Enterprise
| Brand |
Aesthetic |
| Stripe |
Purple gradients, weight-300 elegance, pristine white |
| Apple |
Premium whitespace, SF Pro, cinematic imagery |
| IBM |
Carbon system, structured blue, enterprise grid |
| Superhuman |
Purple glow, keyboard-first, ultra-premium dark |
Developer Tools
| Brand |
Aesthetic |
| Cursor |
Sleek dark, gradient accents |
| Sentry |
Dark dashboard, data-dense, pink-purple |
| PostHog |
Playful dark, developer-friendly |
| Ollama |
Terminal-first, monochrome simplicity |
Fintech / Data
| Brand |
Aesthetic |
| Revolut |
Sleek dark, gradient cards, fintech precision |
| Coinbase |
Clean blue, institutional trust |
| Kraken |
Purple dark, data-dense dashboards |
Bootstrap: Creating a DESIGN.md for a New Project
If no DESIGN.md exists, run this process:
Step 1 — Gather context (ask these 4 questions)
- What is the primary user? (developer / executive / consumer)
- What 3 words describe the brand personality?
- Is there an existing codebase? If yes, what colours/fonts are already in use?
- Which brand archetype is closest? (show the table above)
Step 2 — Reverse-engineer existing code (if codebase exists)
npx skillui --dir ./dashboard --mode ultra
This extracts: CSS variables, Tailwind config tokens, component patterns, animation specs.
Read the generated DESIGN.md output and validate against the actual codebase.
Step 3 — Reverse-engineer a reference site (if no codebase)
npx skillui --url https://linear.app --mode ultra
# Produces: DESIGN.md, ANIMATIONS.md, COMPONENTS.md, tokens/colors.json, tokens/typography.json
Step 4 — Compose the DESIGN.md
Produce all 9 sections. Use the tokens extracted in Step 2–3 as the foundation.
Apply the brand archetype patterns from Step 1 as the aesthetic guide.
Updating an Existing DESIGN.md
When the design evolves, update these sections in order:
- Color Palette (if new colours added)
- Component Stylings (if new component types added)
- Do's and Don'ts (if new anti-patterns discovered)
- Agent Prompt Guide (add prompts for new component types)
Always bump the _Updated date at the top of the file.
Working with getdesign.md
Install any brand's DESIGN.md as a reference:
npx getdesign@latest add linear.app # Linear design system
npx getdesign@latest add stripe # Stripe design system
npx getdesign@latest add vercel # Vercel design system
Use reference files as: @.design-references/linear.app.md in briefs to tell the
component builder to match that aesthetic for specific pages or sections.
DESIGN.md from a screenshot (vision path)
When there is no codebase and no live URL — only an image of a design you like — build the
DESIGN.md by reading the screenshot directly:
- Read the image. Name the palette (sample the actual pixels, don't guess), the type
hierarchy, spacing rhythm, and elevation.
- Produce all 9 DESIGN.md sections from what is observed, not from defaults.
- Emit a single self-contained
preview.html that renders the tokens (swatches, type
scale, one of each component) so the extraction is visually checkable before any real UI
is built.
Reverse-engineer a live site → reusable skill (one-shot)
Beyond extracting a one-off DESIGN.md, bottle a reference aesthetic into a reusable skill
so every future build inherits it:
npx skillui --url https://linear.app --mode ultra --emit-skill
This produces a SKILL.md (name, description, trigger, the extracted tokens as the
procedure) — not just a document. Register it in the router so "make it feel like Linear"
routes to a grounded skill instead of re-scraping. One reference site → one durable skill.
Design laws — the taste layer
The kit guarantees the floor; taste raises the ceiling. Grounding a build in tokens stops
AI-default slop only if these laws hold:
- OKLCH, not raw hex. Author colour in OKLCH so lightness/chroma stay perceptually even
across a ramp; convert to hex at output only.
- Never pure
#000 / #fff. Use a near-black and a warm off-white — pure values read as
unfinished and vibrate against each other.
- One accent, used with restraint. A single accent, applied sparingly, reads as
intentional; two or more accents read as a template.
- Theme from the scene. Pull the palette from the hero image/content, not from a swatch
picker — the page and its imagery must share one light.
- No em dashes in display copy. They read as machine-written in headlines.
- Anti-slop bans (flag on sight): the gradient blob background, three identical feature
cards, the stock team-photo grid, floating geometric shapes, the generic purple→blue AI
gradient.
Scroll & motion styles (for animated / 3D sites)
When a brief calls for a scroll-driven or 3D site, name the motion style up front — pick one,
don't blend:
| Style |
Motion |
| A — Loop |
Hero animation loops with no visible seam; alive at rest, never freezes |
| B — Scrub |
Scroll position scrubs a timeline (frames, not mp4 — WebP frames scrub smoother) |
| C — Cursor |
Elements react to cursor position |
| D — Horizontal |
Vertical scroll drives horizontal travel |
| E — Exploded |
Parts assemble/disassemble on scroll |
| F — Push-through |
Camera pushes through layered planes |
| G — Scrollytelling |
Copy beats pinned to scroll milestones |
Motion render laws: locked camera, constant velocity, motion-blur off, START = END for any
loop. A frozen hero reads as broken.
Anti-Patterns to Flag
When reviewing a DESIGN.md or a design brief, flag these:
- No semantic token system (hardcoded hex throughout)
- Missing monospace font for data/code
- Missing status colours (how do error/success/warning states look?)
- No
Do's and Don'ts section (means design decisions will be inconsistent)
- Missing responsive strategy
- No Agent Prompt Guide section (agents can't use the design system efficiently)
1---2name: design-intelligence3description: Master design context skill. Reads/writes DESIGN.md, references 66 brand archetypes from getdesign.md, reverse-engineers any design system from a live site using npxskillui, and ensures every UI decision is grounded in explicit design intent rather than AI defaults.4---56# Design Intelligence Skill78The context layer of the design stack. Every other design skill depends on this one.9This skill reads the project's `DESIGN.md`, reasons about design decisions, and can10create or update the design system document from scratch if none exists.1112---1314## Core Responsibilities15161. **Read DESIGN.md before any UI work.** If no `DESIGN.md` exists in the project root, create one (see *Bootstrap* below).172. **Reference brand archetypes** from the getdesign.md library (66 brands) when the user wants to match a specific aesthetic.183. **Reverse-engineer any live site** using `npxskillui` to extract design tokens.194. **Write and maintain DESIGN.md** as the authoritative design system document.2021---2223## DESIGN.md Standard Format (9 sections — always produce all 9)24251. **Visual Theme & Atmosphere** — mood, philosophy, 5-word character statement262. **Color Palette & Roles** — semantic token table with hex + rgba values273. **Typography Rules** — font stack + full hierarchy table (Display → Caption → Mono)284. **Component Stylings** — buttons (all variants), cards, inputs, badges, nav, code blocks295. **Layout Principles** — spacing scale, grid, border-radius scale, whitespace philosophy306. **Depth & Elevation** — 6-level shadow table with exact CSS values317. **Do's and Don'ts** — 8+ rules per column, specific and concrete328. **Responsive Behavior** — breakpoint table, touch targets, collapsing strategy339. **Agent Prompt Guide** — quick colour reference + 5 copy-paste component prompts3435---3637## Brand Archetype Library3839When a user says "make this look like X", reference these design patterns:4041### Nearest to Pi-CEO42| Brand | Aesthetic | Key tokens |43|-------|-----------|-----------|44| **Vercel** | Black/white precision, Geist font, zero decoration | `#000` canvas, Inter/Geist, white text |45| **Linear** | Ultra-minimal, purple accent, Berkeley Mono | `#08090a` canvas, `#5e6ad2` accent |46| **Supabase** | Dark emerald, code-first, developer density | `#1c1c1c` canvas, `#3ecf8e` accent |47| **Raycast** | Sleek dark chrome, vibrant gradients | Dark chrome, gradient accents |48| **Warp** | IDE-like dark, block-based command UI | Terminal dark, monospace-first |4950### Premium / Enterprise51| Brand | Aesthetic |52|-------|-----------|53| **Stripe** | Purple gradients, weight-300 elegance, pristine white |54| **Apple** | Premium whitespace, SF Pro, cinematic imagery |55| **IBM** | Carbon system, structured blue, enterprise grid |56| **Superhuman** | Purple glow, keyboard-first, ultra-premium dark |5758### Developer Tools59| Brand | Aesthetic |60|-------|-----------|61| **Cursor** | Sleek dark, gradient accents |62| **Sentry** | Dark dashboard, data-dense, pink-purple |63| **PostHog** | Playful dark, developer-friendly |64| **Ollama** | Terminal-first, monochrome simplicity |6566### Fintech / Data67| Brand | Aesthetic |68|-------|-----------|69| **Revolut** | Sleek dark, gradient cards, fintech precision |70| **Coinbase** | Clean blue, institutional trust |71| **Kraken** | Purple dark, data-dense dashboards |7273---7475## Bootstrap: Creating a DESIGN.md for a New Project7677If no `DESIGN.md` exists, run this process:7879### Step 1 — Gather context (ask these 4 questions)801. What is the primary user? (developer / executive / consumer)812. What 3 words describe the brand personality?823. Is there an existing codebase? If yes, what colours/fonts are already in use?834. Which brand archetype is closest? (show the table above)8485### Step 2 — Reverse-engineer existing code (if codebase exists)86```bash87npx skillui --dir ./dashboard --mode ultra88```89This extracts: CSS variables, Tailwind config tokens, component patterns, animation specs.90Read the generated `DESIGN.md` output and validate against the actual codebase.9192### Step 3 — Reverse-engineer a reference site (if no codebase)93```bash94npx skillui --url https://linear.app --mode ultra95# Produces: DESIGN.md, ANIMATIONS.md, COMPONENTS.md, tokens/colors.json, tokens/typography.json96```9798### Step 4 — Compose the DESIGN.md99Produce all 9 sections. Use the tokens extracted in Step 2–3 as the foundation.100Apply the brand archetype patterns from Step 1 as the aesthetic guide.101102---103104## Updating an Existing DESIGN.md105106When the design evolves, update these sections in order:1071. Color Palette (if new colours added)1082. Component Stylings (if new component types added)1093. Do's and Don'ts (if new anti-patterns discovered)1104. Agent Prompt Guide (add prompts for new component types)111112Always bump the `_Updated` date at the top of the file.113114---115116## Working with getdesign.md117118Install any brand's DESIGN.md as a reference:119```bash120npx getdesign@latest add linear.app # Linear design system121npx getdesign@latest add stripe # Stripe design system122npx getdesign@latest add vercel # Vercel design system123```124125Use reference files as: `@.design-references/linear.app.md` in briefs to tell the126component builder to match that aesthetic for specific pages or sections.127128---129130## DESIGN.md from a screenshot (vision path)131132When there is no codebase and no live URL — only an image of a design you like — build the133DESIGN.md by reading the screenshot directly:1341351. Read the image. Name the palette (sample the actual pixels, don't guess), the type136 hierarchy, spacing rhythm, and elevation.1372. Produce all 9 DESIGN.md sections from what is observed, not from defaults.1383. Emit a single self-contained `preview.html` that renders the tokens (swatches, type139 scale, one of each component) so the extraction is visually checkable before any real UI140 is built.141142## Reverse-engineer a live site → reusable skill (one-shot)143144Beyond extracting a one-off DESIGN.md, bottle a reference aesthetic into a *reusable* skill145so every future build inherits it:146147```bash148npx skillui --url https://linear.app --mode ultra --emit-skill149```150151This produces a `SKILL.md` (name, description, trigger, the extracted tokens as the152procedure) — not just a document. Register it in the router so "make it feel like Linear"153routes to a grounded skill instead of re-scraping. One reference site → one durable skill.154155## Design laws — the taste layer156157The kit guarantees the floor; taste raises the ceiling. Grounding a build in tokens stops158AI-default slop only if these laws hold:159160- **OKLCH, not raw hex.** Author colour in OKLCH so lightness/chroma stay perceptually even161 across a ramp; convert to hex at output only.162- **Never pure `#000` / `#fff`.** Use a near-black and a warm off-white — pure values read as163 unfinished and vibrate against each other.164- **One accent, used with restraint.** A single accent, applied sparingly, reads as165 intentional; two or more accents read as a template.166- **Theme from the scene.** Pull the palette from the hero image/content, not from a swatch167 picker — the page and its imagery must share one light.168- **No em dashes in display copy.** They read as machine-written in headlines.169- **Anti-slop bans** (flag on sight): the gradient blob background, three identical feature170 cards, the stock team-photo grid, floating geometric shapes, the generic purple→blue AI171 gradient.172173## Scroll & motion styles (for animated / 3D sites)174175When a brief calls for a scroll-driven or 3D site, name the motion style up front — pick one,176don't blend:177178| Style | Motion |179|-------|--------|180| **A — Loop** | Hero animation loops with no visible seam; alive at rest, never freezes |181| **B — Scrub** | Scroll position scrubs a timeline (frames, not mp4 — WebP frames scrub smoother) |182| **C — Cursor** | Elements react to cursor position |183| **D — Horizontal** | Vertical scroll drives horizontal travel |184| **E — Exploded** | Parts assemble/disassemble on scroll |185| **F — Push-through** | Camera pushes through layered planes |186| **G — Scrollytelling** | Copy beats pinned to scroll milestones |187188Motion render laws: locked camera, constant velocity, motion-blur off, `START = END` for any189loop. A frozen hero reads as broken.190191---192193## Anti-Patterns to Flag194195When reviewing a DESIGN.md or a design brief, flag these:196- No semantic token system (hardcoded hex throughout)197- Missing monospace font for data/code198- Missing status colours (how do error/success/warning states look?)199- No `Do's and Don'ts` section (means design decisions will be inconsistent)200- Missing responsive strategy201- No Agent Prompt Guide section (agents can't use the design system efficiently)