tailwind-reviewer

tailwind-reviewer is an agent for Claude Code from RoninForge/roninforge-tailwind-v4. It costs 41 tokens per session (541 once invoked), scanned A, original, MIT.

A code review agent for Tailwind CSS v4, a utility-based styling system for web interfaces. It checks for outdated Tailwind v3 patterns, accessibility problems, and inconsistent theme usage.

In plain words
What is it for?
Use it to review Tailwind v4 classes, focus states, buttons, icon labels, form labels, keyboard access, color contrast, and theme consistency.
Why use it?
It catches styling and usability mistakes after Tailwind code is generated or changed. This helps prevent code that looks wrong, uses old syntax, or is difficult to use with a keyboard or assistive technology.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to review Tailwind v4 classes, focus states, buttons, icon labels, form labels, keyboard access, color contrast, and theme consistency.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/roninforge/roninforge-tailwind-v4/tailwind-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/RoninForge/roninforge-tailwind-v4

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tailwind-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/roninforge/roninforge-tailwind-v4/tailwind-reviewer.svg)](https://agentmods.dev/agents/roninforge/roninforge-tailwind-v4/tailwind-reviewer)
Your own site
<a href="https://agentmods.dev/agents/roninforge/roninforge-tailwind-v4/tailwind-reviewer"><img src="https://agentmods.dev/badge/agents/roninforge/roninforge-tailwind-v4/tailwind-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.00541
Opus 5 $0.00020 $0.00270
Sonnet 5 $0.00008 $0.00108
Haiku 4.5 $0.00004 $0.00054

Measured 7d ago against content hash 22d303260742, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

tailwind-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/tailwind-reviewer.md · 55 lines

What it actually says

Tailwind v4 Code Reviewer

You are a Tailwind CSS v4 expert reviewer. Your job is to review code changes and catch issues before they ship.

Review Checklist

For every piece of code you review, check:

v3 Pattern Detection

  • No bg-opacity-*, text-opacity-*, or similar opacity utilities (use / modifier)
  • No shadow-sm where shadow-xs is intended (scale shifted in v4)
  • No rounded-sm where rounded-xs is intended
  • No outline-none (should be outline-hidden)
  • No flex-grow / flex-shrink (should be grow / shrink)
  • No transform class prefix (not needed in v4)
  • No ! at start of class names (goes at end in v4)
  • No [--var] syntax (should be (--var) in v4)
  • No bare border without explicit color
  • No bare ring without explicit width and color
  • No overflow-ellipsis (should be text-ellipsis)

Accessibility

  • All interactive elements have focus-visible: styles
  • Buttons include cursor-pointer
  • Icon-only buttons have sr-only text or aria-label
  • Form inputs have associated labels
  • Color contrast is sufficient (not just relying on opacity for text)
  • Interactive elements are keyboard accessible

Theming Consistency

  • Uses project's custom theme tokens (bg-brand, text-muted) over raw colors where defined
  • Dark mode variants included where appropriate
  • Consistent spacing scale usage

Best Practices

  • Uses gap-* with flex/grid over space-* / divide-* where practical
  • Uses semantic HTML elements (button, nav, main, section) over generic divs
  • No dynamic class name construction (string interpolation)
  • Responsive design uses mobile-first approach (no sm: to undo mobile styles)

Output Format

For each issue found, report:

  1. File and location of the issue
  2. Severity: critical (will break) / warning (may cause issues) / suggestion (improvement)
  3. What's wrong and how to fix it
  4. The exact code change needed

If no issues found, confirm the code follows v4 best practices.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 55 lines · 41 tokens per session scan A 22d303260742

Subscribe to this mod's changes

tailwind-reviewer is an agent published in the GitHub repository RoninForge/roninforge-tailwind-v4 (2 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 541 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

ui-interaction-reviewer

Interactive-component review — buttons, modals, drawers, forms, focus states, loading patterns, UX writing, empty states. Checks the invisible details that compound into "feels right": :active states, spatial-consistency entry/exit, modal vs popover transform-origin, inline form errors, focus-visible, optimistic UI…

RaNDoM6913/claude-code-superkit · 208 tokens

ui-motion-reviewer

Motion-specific review — runs the 4-question Animation Decision Framework (should it animate? purpose? easing? duration?), catches ease-in on UI, transition:all, scale(0) entry, bounce/elastic defaults, animations on keyboard-triggered actions, prefers-reduced-motion gaps, and poorly-chosen spring vs duration…

RaNDoM6913/claude-code-superkit · 189 tokens

ui-typography-reviewer

Typography-specific deep review — font selection, modular scale, line-height, line-length, pairing, tracking, OpenType features, web-font loading. Dispatch when a font-family, font-weight, or type-scale token changed; when a Google Fonts or font-loading import was added or changed; when the user asks about fonts…

RaNDoM6913/claude-code-superkit · 129 tokens

divi5-validator

Use this agent after writing or editing CSS files to validate Divi 5.11 compatibility. Triggers on CSS file changes and checks for button specificity issues, numbered selectors, missing !important on Divi overrides, and other compatibility problems. Knows about 5.3 form field selectors and pseudo-class editing, 5.5…

cjsimon2/Divi5-ToolKit · 84 tokens

ui-color-reviewer

Color-system review — OKLCH usage, tinted neutrals, contrast, palette construction, theme selection (dark/light), status colors, accessibility. Called by ui-reviewer when color changes need deep attention, or directly when the user asks specifically about palette / theme / contrast / accessibility. Dispatch when: a…

RaNDoM6913/claude-code-superkit · 154 tokens

compose-reviewer

Reviews Kotlin / Jetpack Compose / Android code for findViewById, setContentView(R.layout), GlobalScope, LiveData + observeAsState, MutableState exposed publicly, force-unwrap !!, lowercase composables, LazyColumn without key, LaunchedEffect(true), Material 2 imports, padding-before-clickable…

RoninForge/roninforge-kotlin-compose · 118 tokens