storybook-setup
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.
How do I install this agent skill?
npx skills add https://github.com/storybookjs/storybook --skill storybook-setupIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill automates the configuration of Storybook in a project by running the official CLI tool. It involves downloading packages from the npm registry and executing commands to perform the setup.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Prerequisites:
- Storybook is installed when
package.jsonlists astorybookdependency, of any version, or the project has a.storybook/directory (hidden:ls -alists it,rg --filesdoes not). Only when it has neither, switch to/storybook-init. - Storybook must be 11.0 or later. An 11.0 prerelease (
11.0.0-alpha.x,-beta.xor-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-upgradeand 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.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/storybookjs/storybook/storybook-setup">View storybook-setup on skillZs</a>