What problem does it solve?
This Skill prevents inconsistent or incorrect shadcn/ui usage by enforcing the project’s UI composition, styling, accessibility, and CLI workflow so your components match the design system and work correctly with the configured preset.
Core Features & Use Cases
- Component-first UI composition: Build and debug UI using shadcn/ui primitives with correct structure for forms, overlays, cards, tabs, and icons.
- Deterministic CLI-driven installs and updates: Search, view docs, and add components using the shadcn CLI while previewing diffs to avoid breaking changes.
- Guardrail rules for correctness: Enforce spacing (gap-*), semantic colors, icon sizing conventions, validation attributes (data-invalid/aria-invalid), and base-vs-radix behavior.
- Use Cases: Creating a settings form with validated inputs, implementing accessible dialogs/sheets with titles, composing dashboards with skeleton/loading states, and updating components safely when a preset changes.
Quick Start
Ask the AI: "Using my current shadcn project context, create a settings page form with shadcn components and proper validation states using FieldGroup + Field and ToggleGroup where appropriate."