Storybook Setup storybook-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 `/write-stories` instead.

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 définit des prérequis et une procédure de configuration vérifiable, mais laisse l’exécution détaillée dépendre entièrement de la sortie de la commande.

Request we tested it on“Storybook is already installed in my project. Can you configure it so I can preview my components?”

Limits spotted

  • Does not specify how to determine the Storybook version or handle cases where checks fail.
  • Does not describe a fallback procedure if the setup command fails or returns ambiguous steps.
View on GitHub ↗
name: storybook-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 `/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.