component-docs
What it does
This skill lets the AI look up the components in a project that uses Storybook, including their properties and example usage. It is for developers who want to reuse existing components rather than rebuild them.
When to use it
- ✓When you want to know which components already exist in a project before building a new one.
- ✓When you need to check what properties a component accepts and how it is used.
- ✓When a team's guidelines ask the AI to reuse existing components.
Skill link
https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/component-docs/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Before I build a new button, show me which button components we already have and how they are used.”
5 new skills a week. 1 minute to read.
How it works
The AI runs a Storybook command in the project that lists its components, properties and usage examples, then uses that to answer or to reuse components. Storybook 11.0 or later is needed, otherwise the AI reads the source files instead.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Prerequisites:
- Storybook must be installed in the project. If it is not, read the components' source files instead.
- 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, invoke the/storybook-upgradeskill only after the user explicitly approves an upgrade; until then, read the components' source files instead.
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 component-docs and follow its output: it lists the commands that show this project's components, props, and usage examples, and when to use them.
FAQ
Do I need Storybook installed?
Yes. If it is not installed, the skill says to read the components' source files instead.
Which Storybook version is needed?
Version 11.0 or later, including 11.0 prerelease builds. Older versions need an upgrade that you approve first.
Does it need network access?
Sometimes. The skill says to request permission for Storybook commands if a sandbox blocks network access.
Details
Original description by the author
Look up the components of a project with Storybook, with their props and usage examples, to answer questions about them or to reuse them instead of building duplicates. Use when the project's agent instructions (such as AGENTS.md) or the user ask for it. For a UI change, use ui-workflow, which includes the same component lookup.
repo: storybookjs/storybook
Popularity
- GitHub stars
- 91k
- Ranking position
- #1324
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
handle-pr-comments
91kHelps your agent work through GitHub pull request review comments one at a time, suggesting a fix, applying your choice and resolving the thread.
principle-encode-lessons-in-structure
91kTeaches your agent to turn repeated mistakes into automatic checks, such as a lint rule or script, instead of writing the same reminder again.
storybook-startup-benchmark
91kHelps your agent measure how long Storybook takes to start and show its first story, with repeat runs for fair comparisons.
storybook-upgrade
91kShows your agent how to upgrade all Storybook packages in a project to a chosen version, one major version at a time.
Similar skills
angular-developer
280kHelps your agent create Angular code and give project structure advice. Useful for starting new projects, creating code parts, or improving performance and accessibility.
frontend-a11y
280kHelps your agent make web interfaces accessible to everyone. It ensures websites and apps work well with screen readers and keyboard navigation.
frontend-patterns
280kHas your agent apply modern patterns in frontend development. It optimizes performance, manages state, and follows best practices in React and Next.js.