What problem does it solve?
This Skill prevents inconsistent shadcn/ui code by enforcing the project's shadcn component composition, styling, icon, form, and accessibility rules while helping you add and debug components correctly.
Core Features & Use Cases
- Standardized shadcn/ui composition: Ensures correct component structures (Card, Dialog/Sheet/Drawer titles, TabsList/TabsTrigger placement, Avatar fallback, grouped items like SelectGroup/CommandGroup).
- Rule-based UI correctness: Enforces semantic colors, gap-based spacing, truncate shorthand, size-* usage, and bans risky patterns like manual dark overrides and manual z-index.
- Project-aware shadcn workflows: Guides usage of shadcn CLI commands such as init, add/search/docs/info, and debugging with diffs while respecting the project's package runner and injected context fields (base vs radix, tailwind v3 vs v4, icon library, aliases).
Quick Start
Ask the AI to implement a shadcn/ui settings form in your project following FieldGroup/Field and validation rules using semantic tokens.