Claude-skill-registry generate-component-story
Create story examples for components. Use when writing stories, creating examples, or demonstrating component usage.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/generate-component-story" ~/.claude/skills/majiayu000-claude-skill-registry-generate-component-story-e2f3b3 && rm -rf "$T"
manifest:
skills/data/generate-component-story/SKILL.mdsource content
Instructions
When creating component stories:
- Follow existing patterns: Base stories on the styles found in
(examples:crates/story/src/stories
,tabs_story.rs
, etc.)group_box_story.rs - Use sections: Organize the story with
calls for each major partsection! - Comprehensive coverage: Include all options, variants, and usage examples of the component
Examples
A typical story structure includes:
- Basic usage examples
- Different variants and states
- Interactive examples
- Edge cases and error states