generate-component-story

When creating component stories:

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "generate-component-story" with this command: npx skills add longbridge/gpui-component/longbridge-gpui-component-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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

gpui-layout-and-style

No summary provided by upstream source.

Repository SourceNeeds Review
General

gpui-async

No summary provided by upstream source.

Repository SourceNeeds Review
General

gpui-context

No summary provided by upstream source.

Repository SourceNeeds Review