Principal designer panel establishing design system foundations. Spawns 6 expert agents for color tokens, grid, spacing, components with states, anatomy, accessibility, code specs. Use for "design system", "design tokens", "component specs", or "build foundations".
Generate a complete design system specification by spawning 6 parallel sub-agents, each embodying a principal designer with deep expertise in a specific foundation area. Unlike brand identity (which presents alternatives), design system output converges to a single specification through expert consensus.
Read references/workflow.md for the full detailed workflow. Below is a summary of each step.
$ARGUMENTS for key=value pairs: stack, scope, brand-dir, a11y, platformsmanifest.json from most recent docs/brand-identity/ directory, check selected_direction fieldbrand-dir points to a brand identity direction, read its visual-identity.md for color and typography inputsRead references/workflow.md for the complete agent prompts and spawn instructions.
Round 1 — Spawn 6 agents in parallel using the Task tool:
Partial failure handling: Proceed if at least 5 of 6 experts complete. Frost and Anne are required — if either fails, retry once before proceeding. If fewer than 5 complete, report failure and ask user to retry.
After all expert agents complete (or minimum 5):
Write deliverables to docs/design-system/<date>-<project-name>/:
manifest.json # Machine-readable output metadata
context.md # Human-readable summary and usage guide
tokens/
primitives.tokens.json # W3C DTCG format: raw values
semantic.tokens.json # Aliases: bg.primary, text.error, etc.
component.tokens.json # Component-scoped: button.bg, input.border
foundations/
color-system.md # Full color spec with light/dark mode
grid-system.md # 12-column grid, breakpoints, gutters
spacing-system.md # 8px scale with token names
typography-system.md # Type scale, pairing rules
components/
component-template.md # Anatomy, states, usage, accessibility, code spec
[component-name].md # Per-component spec
synthesis-report.md # Expert panel summary, decisions made
Present the converged specification summary:
Interactive mode: Ask if the user wants to adjust any values. Non-interactive mode: Write output and complete.
Color System:
Grid System:
Typography:
Components:
Design Tokens:
$value, $type, $description