Tailwind Css

paulrberg/agent-skills/skills/tailwind-css

by paulrberg7f1d9025caf7No license97 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

Use for Tailwind v4 styling: add/fix classes, configure or migrate Tailwind, use tailwind-variants, or tw-animate-css.

Instructions onlySoftware Development
AI-generated overview

Guides Tailwind CSS v4 styling work: adding or fixing classes, configuration, migration, and variants.

What it does
This skill provides instructions for working with Tailwind CSS, mainly version 4. It routes the agent to reference files covering coding preferences, v4 rules, tailwind-variants, tw-animate-css, and ESLint, and tells it to follow the installed version and the repository's existing tokens, components, and conventions. It also defines completion expectations, including running the real Tailwind build and inspecting changed states in the rendered output.
When to use it
Use it when adding or fixing Tailwind classes, configuring or migrating Tailwind, or working with tailwind-variants or tw-animate-css. It is intended for styling tasks where the project's existing setup and conventions should be respected.
Requirements
No scripts; instructions only. It relies on reference documents bundled with the skill and, for verification, on the project's Tailwind build and repository checks.

Tailwind CSS

Follow the installed Tailwind version and the repository's tokens, components, class-merging utility, CSS entrypoint, and nearby UI. They take precedence over this skill. Do not add packages, change integration, or migrate versions without a request and local need.

Routing

  • Apply coding preferences [blocked] only where the project is silent.
  • For v4 configuration, migration, directives, or generated classes, use v4 rules [blocked] and the matching official docs.
  • Read tailwind-variants [blocked], tw-animate-css [blocked], or ESLint [blocked] only when that integration exists locally or the request adds it.

Do not apply v4 syntax to an older installation. Preserve responsive, interaction, accessible, and dark-mode behavior. Do not redesign beyond the request.

Completion

Define the intended visual and state change. Reuse local conventions. Keep classes statically discoverable.

If source registration or generated mappings change, run the real Tailwind build and confirm the expected utilities. Run required repository checks and inspect the changed states at one representative viewport for a small style edit. Broaden to narrow/wide viewports, themes, and interactions when responsive rules or shared styling changed. When markup is transformed by JavaScript or a component library, inspect the final DOM too. Textual class review alone is insufficient. Repeat checks only when subsequent edits affect their evidence.

Finish with ### 🎨 Tailwind — ✅ styling updated (or ### 🎨 Tailwind — 🔎 inspected, no files written) and code-check and rendered-inspection evidence. Use prose for one inspected state and a compact table for several. Add ### ⚠️ Remaining only when needed. Keep source UI copy and diagnostics undecorated.

Source and attribution

Source:paulrberg/agent-skillsinskills/tailwind-cssat commit7f1d902

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal