Skip to content
vudovn avatar

Tailwind Patterns

Tailwind CSS v4 guidance for CSS-first theming, container queries, and design token architecture.

CCM score
46 of 100
skills.sh installs
216
GitHub stars
8.2K
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers v4 architecture changes from v3, CSS-based @theme configuration, and the Oxide engine's build speedups
  • Includes responsive design with mobile-first breakpoints, dark mode strategies, layout and color token systems, and component extraction
  • Enforces avoiding !important, arbitrary values, inline styles, and dynamic template-string class names
  • Designed for projects migrating from v3 or building design systems on Tailwind v4

Install

$ npx -y skills add vudovn/ag-kit --skill tailwind-patterns -y

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

Files

Tailwind CSS Patterns (v4)

Modern utility-first CSS with CSS-native configuration.


1. Tailwind v4 Architecture

What Changed from v3

v3 (Legacy)v4 (Current)
tailwind.config.jsCSS-based @theme directive
PostCSS pluginOxide engine (full builds ~5x, incremental >100x)
JIT modeNative, always-on
Plugin systemCSS-native features
@apply directiveStill works, discouraged

v4 Core Concepts

ConceptDescription
CSS-firstConfiguration in CSS, not JavaScript
Oxide EngineRust-based compiler, much faster
Native NestingCSS nesting without PostCSS
CSS VariablesAll tokens exposed as --* vars

2. CSS-Based Configuration

Theme Definition

Details

Repository
github.com/vudovn/ag-kit
Categories
Frontend & UI Code, Design & UI/UX
First seen
Jun 3, 2026

Questions

What does the tailwind-patterns skill help with?

The tailwind-patterns skill covers Tailwind CSS v4 principles, including CSS-first configuration with the @theme directive, container queries, modern layout and color patterns, and design token architecture. It is meant for work with Tailwind CSS v4, design tokens, container queries, or modern CSS patterns with Tailwind.

How do I install the tailwind-patterns skill?

Run npx -y skills add vudovn/ag-kit --skill tailwind-patterns -y inside your project. Once installed, the agent can apply Tailwind v4 patterns such as @theme configuration, container queries, dark mode and component extraction while editing your files.

Which tools does the tailwind-patterns skill use?

The skill's allowed tools are Read, Write, Edit, Glob and Grep, so the agent can read and change CSS and component files in the project. The listing gives no other accounts, keys or runtimes.

Where does tailwind-patterns sit in its category?

It is listed under Frontend and UI Code, next to vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns and lark-apps. Its focus is narrower than those: it concentrates on Tailwind CSS v4 configuration and utility patterns.

More from vudovn/ag-kit

All 30

Similar to Tailwind Patterns

More Frontend & UI Code