What problem does it solve? Building UI with shadcn/ui requires knowing the correct component APIs, composition rules, and CLI workflows, which differ between base and radix primitives and across presets. This Skill provides the project context, enforced styling rules, and CLI commands needed to add, update, debug, and compose shadcn/ui components correctly. ## Core Features & Use Cases - Component Management: Search registries, add components, preview changes with dry-run and diff, and smart-merge upstream updates while preserving local modifications. - Enforced Code Rules: Applies critical rules for forms (FieldGroup/Field), styling (semantic tokens, gap spacing), composition (Groups, Titles, AvatarFallback), icons (data-icon), and chat primitives (MessageScroller, Bubble, Attachment, Marker). - Preset & Theme Workflows: Initialize projects with named presets or preset codes, switch presets via overwrite/partial/merge/skip strategies, and customize themes through CSS variables. - Use Case: When asked to build a settings form in a Next.js project, the Skill reads the project context via npx shadcn@latest info, fetches component docs, and generates code using FieldGroup, ToggleGroup, and proper validation attributes instead of raw divs and manual state. ## Quick Start Ask the assistant to add a shadcn/ui component or build a UI pattern, for example: add a login form block to my project using the shadcn CLI.