New advertisers: 50% off your first month with code FIRSTMONTHSee slots
secondsky avatar

Tailwind V4 Shadcn

Production-tested Tailwind v4 and shadcn/ui setup for Vite and React with dark mode and theming fixes.

skills.sh installs
8.3K
GitHub stars
250
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the four-step architecture: CSS variables at root, @theme inline mapping, base styles, and automatic dark mode
  • Includes templates for vite.config, components.json, and a ThemeProvider, plus a setup checklist
  • Enforces rules such as hsl()-wrapped color values, no tailwind.config theme colors, and no .dark { @theme } nesting
  • Designed for projects initializing Tailwind v4 or migrating from Tailwind v3 with shadcn/ui

Install

$ npx -y skills add secondsky/claude-skills --skill tailwind-v4-shadcn -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Tailwind v4 + shadcn/ui Production Stack

Production-tested: WordPress Auditor (https://wordpress-auditor.webfonts.workers.dev) Last Updated: 2025-12-04 Status: Production Ready ✅

Table of Contents

  1. Before You Start
  2. Quick Start
  3. Four-Step Architecture
  4. Dark Mode Setup
  5. Critical Rules
  6. Semantic Color Tokens
  7. Common Issues & Fixes
  8. File Templates
  9. Setup Checklist
  10. Advanced Topics
  11. Dependencies
  12. Tailwind v4 Plugins
  13. Reference Documentation
  14. When to Load References

⚠️ BEFORE YOU START (READ THIS!)

CRITICAL FOR AI AGENTS: If you're Claude Code helping a user set up Tailwind v4:

Details

Repository
github.com/secondsky/claude-skills
Category
Frontend & UI Code
First seen
May 16, 2026

More from secondsky/claude-skills

All 116

Similar to Tailwind V4 Shadcn

More Frontend & UI Code