Skip to content
Skillpedia
Websites & UI (frontend)91k · #1324

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.md

Copy 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

Use this skill to help me: https://github.com/storybookjs/storybook/blob/next/code/lib/claude-plugin/skills/component-docs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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:

  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) 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).

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

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills