Setup

Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.

gabrielmoreira Updated 17 repo stars

File contents

Prerequisites:

  1. Confirm Storybook exists (package.json, .storybook/). If not, switch to $storybook:init.
  2. Storybook must be at least 10.6. (While 10.6 is unreleased, next satisfies this — 10.6.0-alpha.x. Any canary build, 0.0.0-pr-*, also qualifies.) If it is older, or upgrade/repair is needed first, switch to $storybook:upgrade, but only if the user explicitly approved a Storybook upgrade.

Run npx storybook skills setup from the project root (or the Storybook package in a monorepo).

Follow the printed Markdown precisely. Do not substitute your own plan.

gabrielmoreira/agent-skills-mirror/tree/main/mirrors/repos/storybookjs@storybook/code/lib/codex-plugin/plugins/storybook/skills/setup commit 577ee92433

Frequently asked questions

npx skillmds@latest add gabrielmoreira/setup-6