storybook-init
What it does
This skill guides the AI through adding Storybook to a project that does not use it yet. Storybook lets you build and preview UI components on their own. It is for developers starting Storybook for the first time.
When to use it
- ✓When you want to add Storybook to a project that has none.
- ✓When you are starting a new component library and want a visual catalog.
- ✓When a project has no Storybook setup and you need the basic install.
Skill link
https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/storybook-init/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Add Storybook to this project so I can preview our components on their own.”
5 new skills a week. 1 minute to read.
How it works
The AI checks the latest stable release of the Storybook setup tool. It then runs the matching create command in the project folder and hands over to a setup skill for project-specific configuration.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
If Storybook is already installed (a storybook dependency in package.json, or a .storybook/ directory), do not install it again: switch to /storybook-setup.
- First check the latest stable release with
npm view create-storybook version. If it is below 11.0, runnpm create storybook@nextinside your project's root directory to get the 11.0 alpha; otherwise runnpm create storybook@latest. Use the matching package-manager command with the same tag when appropriate, such aspnpm create storybook@next. - Invoke the
/storybook-setupskill to help the user set up project-specific Storybook configuration, such as the.storybook/preview.tsfile.
FAQ
What if Storybook is already installed?
The skill says not to install it again, and to switch to the setup skill instead.
Which version does it install?
It installs the 11.0 alpha if the latest stable release is below 11.0, otherwise the latest stable release.
What does the setup create?
The skill mentions a .storybook folder and a preview file for project settings.
Details
Original description by the author
Use when adding Storybook to a project that does not have Storybook configured yet.
repo: storybookjs/storybook
Popularity
- GitHub stars
- 91k
- Ranking position
- #1325
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
handle-pr-comments
91kHelps your agent work through GitHub pull request review comments one at a time, suggesting a fix, applying your choice and resolving the thread.
principle-encode-lessons-in-structure
91kTeaches your agent to turn repeated mistakes into automatic checks, such as a lint rule or script, instead of writing the same reminder again.
storybook-startup-benchmark
91kHelps your agent measure how long Storybook takes to start and show its first story, with repeat runs for fair comparisons.
storybook-upgrade
91kShows your agent how to upgrade all Storybook packages in a project to a chosen version, one major version at a time.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.