What problem does it solve? Working with shadcn/ui requires knowing the correct CLI commands, component composition rules, and project configuration details like aliases, Tailwind version, and icon libraries. This Skill eliminates guesswork by injecting live project context and enforcing correct usage patterns, preventing common mistakes like wrong imports, invalid composition, or raw color overrides. ## Core Features & Use Cases - Component Management: Add, search, view, and update components from official and community registries using the shadcn CLI with dry-run and diff previews. - Composition & Styling Rules: Enforces correct patterns for forms (FieldGroup/Field), overlays, icons (data-icon), semantic colors, and Tailwind spacing across radix and base primitive libraries. - Preset & Theme Workflows: Initialize projects with named presets or preset codes, switch themes via reinstall/merge/skip strategies, and customize CSS variables. - Use Case: When asked to build a settings form, the Skill checks installed components, fetches docs via npx shadcn@latest docs, and generates code using FieldGroup, ToggleGroup, and proper validation attributes matching the project's configuration. ## Quick Start Ask the assistant to add a shadcn/ui component such as a dialog or build a form, and it will use the shadcn CLI with your project's configuration to generate correct code.