generate-component-story

star 445

Create story examples for components. Use when writing stories, creating examples, or demonstrating component usage.

feigeCode By feigeCode schedule Updated 1/12/2026

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
Install via CLI
npx skills add https://github.com/feigeCode/onetcli --skill generate-component-story
Repository Details
star Stars 445
call_split Forks 47
navigation Branch main
article Path SKILL.md
More from Creator