mcpField
T
tailwind

tailwind

github.com/pproencaDesign & UI220648 installsUpdated 11w ago
Repository

About tailwind

A Tailwind CSS v4 best-practices skill for developers working on styling, builds, and performance. Its 44 prioritized rules cover configuration, CSS generation, bundle size, theming, and responsive design.

Key features

  1. 0144 rules across eight categories
  2. 02Prioritized optimization guidance
  3. 03CSS-first configuration practices
  4. 04Bundle and build optimization
  5. 05Responsive design and theming guidance

Use cases

  1. 01Configuring Tailwind CSS v4 build tooling
  2. 02Migrating styles to the CSS-first approach
  3. 03Reducing CSS bundle size
  4. 04Setting up responsive layouts and design tokens

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pproenca/dot-skills --skill tailwind

After installing, type/tailwindin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
README.md
assets/templates/
_template.md
references/
_sections.md
anim-3d-transforms.md
anim-gpu-accelerated.md
anim-gradient-interpolation.md
anim-starting-style.md
build-cli-package.md
build-content-detection.md
build-css-import.md
build-node-version.md
build-postcss-simplify.md
build-vite-plugin.md
bundle-avoid-cdn-production.md
bundle-avoid-preprocessors.md
bundle-css-minification.md
bundle-remove-unused-plugins.md
bundle-split-critical-css.md
comp-avoid-apply-overuse.md
comp-container-customize.md
comp-custom-variant.md
comp-reference-directive.md
comp-smart-sorting.md
comp-utility-file-scope.md
gen-avoid-theme-bloat.md
gen-css-first-config.md
gen-css-variable-syntax.md
gen-dynamic-utilities.md

Details

From the project README

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

FileDescription
AGENTS.mdComplete compiled guide with all rules
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

Comments

Markdown supported