{"enrichment":{"faq":[{"a":"tailwind-v4-shadcn provides a complete initialization workflow: install Tailwind v4 and shadcn/ui dependencies, configure your CSS with the four-step architecture (layer directives, @theme block, semantic tokens, and @plugin imports), set up your components.json for shadcn, and integrate Vite if needed. The skill includes ready-to-use configuration templates that eliminate common setup errors and ensure your color tokens, typography, and component styles work immediately.","q":"How do I set up Tailwind v4 with shadcn/ui in a React project?"},{"a":"tailwind-v4-shadcn covers theme switching using CSS variables and the @theme inline pattern. Set up HSL color variables in your CSS layer, create a theme provider component that toggles the `dark` class on your root element, and use Tailwind's semantic tokens (like `bg-primary`) to automatically adapt. The skill includes provider implementations and hooks for managing light/dark state across your entire React app.","q":"What's the best way to implement dark mode with theme switching in Tailwind v4?"},{"a":"tailwind-v4-shadcn addresses the most common v4 color issues: CSS variables not registered in @theme, missing layer directives in your CSS, or incorrect HSL syntax. The skill provides debugging steps to verify your theme configuration, validate that semantic tokens like `primary` and `accent` are properly bound to CSS variables, and confirm your Vite plugin is processing the @theme block correctly.","q":"Why are my Tailwind v4 colors not applying and how do I fix it?"},{"a":"tailwind-v4-shadcn walks through the migration path: update your Tailwind config to use the new CSS-first approach, convert your color palette to HSL variables in the CSS layer, replace the old config-based theme with @theme directives, and update shadcn component imports if needed. The skill highlights breaking changes, deprecations, and provides side-by-side examples so your existing v3 projects transition smoothly.","q":"How do I migrate from Tailwind v3 to v4 with shadcn/ui?"},{"a":"tailwind-v4-shadcn explains Tailwind v4's four-step CSS architecture: define CSS variables in your layer, use @theme to register them with Tailwind, bind semantic tokens (primary, secondary, accent) to those variables, and apply @plugin directives for forms and typography. This architecture replaces v3's config-based theming, giving you direct control over your design tokens and making dark mode and dynamic themes far simpler to implement.","q":"What is the @theme inline pattern and how does Tailwind v4 CSS variables work?"},{"a":"tailwind-v4-shadcn includes Vite-specific setup: install the Tailwind Vite plugin, configure your vite.config.js to process CSS layers and @theme directives, set up your components.json with the correct paths, and ensure your CSS entry point loads before React mounts. The skill provides complete starter templates and troubleshooting for common Vite + Tailwind v4 integration issues.","q":"How do I configure Tailwind v4 with Vite and shadcn/ui components?"}],"shadow_tags":["css-architecture","theme-switching","color-system","component-library","dark-mode-support","vite-integration","migration-guide","production-ready","semantic-tokens","troubleshooting-guide"],"summary_rewrite":"Get a battle-tested foundation for React projects using Tailwind v4 and shadcn/ui, complete with dark mode, semantic color tokens, and Vite integration. This skill covers the four-step CSS architecture, theme switching, and solutions to common v4 migration issues\u2014all designed to eliminate setup errors and cut configuration time dramatically."},"files":[{"bytes":15882,"path":"plugins/tailwind-v4-shadcn/skills/tailwind-v4-shadcn/SKILL.md","sha256":"e48bfeb8b9fcc51d71d07f0bfcdf3a631ecbe954a9e78e6fc9f5197e2e70caea","url":"https://skillfed.io/files/secondsky/claude-skills/tailwind-v4-shadcn/a8a4d781/SKILL.md"}],"id":"secondsky/claude-skills/tailwind-v4-shadcn","links":{"html":"https://skillfed.io/secondsky/claude-skills/tailwind-v4-shadcn","md":"https://skillfed.io/secondsky/claude-skills/tailwind-v4-shadcn.md","repo":"https://github.com/secondsky/claude-skills"},"meta":{"agents_supported":[],"first_seen":"2026-07-28","forks":29,"language":"TypeScript","last_updated":"2026-07-25","license":"MIT","name":"tailwind-v4-shadcn","publisher":"secondsky","stars":196},"relations":{"similar":[{"id":"nicepkg/auto-company/tailwind-v4-shadcn"},{"id":"jezweb/claude-skills/tailwind-theme-builder"},{"id":"bobmatnyc/claude-mpm-skills/shadcn"},{"id":"elophanto/EloPhanto/shadcn"},{"id":"EnderPuentes/ai-agent-skills/shadcn-ui"},{"id":"oakoss/agent-skills/tailwind"},{"id":"gocallum/nextjs16-agent-skills/shadcn-skills"},{"id":"calesthio/OpenMontage/tailwind-design-system"},{"id":"giuseppe-trisciuoglio/developer-kit/tailwind-design-system"},{"id":"hieutrtr/ai1-skills/ui-design-system"}]},"slug":{"owner":"secondsky","repo":"claude-skills","skill":"tailwind-v4-shadcn"},"version":"a8a4d781"}
