Skip to content
Back to skills

Setup

ASecurity

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 `$storybook:write-stories` instead.

  • 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 setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Setup?

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

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

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: 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 `$storybook:write-stories` 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.

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.