storybook
Installation
SKILL.md
Storybook
Keep stories as accurate, reviewable examples of the public component contract. Read the project's Storybook setup and nearby stories before writing or updating one.
Workflow
- Locate the component and its affected stories. Treat creating a component or changing its public contract as a Storybook update trigger.
- Classify the title as
Components,Foundations, orCompounds. - Define typed meta and stories with autodocs, useful controls, and representative args.
- Cover each meaningful visual variant and state without inventing unsupported behavior.
- Update removed or invalid args, controls, union options, and affected stories when props or types change.
- Run the narrowest available Storybook, type, and lint checks.