Skip to content
Skillpedia
Websites & UI (frontend)91k · #1325

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.md

Copy 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

Use this skill to help me: https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/storybook-init/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

  1. First check the latest stable release with npm view create-storybook version. If it is below 11.0, run npm create storybook@next inside your project's root directory to get the 11.0 alpha; otherwise run npm create storybook@latest. Use the matching package-manager command with the same tag when appropriate, such as pnpm create storybook@next.
  2. Invoke the /storybook-setup skill to help the user set up project-specific Storybook configuration, such as the .storybook/preview.ts file.
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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills