Production-tested setup for Tailwind v4 with shadcn/ui. Prevents 8 documented errors through a mandatory four-step architecture.
- Mandatory four-step theming architecture
- CSS variable-based color system with HSL
- Automatic dark mode switching
- Error prevention for 8 common mistakes (with solutions)
- Quick start setup for Vite projects
@theme inlinemapping and@layer basepatterns- OKLCH color space and container queries (v4 built-in)
- Migration guide from Tailwind v3 to v4
- Production-ready templates (CSS, ThemeProvider, Vite config, utils)
- Starting a new React/Vite project with Tailwind v4
- Migrating from Tailwind v3 to v4
- Setting up shadcn/ui with Tailwind v4
- Debugging: colors not working, dark mode broken, build failures
- Fixing
@theme inline,@apply, or@layer baseissues
npx add https://github.com/wpank/ai/tree/main/skills/frontend/tailwind-v4-shadcnnpx clawhub@latest install tailwind-v4-shadcnFrom your project root:
mkdir -p .cursor/skills
cp -r ~/.ai-skills/skills/frontend/tailwind-v4-shadcn .cursor/skills/tailwind-v4-shadcnmkdir -p ~/.cursor/skills
cp -r ~/.ai-skills/skills/frontend/tailwind-v4-shadcn ~/.cursor/skills/tailwind-v4-shadcnFrom your project root:
mkdir -p .claude/skills
cp -r ~/.ai-skills/skills/frontend/tailwind-v4-shadcn .claude/skills/tailwind-v4-shadcnmkdir -p ~/.claude/skills
cp -r ~/.ai-skills/skills/frontend/tailwind-v4-shadcn ~/.claude/skills/tailwind-v4-shadcntailwind-design-system— Design system patterns with CVA and Tailwindshadcn-ui— shadcn/ui component patterns and usage
Part of the Frontend skill category.