What problem does it solve? Developers frequently misuse shadcn/ui by treating it as an npm package, breaking Radix accessibility, or hardcoding themes instead of using CSS variables. This Skill provides correct patterns for installing, customizing, theming, and integrating shadcn/ui components in React and Next.js applications. ## Core Features & Use Cases - Hallucination Trap Prevention: Corrects common mistakes like importing from 'shadcn-ui' as a package or skipping the init step. - Component Customization: Guides adding variants via class-variance-authority (cva) and modifying owned component code in components/ui. - Theming & Dark Mode: Implements CSS custom properties for themes with Tailwind v4 CSS-first configuration and the cn utility for class conflict resolution. - Use Case: When building a Next.js App Router page that needs an accessible Dialog with a custom button variant and dark mode support, this Skill provides the correct server/client component split and theming setup. ## Quick Start Ask the assistant to add a shadcn/ui Dialog with a custom button variant and dark mode support to your Next.js project.