Generate Component Story

Generate a comprehensive story for a new component for as example.

$ インストール

git clone https://github.com/longbridge/gpui-component /tmp/gpui-component && cp -r /tmp/gpui-component/.claude/skills/generate-story ~/.claude/skills/gpui-component

// tip: Run this command in your terminal to install the skill


name: Generate Component Story description: Generate a comprehensive story for a new component for as example.

Rules

  • Based on existing story styles in the crates/story/src/stories folder, examples: tabs_story.rs, group_box_story.rs, etc.
  • Use section for each major part of the story.
  • Cover all options, variants, and usage examples of the component.