generate-component-story

安装量: 96
排名: #8515

安装

npx skills add https://github.com/longbridge/gpui-component --skill generate-component-story

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

返回排行榜