首页/ AI 技能 / @skilllib/skill-2117939930272414174
Skill站外收录 @skilllib/skill-2117939930272414174

generate-component-story

生成组件的使用示例故事,涵盖基础用法、各类变体与状态、交互场景及边界情况,严格遵循现有代码库中的故事编写规范和结构模式。

0.0 (0) 23 次安装 原作者 编程导航
收录于 2026-01-22
软件开发 AI 技能

Skills.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

评论 0

还没有评论,来抢沙发。