What problem does it solve?
This Skill prevents inconsistent UI implementation by guiding you to use shadcn/ui components correctly, with the right layout, theming, composition, and validation patterns.
Core Features & Use Cases
- Manage shadcn/ui workflow: discover components, fetch docs/examples, add components, update safely, and switch presets without breaking local changes.
- Enforce UI correctness rules: apply styling and layout constraints (semantic colors, gap-* spacing, no raw dark overrides, correct truncation, cn() usage).
- Guarantee component composition & accessibility: ensure required structural pieces (e.g., Dialog/Sheet/Drawer titles, AvatarFallback, proper Group/Item nesting) and correct base vs radix API usage.
- Accelerate form and icon correctness: build forms with FieldGroup/Field, use ToggleGroup for option sets, apply data-invalid/aria-invalid validation patterns, and place icons in buttons using data-icon.
Quick Start
Ask to install and implement a shadcn/ui component correctly by saying: Use the shadcn skill to add the button and dialog components, then generate a profile-edit dialog using the correct composition rules and accessible DialogTitle.