Tailwind

From pproenca/dot-skills · View interactive version

Tailwind is an AI agent skill from the GitHub repository pproenca/dot-skills. Tailwind CSS v4 performance optimization and best practices guidelines (formerly tailwindcss-v4-style). This skill should be used when writing, reviewing, or refactoring Tailwind CSS v4 code to ensure optimal build performance, minimal CSS output, and correct usage of v4 features. Triggers on tasks

How to use this skill

Skill file

Community Tailwind CSS v4 Best Practices

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.

When to Apply

Reference these guidelines when:

Rule Categories by Priority

| 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- |

Quick Reference

1. Build Configuration (CRITICAL)

2. CSS Generation (CRITICAL)

3. Bundle Optimization (HIGH)

4. Utility Patterns (HIGH)

5. Component Architecture (MEDIUM-HIGH)

6. Theming & Design Tokens (MEDIUM)

7. Responsive & Adaptive (MEDIUM)

8. Animation & Transitions (LOW-MEDIUM)

How to Use

Read individual reference files for detailed explanations and code examples:

Full Compiled Document

For a complete guide with all rules expanded, see AGENTS.md.

Reference Files

| 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 |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.