integrating-storybook | Skill Performance & Reviews | TopRankSkills

TopRank Skills

Home / Skills / tools / integrating-storybook

integrating-storybook

maintained by thkt

star 3 account_tree 0 verified_user MIT License
bolt View GitHub

name: integrating-storybook description: > Storybook integration with spec.md. Auto-generates Stories from Component API. Use when creating Storybook stories, defining component APIs, or when user mentions storybook, stories, props, argTypes, variants, CSF3. allowed-tools: [Read, Write, Glob, Grep] user-invocable: false

Storybook Integration

Core Concepts

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

Component API Location

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

Workflow

Command Action
/think "Add Button" Adds Component API section to spec.md
/code Generates Button.stories.tsx from spec

Existing Stories Handling

Option Action
[O] Overwrite existing file
[S] Skip - keep existing
[M] Merge - show diff, manual
[D] Diff only - append new

References

Topic File
Component API references/component-api-template.md
CSF3 Patterns references/csf3-patterns.md

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!

Skill Details

GitHub Stars 3
GitHub Forks 0
Created Jan 2026
Last Updated 5 months ago
tools tools automation tools

Related Skills

ui-ux-pro-max
chevron_right
specs-gen
chevron_right
ui-ux-pro-max
chevron_right
glm-coding-agent
chevron_right
feature-dev
chevron_right

Build your own?

Join 12,000+ developers contributing to the Claude ecosystem.