Init init
Use when adding Storybook to a project that has no `storybook` dependency yet.
Works in Claude, ChatGPT, Codex and more
- Our test
- 7/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 92k
- storybookjs/storybook
- Added by
- 0
- members
- Updated
- Dec 6
- commit 925c7d7
- Content
- 1 file
- no scripts · 1 KB
- License
- MIT
- free to use
What our test found
Le skill fournit une procédure claire et pertinente pour initialiser Storybook, mais impose une vérification de version et des choix d’installation sans expliquer leurs conséquences.
Request we tested it on“Add Storybook to my React project, which does not have it yet.”
Limits spotted
- The procedure may automatically install dependencies and modify the project without an explicit confirmation step.
- The instruction to invoke `$storybook:setup` assumes this skill is available.
name: init description: Use when adding Storybook to a project that has no `storybook` dependency yet.
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 prerelease; otherwise runnpm create storybook@latest. Add no flags such as--skip-install: it detects that an agent runs it, installs the dependencies and asks no questions. Keep the files it adds, such as the Storybook agent skills andskills-lock.json. 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.