Optimizes Tailwind CSS v4 build performance, CSS output, and usage of v4 features including @theme, container queries, and responsive design.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pproenca-dot-skills-1:tailwindThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive performance optimization guide for Tailwind CSS v4 applications. Contains 44 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Comprehensive performance optimization guide for Tailwind CSS v4 applications. Contains 44 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Build Configuration | CRITICAL | build- |
| 2 | CSS Generation | CRITICAL | gen- |
| 3 | Bundle Optimization | HIGH | bundle- |
| 4 | Utility Patterns | HIGH | util- |
| 5 | Component Architecture | MEDIUM-HIGH | comp- |
| 6 | Theming & Design Tokens | MEDIUM | theme- |
| 7 | Responsive & Adaptive | MEDIUM | resp- |
| 8 | Animation & Transitions | LOW-MEDIUM | anim- |
build-vite-plugin - Use Vite Plugin Over PostCSSbuild-css-import - Use CSS Import Over @tailwind Directivesbuild-content-detection - Leverage Automatic Content Detectionbuild-node-version - Use Node.js 20+ for Optimal Performancebuild-postcss-simplify - Remove Redundant PostCSS Pluginsbuild-cli-package - Use Correct CLI Packagegen-css-first-config - Use CSS-First Configuration Over JavaScriptgen-avoid-theme-bloat - Avoid Excessive Theme Variablesgen-oklch-colors - Use OKLCH Color Space for Vivid Colorsgen-utility-directive - Use @utility for Custom Utilitiesgen-dynamic-utilities - Use Dynamic Utility Valuesgen-css-variable-syntax - Use Parentheses for CSS Variable Referencesbundle-remove-unused-plugins - Remove Built-in Pluginsbundle-avoid-preprocessors - Avoid Sass/Less Preprocessorsbundle-css-minification - Enable CSS Minification in Productionbundle-avoid-cdn-production - Avoid Play CDN in Productionbundle-split-critical-css - Extract Critical CSS for Initial Renderutil-renamed-utilities - Use Renamed Utility Classesutil-important-modifier - Use Trailing Important Modifierutil-variant-stacking - Use Left-to-Right Variant Stackingutil-explicit-colors - Use Explicit Border and Ring Colorsutil-opacity-modifier - Use Slash Opacity Modifierutil-gradient-via-none - Use via-none to Reset Gradient Stopscomp-avoid-apply-overuse - Avoid Overusing @applycomp-reference-directive - Use @reference for CSS Module Integrationcomp-utility-file-scope - Understand Utility File Scopecomp-smart-sorting - Leverage Smart Utility Sortingcomp-container-customize - Customize Container with @utilitycomp-custom-variant - Use @custom-variant for Custom Variant Definitionstheme-semantic-tokens - Use Semantic Design Token Namestheme-dark-mode-class - Use Class-Based Dark Mode for Controltheme-prefix-variables - Use Prefix for Variable Namespacingtheme-runtime-variables - Leverage Runtime CSS Variablestheme-color-scheme - Set color-scheme for Native Dark Modetheme-inline-static - Use @theme inline and @theme static for Variable Controlresp-mobile-first - Use Mobile-First Responsive Designresp-container-queries - Use Container Queries for Component-Level Responsivenessresp-custom-breakpoints - Define Custom Breakpoints in @themeresp-hover-capability - Pair Hover with Active for Touch-Friendly Interactionsresp-logical-properties - Use Logical Properties for RTL Supportanim-gpu-accelerated - Use GPU-Accelerated Transform Propertiesanim-starting-style - Use @starting-style for Entry Animationsanim-gradient-interpolation - Use OKLCH Gradient Interpolationanim-3d-transforms - Use Built-in 3D Transform UtilitiesRead individual reference files for detailed explanations and code examples:
For a complete guide with all rules expanded, see AGENTS.md.
| File | Description |
|---|---|
| AGENTS.md | Complete compiled guide with all rules |
| references/_sections.md | Category definitions and ordering |
| assets/templates/_template.md | Template for new rules |
| metadata.json | Version and reference information |
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin pproenca-dot-skills-1Provides 44 prioritized Tailwind CSS v4 rules across build config, CSS generation, bundle optimization, utility patterns, theming, responsive design, and animations.
Provides Tailwind CSS v4 guidance: utility-first patterns, @theme/@source config, dark mode, responsive design, oklch colors, custom variants, v4 vs v3 differences.
Provides 29 rules for consistent Tailwind CSS including responsive design, dark mode, component patterns, configuration, and v3-to-v4 migration.