979 B
979 B
| description | argument-hint |
|---|---|
| Scaffold a full component specification from a name or description. | [component name, e.g., 'date picker' or 'notification banner'] |
/create-component
Generate a comprehensive component specification.
Steps
- Research — Understand purpose and common implementations.
- Anatomy — Break down parts using
component-specskill. - Variants — Define size, style, layout variants.
- States — Map interactive states using
component-specskill. - Tokens — Identify consumed tokens using
design-tokenskill. - Accessibility — Specify ARIA, keyboard, screen reader using
accessibility-auditskill. - Naming — Follow conventions using
naming-conventionskill. - Documentation — Structure using
documentation-templateskill.
Output
Complete spec: overview, anatomy, props/API, variants, states, accessibility, usage guidelines, tokens.
Consider following up with /audit-system.