# Storybook Init

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

- Skill: `sanity-io/storybook-init` (Agent Skill)
- Install (CLI): `npx get-skill add sanity-io/storybook-init`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sanity-io/storybook-init/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: sanity-io (https://skillmd.com/u/sanity-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/sanity-io/storybook-init

---


1. Run `npm create storybook@latest` inside your project's root directory to install the latest version of Storybook. 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.

