skills/longbridge/gpui-component/generate-component-story

generate-component-story

SKILL.md

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
Weekly Installs
92
GitHub Stars
10.7K
First Seen
Jan 21, 2026
Installed on
opencode83
gemini-cli79
claude-code78
codex78
cursor74
github-copilot73