A collection of skills for AI coding agents. Skills are packaged instructions that extend agent capabilities for building modern UI components.
Skills follow the Agent Skills format.
Build modern, composable, and accessible React UI components following the components.build specification. Contains 16 rule categories covering everything from core principles to distribution, co-authored by Hayden Bleasel and shadcn.
Use when:
- Creating new React components or component libraries
- Designing component APIs and prop interfaces
- Implementing accessibility features
- Building composable component architectures
- Styling components with Tailwind CSS and CVA
- Publishing components to registries or npm
Categories covered:
- Overview (specification scope and goals)
- Principles (composition, accessibility, customization, transparency)
- Definitions (primitive, compound, headless terminology)
- Composition (root, item, trigger, content patterns)
- Accessibility (semantic HTML, keyboard, ARIA, focus management)
- State (controlled/uncontrolled patterns)
- Types (extending HTML attributes, exporting prop types)
- Polymorphism (element switching with
asprop) - As-Child (Radix Slot composition pattern)
- Data Attributes (
data-stateanddata-slot) - Styling (Tailwind CSS, cn utility, CVA variants)
- Design Tokens (CSS variables and theming)
- Documentation (props and usage examples)
- Registry (component registries)
- NPM (publishing packages)
- Marketplaces (distribution strategies)
Key principles:
- Composition over Configuration
- Accessibility by Default
- Single Element Wrapping
- Extend HTML Attributes
- Export Types
- Support Both State Patterns
- Intelligent Class Merging
cp -r skills/components-build ~/.claude/skills/Add the skill to project knowledge or paste SKILL.md contents into the conversation.
Skills are automatically available once installed. The agent will use them when relevant tasks are detected.
Examples:
Build me a composable Tabs component
Review this component for accessibility issues
Help me implement controlled/uncontrolled state pattern
Set up component variants with CVA
Each skill contains:
SKILL.md- Instructions for the agentAGENTS.md- Full compiled document with all rules expandedrules/- Individual rule categories
Co-authored by:
- Hayden Bleasel (@haydenbleasel)
- shadcn (@shadcn)
Adapted as an AI skill by:
- Jordan Gilliam (@nolansym)
MIT