shadcn-setup
Installation
SKILL.md
shadcn/ui Setup
Sets up shadcn/ui with proper Tailwind CSS v4 configuration. This skill ensures you get the modern CSS-first setup, not the deprecated v3 approach.
Contract
Inputs:
- Project root directory (defaults to current working directory).
- Optional: theme name (zinc, slate, stone, etc.), component list, router type (app-router or pages-router).
Outputs:
globals.csswith@import "tailwindcss"and full@themetoken block.components.jsonwith CSS-first shadcn config.src/lib/utils.tswithcn()helper.- Installed packages:
class-variance-authority,clsx,tailwind-merge,lucide-react,tailwindcss,@tailwindcss/postcss.
Creates/Modifies: