What problem does it solve? Working with shadcn/ui requires knowing the correct CLI commands, component composition rules, and project-specific configuration (aliases, Tailwind version, icon library, base vs radix primitives). This Skill eliminates guesswork by injecting live project context and enforcing correct usage patterns, preventing common mistakes like wrong imports, invalid composition, or non-semantic styling. ## Core Features & Use Cases - CLI-driven component management: Add, search, view, diff, and update components from registries using npx shadcn@latest with dry-run and smart-merge workflows that preserve local changes. - Enforced composition and styling rules: Built-in Incorrect/Correct rule files cover forms (FieldGroup/Field), icons (data-icon), styling (semantic tokens, gap-*, cn()), and base-vs-radix API differences. - Preset and theme management: Apply named presets or preset codes, switch themes with overwrite/merge/skip strategies, and customize CSS variables in the project's Tailwind config. - Use Case: When asked to build a settings form in a Next.js project, the Skill reads the project context, fetches component docs via the CLI, and generates code using FieldGroup, ToggleGroup, and proper validation attributes matching the project's icon library and base primitive. ## Quick Start Ask the assistant to add a shadcn/ui component such as a dialog or build a form, and it will use the shadcn CLI to install components and generate compliant code.