Skip to content
Back to skills

Init

ASecurity

Use when adding Storybook to a project that has no `storybook` dependency yet.

  • 91,712 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
development

Security analysis

A100/100

Scanned November 24, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Init?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Init
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/storybookjs-init/badge)](https://www.skillsdirectory.com/skills/storybookjs-init)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: init
description: Use when adding Storybook to a project that has no `storybook` dependency yet.
---

If Storybook is already installed (a `storybook` dependency in `package.json`, or a `.storybook/` directory), do not install it again: switch to `$storybook:setup`.

1. First check the latest stable release with `npm view create-storybook version`. If it is below 11.0, run `npm create storybook@next` inside your project's root directory to get the 11.0 prerelease; otherwise run `npm create storybook@latest`. Add no flags such as `--skip-install`: it detects that an agent runs it, installs the dependencies and asks no questions. Keep the files it adds, such as the Storybook agent skills and `skills-lock.json`. Use the matching package-manager command with the same tag when appropriate, such as `pnpm create storybook@next`.
2. Invoke the `$storybook:setup` skill to help the user set up project-specific Storybook configuration, such as the `.storybook/preview.ts` file.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.