askill
new-component

new-componentSafety 90Repository

Create new GPUI components. Use when building components, writing UI elements, or creating new component implementations.

20 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

Instructions

When creating new GPUI components:

  1. Follow existing patterns: Base implementation on components in crates/ui/src (examples: Button, Select)
  2. Style consistency: Follow existing component styles and Shadcn UI patterns
  3. Component type decision:
    • Use stateless elements for simple components (like Button)
    • Use stateful elements for complex components with data (like Select and SelectState)
  4. API consistency: Maintain the same API style as other elements
  5. Documentation: Create component documentation
  6. 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

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

64/100Analyzed 2/18/2026

A moderately useful skill for creating GPUI components. Provides good conceptual guidance on component types (stateless vs stateful) and best practices. Well-organized with clear structure. Main weaknesses: lacks actionable step-by-step instructions, specific folder paths, and code templates. The path suggests internal tool config but content could be valuable as a reusable reference for GPUI development patterns.

90
75
60
60
50

Metadata

Licenseunknown
Version-
Updated2/8/2026
Publisherzerx-lab

Tags

api