Skills for Claude Code CLI such as full stack dev Cloudflare, React, Tailwind v4, and AI integrations.
Python aianthropicautomationclaude-codeclaude-skillscloudflaredevtoolsproductivityreactskillstailwindvite
tailwind-v4-shadcn v1.0.1 - Fix animation package docs + updates
Jez7fb8283bd073
diff --git a/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json b/skills/tailwind-v4-shadcn/.claude-plugin/plugin.jsonindex 761fd66d..9b6e002d 100644--- a/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json+++ b/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json@@ -1,12 +1,30 @@{"name": "tailwind-v4-shadcn",- "description": "Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React. Use when: initializing React projects with Tailwind v4, setting up shadcn/ui, implementing dark mode, debugging CSS variable issues, fixing theme switching, migrating from Tailwind v3, or encountering color/theming problems. Covers: @theme inline pattern, CSS variable architecture, dark mode with ThemeProvider, component composition, vite.config setup, common v4 gotchas, and production-tested patterns.",- "version": "1.0.0",+ "description": "Production-tested setup for Tailwind CSS v4 with shadcn/ui, Vite, and React. Use when initializing React projects with Tailwind v4, setting up shadcn/ui, implementing dark mode, debugging CSS variable issues, fixing theme switching, migrating from Tailwind v3, or encountering color/theming problems. Prevents tw-animate-css errors, duplicate @layer base issues, and includes complete dark mode support with ThemeProvider.",+ "version": "1.0.1","author": {"name": "Jeremy Dawes","email": "[email protected]"},"license": "MIT","repository": "https://github.com/jezweb/claude-skills",- "keywords": ["Tailwind v4","shadcn/ui","@tailwindcss/vite","@theme inline","dark mode","CSS variables","hsl() wrapper","components.json","React theming","theme switching","colors not working","variables broken","theme not applying","@plugin directive","typography plugin"]+ "keywords": [+ "tailwind-v4",+ "tailwindcss",+ "shadcn-ui",+ "shadcn/ui",+ "@tailwindcss/vite",+ "vite",+ "react",+ "dark-mode",+ "theming",+ "@theme-inline",+ "css-variables",+ "tw-animate-css",+ "components",+ "ui-components",+ "frontend",+ "typescript",+ "theme-provider"+ ]}diff --git a/skills/tailwind-v4-shadcn/README.md b/skills/tailwind-v4-shadcn/README.mdindex cf9d2f87..599ef475 100644--- a/skills/tailwind-v4-shadcn/README.md+++ b/skills/tailwind-v4-shadcn/README.md@@ -1,7 +1,7 @@# Tailwind v4 + shadcn/ui Skill**Status**: Production Ready ✅-**Last Updated**: 2025-10-29+**Last Updated**: 2025-11-09**Production Tested**: WordPress Auditor (https://wordpress-auditor.webfonts.workers.dev)---@@ -137,18 +137,19 @@ When Claude detects trigger keywords, it should:```json{"dependencies": {- "tailwindcss": "^4.1.14",- "@tailwindcss/vite": "^4.1.14",+ "tailwindcss": "^4.1.17",+ "@tailwindcss/vite": "^4.1.17","clsx": "^2.1.1","tailwind-merge": "^3.3.1","react": "^19.2.0","react-dom": "^19.2.0"},"devDependencies": {- "@types/node": "^24.0.0",- "@vitejs/plugin-react": "^5.0.4",- "vite": "^7.0.0",- "typescript": "~5.9.0"+ "@types/node": "^24.10.0",+ "@vitejs/plugin-react": "^5.1.0",+ "vite": "^7.2.2",+ "typescript": "~5.9.0",+ "tw-animate-css": "^1.4.0"}}```diff --git a/skills/tailwind-v4-shadcn/SKILL.md b/skills/tailwind-v4-shadcn/SKILL.mdindex 8ca7a0a6..43fbe9a8 100644--- a/skills/tailwind-v4-shadcn/SKILL.md+++ b/skills/tailwind-v4-shadcn/SKILL.md@@ -15,14 +15,14 @@ description: |CSS variables, hsl() wrapper, components.json, React theming, theme switching,colors not working, variables broken, theme not applying, @plugin directive,typography plugin, forms plugin, prose class, @tailwindcss/typography,- @tailwindcss/forms+ @tailwindcss/forms, tw-animate-css, tailwindcss-animate deprecatedlicense: MIT---# Tailwind v4 + shadcn/ui Production Stack**Production-tested**: WordPress Auditor (https://wordpress-auditor.webfonts.workers.dev)-**Last Updated**: 2025-10-29+**Last Updated**: 2025-11-09**Status**: Production Ready ✅---@@ -104,7 +104,9 @@ export default defineConfig({"tailwind": {"config": "", // ← CRITICAL: Empty for v4"css": "src/index.css",- "cssVariables": true+ "baseColor": "slate", // Base color palette+ "cssVariables": true,+ "prefix": "" // No prefix for utility classes}}```@@ -448,33 +450,48 @@ See `reference/migration-guide.md` for complete v3 → v4 migration steps.```json{"dependencies": {- "tailwindcss": "^4.1.14",- "@tailwindcss/vite": "^4.1.14",+ "tailwindcss": "^4.1.17",+ "@tailwindcss/vite": "^4.1.17","clsx": "^2.1.1","tailwind-merge": "^3.3.1","@radix-ui/react-*": "latest",- "lucide-react": "^0.545.0",+ "lucide-react": "^0.553.0","react": "^19.2.0","react-dom": "^19.2.0"},"devDependencies": {- "@types/node": "^24.0.0",- "@vitejs/plugin-react": "^5.0.4",- "vite": "^7.0.0",- "typescript": "~5.9.0"+ "@types/node": "^24.10.0",+ "@vitejs/plugin-react": "^5.1.0",+ "vite": "^7.2.2",+ "typescript": "~5.9.0",+ "tw-animate-css": "^1.4.0"}}```-### ❌ NEVER Install These (Deprecated in v4)+### Animation Packages (Updated Nov 2025)+shadcn/ui has deprecated `tailwindcss-animate` in favor of `tw-animate-css` for Tailwind v4 compatibility.++**✅ DO Install (v4-compatible)**:```bash-# These packages will cause build errors:-npm install tailwindcss-animate # ❌ Deprecated-npm install tw-animate-css # ❌ Doesn't exist+pnpm add -D tw-animate-css+```++Then add to `src/index.css`:+```css+@import "tailwindcss";+@import "tw-animate-css";```-**If you see import errors for these packages**, remove them and use native CSS animations or `@tailwindcss/motion` instead.+**❌ DO NOT Install**:+```bash+npm install tailwindcss-animate # Deprecated - v3 only+```++**Why**: `tw-animate-css` is the official v4-compatible replacement for animations, required by shadcn/ui components.++**Reference**: https://ui.shadcn.com/docs/tailwind-v4---