Agent skill

Tailwind UI Skill for Utility CSS Patterns

The tailwind-ui skill from skills-for-antigravity gives an AI coding agent Tailwind CSS patterns, anti-patterns and a list of sharp edges such as purged dynamic class names.

Install
git clone https://github.com/omer-metin/skills-for-antigravity.git
View on GitHub

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

What is the tailwind-ui skill?

Tailwind-ui is a skill in the omer-metin/skills-for-antigravity collection. It sets an AI coding agent up as a Tailwind CSS expert and points it to three reference files: patterns for building, sharp edges for diagnosing failures, and validations for reviewing code against strict rules.

It is a skill in a collection of skills converted to Markdown for Google Antigravity. The SKILL.md frames the agent as a Tailwind CSS expert and tells it to ground answers in three reference files that act as the source of truth.

What the three references do

  • patterns.md says how to build: mobile-first layouts, class based dark mode, component extraction, centered containers, card grids and focus and hover states.
  • sharp_edges.md explains why things fail: purged dynamic class names, missing content paths, class order, dark mode setup, the spacing scale, peer and sibling variants, JIT mode and layer order.
  • validations.md holds review rules with a message and fix for each, such as an empty content array or a deprecated purge option.

Anti-patterns it names

The patterns file lists arbitrary value overuse, important modifier abuse, mixing inline styles with Tailwind, deep nesting in apply and ignoring mobile-first, so the agent can flag them in code you already have.

Who the skill is for

Best for

  • Developers whose styles work in development but disappear in production builds.
  • Teams that want a short rule set for reviewing Tailwind code.
  • Projects that need class based dark mode and a consistent responsive approach.

Not for

  • Visual taste or art direction. The skill covers mechanics, not a design style.
  • Projects without Tailwind.
  • Projects on a newer Tailwind setup that does not use a config file, since several examples use tailwind.config.js.

For a token based setup see tailwind-design-system and for utility class snippets see tailwind-css-patterns. Pair either with css-expert for layout questions.