init

Contributors

GitHub-linked commit authors for this SKILL.md at the saved revision. Co-authors and history before file renames are not included.

File history ↗

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

code/lib/codex-plugin/plugins/storybook/skills/init/SKILL.md

Download bundle ↓
next · bf830861 bundle fileScanned 2026-09-14

SKILL.md

162 tokens · o200k_base · 699 bytes

  1. Run npm create storybook@latest inside your project's root directory to install the latest version of Storybook (while 10.6 is unreleased, run npm create storybook@next instead — the other skills require at least 10.6). Use the matching package-manager command when appropriate, such as pnpm create storybook@latest or yarn create storybook.
  2. After initialization succeeds, run npx storybook add @storybook/addon-mcp.
  3. Invoke the $storybook:setup skill to help the user set up project-specific Storybook configuration, such as the .storybook/preview.ts file.
Discovery context

Discovered by repository scan. No exact path reference found in the snapshot’s root AGENTS.md.