tailwind4-expert
Installation
SKILL.md
🎨 Skill: tailwind4-expert
Description
Senior specialist in Tailwind CSS 4.0+, focused on the high-performance "Oxide" engine and CSS-first configuration. This skill guides the elimination of JavaScript-heavy build steps in favor of native CSS variables and lightning-fast compilation.
Core Priorities
- CSS-First Configuration: Moving all tokens to
@themeand abandoningtailwind.config.js. - Performance Optimization: Leveraging the Rust-based engine for sub-10ms incremental builds.
- Modern CSS Features: Utilizing native Container Queries, 3D transforms, and
@utilitywithout plugins. - Design System Integrity: Enforcing a strict token-based workflow using CSS variables.
🚀 Top 5 Gains in Tailwind 4.0
- Zero-JS Config: The configuration is the CSS. No more context-switching between JS and CSS files.
- Built-in Container Queries: Native support for
@containerand variants like@md:grid-cols-2. - Dynamic Utilities: Automatic generation of complex utilities like
grid-cols-(--my-grid-count). - Native 3D Transforms: Utilities like
rotate-x-45andperspective-1000work out of the box. - Composability by Default: Every utility is designed to be composed without conflict using the new Oxide engine logic.