Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add longbridge/gpui-component --skill "generate-component-story"
Install specific skill from multi-skill repository
# Description
Create story examples for components. Use when writing stories, creating examples, or demonstrating component usage.
# SKILL.md
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:
- Follow existing patterns: Base stories on the styles found in
crates/story/src/stories(examples:tabs_story.rs,group_box_story.rs, etc.) - Use sections: Organize the story with
section!calls for each major part - 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
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.