Setup setup

Use this skill when Storybook is already installed and the user wants it set up for the project, with a working `preview` file and stories for its real components. To write or update the stories of a component, use `$storybook:write-stories` instead.

Works in Claude, ChatGPT, Codex and more
Our test
8/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 donne des prérequis clairs et une procédure vérifiable, mais dépend du contenu et de la qualité de la sortie de la commande.

Request we tested it on“Storybook is already installed in my React project. Can you configure it and verify that the stories work?”

Limits spotted

  • The procedure relies entirely on the steps generated by the command, without offering a fallback if they are missing or ambiguous.
  • It does not specify how to check the installed version or what to do if the command fails.
View on GitHub ↗
name: setup
description: Use this skill when Storybook is already installed and the user wants it set up for the project, with a working `preview` file and stories for its real components. To write or update the stories of a component, use `$storybook:write-stories` instead.

Prerequisites:

  1. Storybook is installed when package.json lists a storybook dependency, of any version, or the project has a .storybook/ directory (hidden: ls -a lists it, rg --files does not). Only when it has neither, switch to $storybook:init.
  2. Storybook must be 11.0 or later. An 11.0 prerelease (11.0.0-alpha.x, -beta.x or -rc.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 in a command of its own, without head or tail, from the project root (or the Storybook package in a monorepo), and read its output: the steps that set up Storybook for this project. Every step in it is required, and setup is done only when its "Done when" list holds, which includes passing story tests.