What problem does it solve?
Tailwind CSS v4 projects can produce bloated CSS output or even build failures when outdated v3 patterns and tooling are used, leading to slower performance and confusing migration issues.
Core Features & Use Cases
- Tailwind v4 build correctness: Guides proper tooling choices like using the Vite integration and v4-compatible CLI, and using the v4 CSS import pattern instead of deprecated directives.
- CSS output optimization: Reduces unnecessary CSS and variable overhead through targeted rules such as avoiding excessive theme tokens, removing redundant PostCSS plugins, enabling production minification, and extracting critical CSS.
- v4-safe authoring patterns: Ensures correct usage of key v4 syntax and utilities, including @theme, @utility, updated variable reference syntax, dynamic utility values, renamed utilities, and variant/gradient/opacity behaviors.
Quick Start
Use the tailwind skill to review and refactor your Tailwind CSS v4 setup by asking it to identify deprecated patterns and propose the smallest set of changes to improve build performance and CSS size.