skills/integrating-storybook/SKILL.md
Storybook integration with spec.md. Auto-generates Stories from Component API. Use when: storybook, stories, props, argTypes, variants, CSF3.
npx skillsauth add thkt/claude-config integrating-storybookInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Concept | Description |
| --------------- | ------------------------------------------ |
| Component API | Props, Variants, States defined in spec.md |
| CSF3 | Component Story Format 3 + autodocs |
| Auto-generation | /code generates Stories from spec.md |
Add to spec.md when implementing frontend components.
| Content | Description | | --------------- | -------------------------------- | | Props Interface | TypeScript interface | | Variants | Style options | | States | default, hover, active, disabled | | Usage Examples | TSX code |
| Command | Action |
| --------------------- | ---------------------------------------- |
| /think "Add Button" | Adds Component API section to spec.md |
| /code | Generates Button.stories.tsx from spec |
| Option | Action | | ------ | ------------------------- | | [O] | Overwrite existing file | | [S] | Skip - keep existing | | [M] | Merge - show diff, manual | | [D] | Diff only - append new |
| Topic | File |
| ------------- | ---------------------------------------------------------- |
| Component API | ${CLAUDE_SKILL_DIR}/references/component-api-template.md |
| CSF3 Patterns | ${CLAUDE_SKILL_DIR}/references/csf3-patterns.md |
tools
Delegate implementation to codex (coder) via the herdr-agentchat plugin and drive a two-pane conversation to completion.
development
Extract recurring patterns from past closed PRs/issues and the research findings in workspace/research/, verify them against the latest code, and propose them to docs/wiki/ via PR.
development
Create Decision Records (DR) in MADR v4 format with auto-numbering.
development
Codex review + cleanup. Findings are challenged by critic-audit, not aggregated as facts, and fixes are applied directly. Do NOT use for internal multi-reviewer deep audits or findings reports (use /audit).