What problem does it solve?
This Skill helps developers and coding agents correctly install, configure, compose, and troubleshoot shadcn/ui component source in projects so teams avoid common CLI mistakes, type errors, theming breakages, and misconfigured component installs.
Core Features & Use Cases
- CLI Best Practices: Guidance for non-interactive init, adding components, searching, listing, building custom registries, and running migrations with the correct flags and presets.
- Theming & Tailwind Integration: Advice on CSS variable theming, dark mode handling, font variable placement, and Tailwind configuration to prevent runtime or build-time issues.
- Registry & Composition: Instructions for creating and consuming registries, namespacing, component composition patterns, and concrete gotchas (e.g., Avatar sizing, TooltipProvider requirements).
- Use Case: Initialize shadcn in a Next.js app non-interactively, add a dialog and button from a custom registry, migrate to the unified radix package, and fix any resulting CSS or TypeScript issues.
Quick Start
Use the shadcn skill to initialize shadcn/ui in your repository non-interactively with defaults and the radix base.