Skip to main content

init

Use when adding Storybook to a project that does not have Storybook configured yet.

Source facts

Repository
storybookjs/storybook
Last source activity
October 7, 2026 at 16:33
Detected SKILL.md language
English
Stars
91,240
Forks
10,480

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
init
description
Use when adding Storybook to a project that does not have Storybook configured yet.
If Storybook is already installed (`package.json`, `.storybook/`), do not install it again: switch to `$storybook:setup`. 1. Run `npm create storybook@latest` inside your project's root directory to install the latest version of Storybook (if the latest stable release is below 11.0, run `npm create storybook@next` instead to get the 11.0 alpha). Use the matching package-manager command when appropriate, such as `pnpm create storybook@latest` or `yarn create storybook`. 2. Invoke the `$storybook:setup` skill to help the user set up project-specific Storybook configuration, such as the `.storybook/preview.ts` file.
View on GitHub