What problem does it solve?
Contributing to the gpui-component Rust UI library requires following many project-specific conventions across component implementation, story creation, documentation, and PR formatting, which is easy to get wrong without guidance.
Core Features & Use Cases
- New Component Creation: Step-by-step instructions for adding components to crates/ui, including stateless, stateful, and composite patterns, builder APIs, Styled trait implementation, and registration in lib.rs.
- Story Writing: Patterns for creating component stories in crates/story/src/stories with section organization and full variant coverage.
- Documentation & PR Descriptions: Conventions for writing docs in docs/docs/components and formatting GitHub PR descriptions, including a structured Breaking Changes section with diff blocks.
- Use Case: When adding a new AlertDialog-style component, the Skill walks through file creation, WindowExt extension, story registration, and documentation so the contribution matches existing project patterns.
Quick Start
Ask the assistant to create a new GPUI component with its story, documentation, and PR description following the gpui-component project conventions.