What problem does it solve? Building UI with shadcn/ui requires knowing the correct component composition, CLI commands, registry addresses, and styling conventions; this Skill encodes those rules so generated code follows the framework's actual patterns instead of hand-rolled markup. ## Core Features & Use Cases - Component Management: Search registries, preview with --dry-run/--diff, and add or update components via the shadcn CLI while preserving local modifications through smart merge. - Enforced Composition Rules: Applies critical rules for forms (FieldGroup/Field), styling (semantic tokens, gap-, size-), icons (data-icon), overlays, and chat primitives (MessageScroller, Bubble, Attachment, Marker). - Preset & Project Context: Reads project context via npx shadcn@latest info (base, iconLibrary, aliases, tailwindVersion) and handles preset switching with overwrite, partial, merge, or skip strategies. - Use Case: Ask for a settings form or a streaming chat view, and receive code that uses the correct components, validation attributes, and icon library for your project's configuration. ## Quick Start Ask the assistant to add a shadcn component or build a UI pattern, for example: create a settings form with validation using shadcn/ui in my project.