Skip to content
Back to skills

Integrating Storybook

ASecurity

Storybook integration with spec.md. Auto-generates Stories from Component API. Triggers: storybook, stories, component api, props, argTypes, variants, csf3.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 9, 2026
developmenttypescriptapi

Works with

  • api

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill integrating-storybook --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Integrating Storybook?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Integrating Storybook
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-integrating-storybook/badge)](https://www.skillsdirectory.com/skills/majiayu000-integrating-storybook)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: integrating-storybook
description: >
  Storybook integration with spec.md. Auto-generates Stories from Component API.
  Triggers: storybook, stories, component api, props, argTypes, variants, csf3.
allowed-tools: [Read, Write, Glob, Grep]
---

# Storybook統合

## コアコンセプト

| コンセプト    | 説明                                       |
| ------------- | ------------------------------------------ |
| Component API | spec.mdで定義されたProps、Variants、States |
| CSF3          | Component Story Format 3 + autodocs        |
| 自動生成      | `/code`がspec.mdからStoriesを生成          |

## Component API場所

フロントエンドコンポーネント実装時にspec.mdへ追加。

| 内容                  | 説明                             |
| --------------------- | -------------------------------- |
| Propsインターフェース | TypeScriptインターフェース       |
| Variants              | スタイルオプション               |
| States                | default, hover, active, disabled |
| 使用例                | TSXコード                        |

## ワークフロー

| コマンド              | アクション                             |
| --------------------- | -------------------------------------- |
| `/think "Add Button"` | spec.mdにComponent APIセクションを追加 |
| `/code`               | specから`Button.stories.tsx`を生成     |

## 既存Storiesの処理

| オプション | アクション              |
| ---------- | ----------------------- |
| [O]        | 既存ファイルを上書き    |
| [S]        | スキップ - 既存を維持   |
| [M]        | マージ - diff表示、手動 |
| [D]        | diffのみ - 新規を追加   |

## 参照

| トピック      | ファイル                               |
| ------------- | -------------------------------------- |
| Component API | `references/component-api-template.md` |
| CSF3パターン  | `references/csf3-patterns.md`          |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.