/storybook:write-storiesfrom storybook
Provides project-specific rules for writing Storybook stories, covering which states get a story, imports, play functions, and mocks for network requests and modules.
Ships in storybook. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Prerequisites:
/storybook-init skill to set up Storybook, but only if the user explicitly invoked this skill and approves a Storybook installation.11.0.0-alpha.x, -beta.x or -rc.x) or a canary build (0.0.0-pr-*) also counts. Treat a request to set up or install Storybook as approval to perform any required Storybook upgrade. For other requests, invoke the /storybook-upgrade skill only after the user explicitly approves an upgrade.Run every Storybook CLI command from the package where Storybook is installed (in a monorepo often a leaf package such as packages/ui).
If the sandbox blocks network access, request escalated permissions for Storybook CLI commands.
Run npx storybook skills write-stories in a command of its own, without head or tail, before you write a component or a story, and follow its output: the rules for the stories of this project, with its imports, play functions, and mocks.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub storybookjs/storybook --plugin storybook7 skills in this plugin
/component-docsLook up the components of a project with Storybook, with their props and usage examples, to reuse existing components instead of building duplicates or to answer a question about a component's props, API, or usage./storybook-initUse when adding Storybook to a project that has no `storybook` dependency yet./storybook-setupUse 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 write-stories instead./storybook-upgradeUse this skill when Storybook exists but needs an upgrade./test-storiesRun the Storybook story tests of a project, with their accessibility checks, and fix what fails./ui-reviewPublish a Storybook review that shows the user the stories a UI change affects, or the components and stories they ask to see.Other plugins' skills for the same job