Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add longbridge/gpui-component --skill "new-component"
Install specific skill from multi-skill repository
# Description
Create new GPUI components. Use when building components, writing UI elements, or creating new component implementations.
# SKILL.md
name: new-component
description: Create new GPUI components. Use when building components, writing UI elements, or creating new component implementations.
Instructions
When creating new GPUI components:
- Follow existing patterns: Base implementation on components in
crates/ui/src(examples:Button,Select) - Style consistency: Follow existing component styles and Shadcn UI patterns
- Component type decision:
- Use stateless elements for simple components (like
Button) - Use stateful elements for complex components with data (like
SelectandSelectState) - API consistency: Maintain the same API style as other elements
- Documentation: Create component documentation
- Stories: Write component stories in the story folder
Component Types
- Stateless: Pure presentation components without internal state
- Stateful: Components that manage their own state and data
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.