Skip to content

Performance-focused Tailwind CSS v4 guide that flags build, CSS output, and v4 feature misuse across 44 rules.

CCM score
49 of 100
skills.sh installs
670
GitHub stars
228
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 44 rules in 8 categories, from build configuration and CSS generation down to animation and transitions
  • Includes rules for the Vite plugin, CSS-first @theme configuration, @utility, container queries, and OKLCH colors
  • Enforces practices such as avoiding @apply overuse, avoiding Sass and Less preprocessors, and avoiding the Play CDN in production
  • Designed for automated refactoring and code generation of Tailwind v4 projects, with a complete compiled guide in AGENTS.md

Install

$ npx -y skills add pproenca/dot-skills --skill tailwind -y

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

Files

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:

  • Configuring Tailwind CSS v4 build tooling (Vite plugin, PostCSS, CLI)
  • Writing or migrating styles using v4's CSS-first approach
  • Optimizing CSS bundle size and build performance
  • Implementing responsive designs with breakpoints or container queries
  • Setting up theming with @theme directive and design tokens

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Build ConfigurationCRITICALbuild-
2CSS GenerationCRITICALgen-
3Bundle OptimizationHIGHbundle-
4Utility PatternsHIGHutil-
5Component ArchitectureMEDIUM-HIGHcomp-
6Theming & Design TokensMEDIUMtheme-
7Responsive & AdaptiveMEDIUMresp-
8Animation & TransitionsLOW-MEDIUManim-

Quick Reference

1. Build Configuration (CRITICAL)

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend & UI Code, Code Review & Quality
First seen
Jun 3, 2026

Questions

What does the tailwind skill do?

The tailwind skill gives agents Tailwind CSS v4 performance optimization and best practices guidelines. It covers build configuration, CSS generation, bundle size, utility patterns, theming with the @theme directive, responsive design, and animation.

How do I install the tailwind skill?

Run npx -y skills add pproenca/dot-skills --skill tailwind -y in your project. After that, the tailwind skill lets the agent follow Tailwind CSS v4 guidance when it writes, reviews, or refactors styles.

Which tasks does the tailwind skill trigger on?

The tailwind skill triggers on tasks involving Tailwind configuration, the @theme directive, utility classes, responsive design, dark mode, container queries, or CSS generation optimization. It is meant for Tailwind CSS v4 code specifically.

Where does the tailwind skill sit in its category?

The tailwind skill is listed in the Frontend & UI Code category on Claude Marketplaces, next to vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Its focus is performance and correct v4 usage rather than general UI design.

More from pproenca/dot-skills

All 100

Similar to Tailwind

More Frontend & UI Code