Skip to main content

setup

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

Informations de source

Dépôt
storybookjs/storybook
Dernière activité de la source
7 octobre 2026 à 16:33
Langue détectée de SKILL.md
anglais
Étoiles
91 316
Forks
10 491

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
setup
description
Use this skill when Storybook is already installed and the user wants a working `preview` file and stories for real components.
Prerequisites: 1. Confirm Storybook exists (`package.json`, `.storybook/`). If not, switch to `$storybook:init`. 2. Storybook must be 11.0 or later. An 11.0 prerelease (`11.0.0-alpha.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). **Follow the printed Markdown precisely.** Do not substitute your own plan.
Voir sur GitHub