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.css with @import "tailwindcss" and full @theme token block.
  • components.json with CSS-first shadcn config.
  • src/lib/utils.ts with cn() helper.
  • Installed packages: class-variance-authority, clsx, tailwind-merge, lucide-react, tailwindcss, @tailwindcss/postcss.

Creates/Modifies:

Installs
131
GitHub Stars
30
First Seen
Jan 20, 2026
shadcn-setup — shipshitdev/library