storybook-init

star 255

Use when adding Storybook to a project that does not have Storybook configured yet, especially before enabling Storybook MCP workflows.

storybookjs By storybookjs schedule Updated 6/1/2026

name: storybook-init description: Use when adding Storybook to a project that does not have Storybook configured yet, especially before enabling Storybook MCP workflows.

Storybook Init

Use this skill when a project does not already have Storybook configured.

Workflow

  1. Inspect the project to understand its framework, package manager, and workspace layout. Prefer the package manager already used by the repo.
  2. Run Storybook's official initializer from the project root:
npm create storybook@latest

Use the matching package-manager command when appropriate, such as pnpm create storybook@latest or yarn create storybook.

  1. Prefer the recommended setup unless the user asks for a minimal setup.
  2. If auto-detection fails, rerun the initializer with the closest explicit --type value.
  3. Add the MCP addon:
npx storybook add @storybook/addon-mcp
  1. Use /storybook-setup-claude-launch to configure .claude/launch.json and start Storybook through that launch entry.
  2. Note the Storybook invocation directory (where storybook dev runs) as cwd when using Storybook MCP proxy tools.

Guardrails

  • Do not hand-write a full Storybook config when the official initializer can do it.
  • Preserve existing app source and package manager choices.
  • Do not start Storybook as an ad hoc Bash command or background task in Claude; use the Claude launcher entry.
Install via CLI
npx skills add https://github.com/storybookjs/mcp --skill storybook-init
Repository Details
star Stars 255
call_split Forks 34
navigation Branch main
article Path SKILL.md
More from Creator