What problem does it solve? Building UI with shadcn/ui requires knowing the correct component APIs, composition rules, Tailwind conventions, and CLI workflows; this Skill enforces those rules and automates component installation, updates, and preset management so generated code matches the project's actual configuration. ## Core Features & Use Cases - Component Management: Search registries, add components, preview changes with --dry-run/--diff, and smart-merge upstream updates while preserving local modifications. - Project-Aware Guidance: Reads framework, Tailwind version, aliases, icon library, and base (radix vs base) from npx shadcn@latest info to generate code that matches the project setup. - Enforced UI Rules: Applies critical rules for forms (FieldGroup/Field), composition (Groups, Dialog titles, Card structure), icons (data-icon), styling (semantic tokens, gap-* spacing), and chat primitives (MessageScroller, Bubble, Attachment, Marker). - Preset Workflows: Initialize projects with named presets or codes, apply presets to existing projects, and switch presets via overwrite, partial, merge, or skip strategies. - Use Case: When asked to build a settings form in a Next.js app, the Skill checks installed components, fetches docs via the CLI, and generates code using FieldGroup, ToggleGroup, and data-invalid validation instead of raw divs and manual state. ## Quick Start Ask the assistant to add a shadcn/ui component such as "add the dialog and card components to my project" and it will run the appropriate shadcn CLI commands and compose them correctly.