What problem does it solve? Working with shadcn/ui involves many CLI commands, registry formats, preset codes, and strict composition and styling conventions that are easy to get wrong. This Skill provides the correct workflows, rules, and references for adding, searching, updating, styling, and composing shadcn/ui components so generated code follows the project's actual configuration. ## Core Features & Use Cases - Component Management: Search registries, preview changes with --dry-run/--diff, add components, and smart-merge upstream updates while preserving local modifications. - Project Context Awareness: Reads framework, aliases, Tailwind version, icon library, and base (radix vs base) from npx shadcn@latest info to generate code matching the project setup. - Preset Workflows: Initialize projects, apply preset codes, and switch presets with overwrite, partial, merge, or skip strategies. - Enforced UI Rules: Incorrect/Correct code pairs for forms, composition, styling, icons, and chat interfaces (MessageScroller, Bubble, Attachment, Marker). - Use Case: A developer asks to build a settings form in a Next.js shadcn project; the Skill ensures FieldGroup/Field layout, ToggleGroup for options, data-invalid validation, semantic colors, and the correct icon library. ## Quick Start Ask the assistant to add a shadcn/ui component such as a dialog or build a settings form using the shadcn CLI in your project.