Use this skill when Storybook is already installed and the user wants it set up for the project, with a working `preview` file and stories for its real components. To write or update the stories of a component, use write-stories instead.
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Critical
Do not install without reviewing
Prerequisites:
package.json lists a storybook dependency, of any version, or the project has a .storybook/ directory (hidden: ls -a lists it, rg --files does not). Only when it has neither, switch to /storybook-init.11.0.0-alpha.x, -beta.x or -rc.x) or a canary build (0.0.0-pr-*) also counts. If it is older, or upgrade/repair is needed first, switch to /storybook-upgrade and come back here afterwards. Treat a request to set up or install Storybook as approval to perform any required Storybook upgrade. For other requests, switch only after the user explicitly approves an upgrade.Run npx storybook skills setup from the project root (or the Storybook package in a monorepo).
Read its output in full, without head or tail: every step in it is required. Follow the printed Markdown precisely. Do not substitute your own plan.
storybookjs/storybook
7c89155
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.