longbridge / generate-component-story
Install for your project team
Run this command in your project directory to install the skill for your entire team:
mkdir -p .claude/skills/generate-component-story && curl -L -o skill.zip "https://fastmcp.me/Skills/Download/819" && unzip -o skill.zip -d .claude/skills/generate-component-story && rm skill.zip
Project Skills
This skill will be saved in .claude/skills/generate-component-story/ and checked into git. All team members will have access to it automatically.
Important: Please verify the skill by reviewing its instructions before using it.
Create story examples for components. Use when writing stories, creating examples, or demonstrating component usage.
9 views
1 installs
Skill Content
--- name: generate-component-story description: Create story examples for components. Use when writing stories, creating examples, or demonstrating component usage. --- ## Instructions When creating component stories: 1. **Follow existing patterns**: Base stories on the styles found in `crates/story/src/stories` (examples: `tabs_story.rs`, `group_box_story.rs`, etc.) 2. **Use sections**: Organize the story with `section!` calls for each major part 3. **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