What problem does it solve? Working with shadcn/ui requires knowing the correct CLI commands, component composition rules, and project-specific configuration like aliases, icon libraries, and base vs radix primitives. This Skill injects project context and enforces correct patterns so generated UI code matches the project's setup instead of using guessed APIs or hardcoded paths. ## Core Features & Use Cases - Component lifecycle management: Search registries, preview changes with --dry-run and --diff, add components, and smart-merge upstream updates while preserving local modifications. - Enforced composition and styling rules: FieldGroup-based forms, semantic color tokens, data-icon attributes, gap-* spacing, and correct Group/Item nesting with Incorrect/Correct code pairs. - Preset and theme workflows: Init projects with named presets or codes, apply or merge preset switches, and customize themes via CSS variables in Tailwind v3 or v4. - Use Case: When asked to build a settings form in a Next.js project, the Skill reads the project config via npx shadcn@latest info, fetches component docs, and generates code using FieldGroup, ToggleGroup, and the project's configured icon library. ## Quick Start Ask the assistant to add a shadcn/ui component such as a dialog or card to the current project and compose it into a small UI section.