What problem does it solve? Building frontend components without a consistent process leads to duplicated patterns, accessibility gaps, and state management sprawl. This Skill guides the creation or evolution of reusable UI components that conform to the repo's design system, WAI-ARIA accessibility rules, and clear state boundaries. ## Core Features & Use Cases - Design System Conformance: Enforces existing design tokens, the cn() utility for Tailwind class merging, and headless primitives like Radix UI instead of reinventing focus traps. - Component Contract Definition: Requires a UI Component Spec defining props, events, states, and whether the component is presentational, stateful, or compositional before coding. - 2026 Architecture Patterns: Covers React Server Components leaf placement, React 19 form actions, Lit v3 web component bridging, and anti-slop mechanics like min-h-[100dvh] and motion values. - Use Case: When adding a new Dialog component to a shared library, use this Skill to mirror an existing component's structure, define its contract, wire keyboard and focus behavior, and add interaction tests. ## Quick Start Use the add-ui-component skill to create a new reusable Dialog component following our design system and accessibility rules.