Skip to content
Frontend
Skill

/setup

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

From plugin
storybook
91k8 skills1 MCP

Claude Code

$ npx -y skills add storybookjs/storybook --skill setup --agent claude-code

SKILL.md

setup.SKILL.md
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 ui-workflow 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` from the project root (or the Storybook package in a monorepo).

Read its output in full, without `head` or `tail`: every step in it is required. **Follow the printed Markdown precisely.** Do not substitute your own plan.

@storybookjs
Ships withstorybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation

91k8 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
91.4k
Star history of storybookjs/storybook on GitHub, a chart by star-history.com

Other skills on storybook.

component-docs

component-docs

Look up the components of a project with Storybook, with their props and usage examples, to answer questions about them or to…

storybook-setup

storybook-setup

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

ui-workflow

ui-workflow

Storybook's workflow for UI changes in a project with Storybook - look up the components to reuse, write and update stories, run…

init

init

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

More skills from other plugins.

next-bundle-optimizer
Auto-invoked

next-bundle-optimizer

Audit and reduce Next.js browser initial-load work. Use for slow route startup, oversized client bundles, duplicate browser…

nextjs1d143k
@vercel@vercelInstall Skill
migrate-radix-to-base

migrate-radix-to-base

Migrates React projects and components from Radix UI to Base UI. Use when asked to migrate from radix, move to base-ui, convert…

ui10d127k
@shadcn-ui@shadcn-uiInstall Skill
chrome-release-cls

chrome-release-cls

Given a Chrome Releases blog post URL (chromereleases.googleblog.com), extract every CVE/bug and find the underlying Gerrit CL…

electron1d124k
@electron@electronInstall Skill
taste-skill
Auto-invoked

taste-skill

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One…

@leonxlnx@leonxlnxInstall Skill

Questions about setup.

Which coding agents can use setup?
setup installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.