Agent skill

Tailwind CSS v4 Skill: Utility Styling Rules for Agents

The tailwindcss skill is a short rule set that has an AI coding agent style components with Tailwind CSS v4, project tokens and complete, statically discoverable class names.

Install
git clone https://github.com/pedronauck/skills.git
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Tailwind CSS skill?

The tailwindcss skill is in the pedronauck/skills repository under skills/mine. It tells an AI coding agent to style components with Tailwind CSS v4 utilities, use the project's semantic tokens, keep class names complete, avoid important flags, preserve keyboard focus and validate with the repository's own checks. A patterns file backs it up.

It is the tailwindcss skill in pedronauck/skills, in the folder of the author's own skills. Its description says to style components with Tailwind CSS v4 and project tokens, and it excludes plain CSS, CSS-in-JS and other utility frameworks.

The SKILL.md is deliberately short: six rules, then a pointer to references/patterns.md. That file holds copy-ready examples and a catalog of v4 utilities and variants, with token names given only as illustrations.

What changes in your agent's output

  • Colors, borders and states use semantic tokens from your project's own token source, not a guessed shadcn vocabulary.
  • Class names stay complete and statically discoverable. The skill prefers lookup maps over fragments such as a color name interpolated into a utility.
  • Long class lists are grouped for readability, with a cn or merge helper for variants and overriding className values.
  • Specificity is solved through style design and class merging, avoiding the important flag. The apply directive is used only where the repository permits it.

Who the Tailwind CSS skill is for

Best for

Not for

  • Projects using plain CSS, CSS-in-JS or another utility framework, which the skill excludes by design.
  • Readers who want a long tutorial. The rules are terse and assume you know Tailwind.

Use it with UiChemy

If you style a React or HTML build with Tailwind and later want it in WordPress, UiChemy AI to WordPress imports AI builds. Click Get Started on uichemy.com. For palettes, try the Tailwind Shades MCP server.