Component Docs component-docs

Run this skill yourself when the user asks about a component's props, API, or usage. It looks up the components of a project with Storybook, with their props and usage examples as Storybook documents them, to answer such a question or to reuse existing components instead of building duplicates.

Works in Claude, ChatGPT, Codex and more
Our test
7/10✓ Verified
tested Dec 6, 2026
GitHub stars
92k
storybookjs/storybook
Added by
0
members
Updated
Dec 6
commit 925c7d7
Content
1 file
no scripts · 1 KB
License
MIT
free to use

What our test found

Le skill fournit une procédure de découverte utile et des garde-fous de version et de consentement, mais ne donne pas lui-même les commandes de consultation détaillées.

Request we tested it on“What props does the Button component accept, and what usage examples exist in this project?”

Limits spotted

  • The response depends on command output and access to the project, neither of which is available from the skill alone.
  • It does not specify how to concretely check the Storybook version or use the returned commands.
View on GitHub ↗
name: component-docs
description: Run this skill yourself when the user asks about a component's props, API, or usage. It looks up the components of a project with Storybook, with their props and usage examples as Storybook documents them, to answer such a question or to reuse existing components instead of building duplicates.

Prerequisites:

  1. Storybook must be installed in the project. If it is not, read the components' source files instead.
  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, invoke the /storybook-upgrade skill 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).

Run npx storybook skills component-docs in a command of its own before you read any component's source, and read its output: it lists the commands that show this project's components, props, and usage examples, and when to use them.