Skip to content
thebushidocollective avatar

Storybook Component Documentation

Turns Storybook stories and JSDoc into auto-generated component docs using autodocs, MDX pages, and prop annotations.

CCM score
47 of 100
skills.sh installs
167
GitHub stars
202
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers autodocs setup, custom MDX documentation pages, JSDoc prop annotations, and per-story descriptions
  • Includes patterns for component overview pages, API argTypes tables, migration guides, and design token pages
  • Provides Canvas, Controls, and ColorPalette block usage with inline stories and realistic usage examples
  • Designed for teams building component libraries in Storybook that need docs kept in sync with code

Install

$ npx -y skills add thebushidocollective/han --skill storybook-component-documentation -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Storybook - Component Documentation

Create comprehensive, auto-generated component documentation using Storybook's autodocs feature, MDX pages, and JSDoc comments.

Key Concepts

Autodocs

Automatically generate documentation pages from stories:

const meta = {
  title: 'Components/Button',
  component: Button,
  tags: ['autodocs'],  // Enable auto-documentation
  parameters: {
    docs: {
      description: {
        component: 'A versatile button component with multiple variants and sizes.',
      },
    },
  },
} satisfies Meta<typeof Button>;

MDX Documentation

Create custom documentation pages with full control:

import { Meta, Canvas, Story, Controls } from '@storybook/blocks';
import * as ButtonStories from './Button.stories';

<Meta of={ButtonStories} />

# Button Component

A versatile button component for user interactions.

## Usage

<Canvas of={ButtonStories.Primary} />

## Props

<Controls of={ButtonStories.Primary} />

JSDoc Comments

Document component props for auto-extraction:

interface ButtonProps {
  /**
   * The button label text
   */
  label: string;

Details

Repository
github.com/thebushidocollective/han
Categories
Technical Documentation, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the storybook-component-documentation skill do?

It helps an agent create or improve component documentation in Storybook. It covers autodocs, MDX documentation pages, and JSDoc comments on component props, so the docs are generated from stories and code.

How do I install the storybook-component-documentation skill?

Run npx -y skills add thebushidocollective/han --skill storybook-component-documentation -y in your project. Once installed, the agent can write autodocs settings, MDX pages and JSDoc prop comments for your components.

Which skills lead the Technical Documentation category?

Within Technical Documentation, this skill sits alongside domain-modeling, archify, writing-guidelines, design-doc-mermaid and documentation-and-adrs. This one is focused on Storybook specifically, covering how component stories become readable docs.

Does the skill need Storybook or other tools set up first?

The skill assumes a Storybook project with component stories to document. It uses file tools such as Read, Write, Edit, Bash, Grep and Glob to edit story and component files.

More from thebushidocollective/han

All 14

Similar to Storybook Component Documentation

More Technical Documentation