What problem does it solve?
This Skill prevents broken shadcn/ui usage by guiding component selection, composition, styling, and CLI-driven installation so your UI stays consistent, accessible, and maintainable.
Core Features & Use Cases
- Shadcn-aware UI composition: Enforces correct patterns for forms, overlays (Dialog/Sheet/Drawer titles), cards, tabs, avatars, toasts, and group/item structure.
- Styling correctness guardrails: Applies semantic color usage, spacing rules (gap-* not space-x/space-y), truncate shorthand, size-* conventions, and bans manual dark: overrides and unsafe z-index.
- CLI-first workflow for component integrity: Uses project context from shadcn info, then docs/search/view/add to fetch the right APIs and examples before editing or installing.
- Deterministic updating and preset switching: Supports safe update previews (dry-run/diff) and smart merge behavior when keeping local changes.
Quick Start
Create or open your shadcn project context, then ask the Skill to add and style the specific component(s) you need while fetching docs/examples first, e.g. "Use shadcn to add a settings form with name, email, and notification toggles, including validation states and correct FieldGroup/Field layout."