mcpField
T
tailwind-css

tailwind-css

github.com/paulrbergDesign & UI1023.0k installsUpdated 1d ago
Repository

About tailwind-css

A coding skill for applying Tailwind CSS changes within an existing repository. It prioritizes the installed version and local conventions, with explicit checks for rendered states.

Key features

  1. 01Respect installed Tailwind version
  2. 02Reuse repository styling conventions
  3. 03Preserve responsive and accessible states
  4. 04Verify builds and rendered changes

Use cases

  1. 01Style a component without redesigning it
  2. 02Check utilities after changing generated mappings
  3. 03Inspect theme and viewport states

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/paulrberg/agent-skills --skill tailwind-css

After installing, type/tailwind-cssin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

agents/
openai.yaml
references/
coding-preferences.md
eslint.md
tailwind-v4-rules.md
tailwind-variants.md
tw-animate-css.md

Details

From the project README

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

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.

Comments

Markdown supported