
Tailwind Patterns
If you're working with Tailwind v4, this covers the CSS-first configuration shift and container queries that actually matter now. It's built around the new @theme directive and Oxide engine patterns, so you're not reaching for v3 config files anymore. Good for understanding when to use container queries over breakpoints, how OKLCH colors work, and why the docs keep telling you to avoid @apply. Honest take: the anti-patterns section alone will save you from cargo-culting old v3 habits into your v4 projects.
- skills.sh installs
- 564
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill tailwind-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Files
Tailwind CSS Patterns (v4 - 2025)
Modern utility-first CSS with CSS-native configuration.
1. Tailwind v4 Architecture
What Changed from v3
| v3 (Legacy) | v4 (Current) |
|---|---|
tailwind.config.js | CSS-based @theme directive |
| PostCSS plugin | Oxide engine (10x faster) |
| JIT mode | Native, always-on |
| Plugin system | CSS-native features |
@apply directive | Still works, discouraged |
v4 Core Concepts
| Concept | Description |
|---|---|
| CSS-first | Configuration in CSS, not JavaScript |
| Oxide Engine | Rust-based compiler, much faster |
| Native Nesting | CSS nesting without PostCSS |
| CSS Variables | All tokens exposed as --* vars |
2. CSS-Based Configuration
Theme Definition
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Frontend Development, Code Review & Quality, Design & UI/UX
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Brainstorming562
- Feature Design Assistant559
- Nodejs Best Practices558
- Planning With Files558
- Product Strategist558
- Seo Fundamentals556
- Architecture555
- Seo Audit555
- React Best Practices550
- Create Plan543
- Polars539
- Agent Tool Builder537
- Content Research Writer533
- Database Design531
- Pinecone531
- Software Architecture531
- React Ui Patterns529
- Marketing Demand Acquisition525
- Playwright Skill525
- Docx524
- Research Grants523
- Obsidian Markdown519
- Web Performance Optimization518
- Notion Knowledge Capture516
Recommended
More Frontend Development1
react-best-practicesdavila7/claude-code-templatesComprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use when 550skills.sh installs
2
ios-glass-ui-designerheyman333/atelier-uiRedesign mobile app UI to feel unmistakably iOS-native with modern Apple-like glass materials (translucency, blur, depth). Use this skill when designing iOS-fir511skills.sh installs
3
react-composition-patternssecondsky/claude-skillsReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reus494skills.sh installs
4
vercel-react-best-practiceslobehub/lobehubReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js c489skills.sh installs
5
vue-application-structureaj-geddes/useful-ai-promptsStructure Vue 3 applications using Composition API, component organization, and TypeScript. Use when building scalable Vue applications with proper separation o447skills.sh installs
6
clerk-nextjs-skillsgocallum/nextjs16-agent-skillsClerk authentication for Next.js 16 (App Router only) with proxy.ts setup, migration from middleware.ts, environment configuration, and MCP server integration.438skills.sh installs