Skip to main content

setup

Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.

Source facts

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

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
setup
description
Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.
Prerequisites: 1. Confirm Storybook exists (`package.json`, `.storybook/`). If not, switch to `$storybook:init`. 2. Storybook must be 11.0 or later. An 11.0 prerelease (`11.0.0-alpha.x`) or a canary build (`0.0.0-pr-*`) also counts. If it is older, or upgrade/repair is needed first, switch to `$storybook:upgrade` and 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). **Follow the printed Markdown precisely.** Do not substitute your own plan.
View on GitHub