---
name: storybookjs-component-docs
description: "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."
license: "MIT"
metadata:
  decimalai-skill-id: "fe2ae0f3-2fc2-4d55-b1c9-905a12c17bcc"
  decimalai-version-id: "bdf582a1-eb47-48ff-be1b-9a28af3d0768"
  decimalai-version: "2"
  decimalai-body-sha256: "3e311a32e7527a0c404e65b1b187b663448c6af29e25552557e6737cf745960d"
  decimalai-name: "storybookjs/component-docs"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "frontend"
  decimalai-source: "https://app.decimal.ai/s/storybookjs-component-docs@2/SKILL.md"
---
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.
