| name | wtf.steer-design |
| description | This skill should be used when a team wants to create or refine the design guidelines document โ for example "create the design steering doc", "document our design system", "write the design principles", "document our component patterns", "set up the design guidelines", or "update the design doc". Generates docs/steering/DESIGN.md as a living document capturing design principles, the design system, tokens, component patterns, and accessibility standards. Generated once and refined โ not regenerated from scratch. |
Steer Design
Generate or refine docs/steering/DESIGN.md โ the design guidelines document. This document is the canonical reference for design decisions, the system in use, tokens, patterns, and accessibility requirements that every designer and implementer must follow.
The shared steering-doc flow (exists-check โ research โ interview โ draft โ review โ write โ wiki sync โ continue) lives in ../references/steering-doc-process.md. Follow that process with the skill-specific inputs below.
- Doc path:
docs/steering/DESIGN.md
- Template:
references/design-template.md
- Display name / wiki page:
WTF-Design.md
- Commit message:
docs: add design guidelines steering document
Step 2 โ Research checklist
Use the Agent tool to extract design facts directly. Do not ask the user for things that can be read:
- Design system: Storybook config, component library imports, design-system packages in
package.json
- Tokens: CSS custom properties (
--color-*, --spacing-*), Tailwind config, theme files, token definition files
- Components: existing UI components (look for
components/, ui/, src/components/)
- Figma links: any Figma URLs in README, existing issues, or
docs/
- Accessibility: existing WCAG references, axe configs, jest-axe usage
- Responsive breakpoints: Tailwind config, CSS media queries, layout files
docs/steering/VISION.md if it exists โ extract any design principles already stated there
Produce a draft of Stack, Tokens, and Component Patterns from research alone where possible.
Step 3 โ Gap-topic list
Ask only about items research could not determine. For each unanswered item, call AskUserQuestion (per ../references/questioning-style.md):
- Design principles โ question: "What 3โ5 principles guide every design decision for this product?" / header: "Design principles" / options: pre-fill from
VISION.md or any existing design docs.
- Design system โ question: "What design system are you using? Do you have a Figma library?" / header: "Design system" / options: pre-fill with anything found in the codebase or imports.
- Token gaps โ question: "Are there tokens not yet defined in code that designers rely on?" / header: "Token gaps" / options: pre-fill with gaps inferred from design-system research.
- Responsive strategy โ question: "How does the layout adapt across breakpoints?" / header: "Responsive strategy" / options: pre-fill with breakpoints found in the codebase.
- Accessibility target โ question: "Are there accessibility requirements beyond WCAG 2.1 AA?" / header: "Accessibility target" / options: pre-fill with any existing a11y config found.
Step 4 โ Writing rules
- Tokens must reflect what is actually defined in the codebase โ not aspirational values.
- Component patterns reference real component paths where they exist.
- Accessibility section always includes the baseline rules from the project's
CLAUDE.md (if present) plus any additions.
- Principles are written as design directives, not engineering constraints.
Step 8 โ Continue options
{label: "Create QA.md", description: "Run wtf.steer-qa to document the QA standards"}
{label: "Create TECH.md", description: "Run wtf.steer-tech to document the technical guidelines"}
{label: "Create VISION.md", description: "Run wtf.steer-vision to document the product vision"}
{label: "Stop here", description: "Exit โ no further action"}