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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tailwind-reviewer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00016 $0.00216
Sonnet 5.5 $0.00008 $0.00108
Haiku 4.5 $0.00004 $0.00054

Measured 1mo ago against content hash 22d303260742, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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. 1mo 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 4mo ago), licensed MIT. It adds 41 tokens to every session and 541 once invoked, about $0.0002 per session on Opus 5.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

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

team-reviewer

Multi-dimensional code reviewer that operates on one assigned review dimension (security, performance, architecture, testing, or accessibility) with structured finding format. Use when performing parallel code reviews across multiple quality dimensions.

wshobson/agents · 43 tokens

code-documentation-code-reviewer

Elite code review expert specializing in modern AI-powered code analysis, security vulnerabilities, performance optimization, and production reliability. Masters static analysis tools, security scanning, and configuration review with 2024/2025 best practices. Use PROACTIVELY for code quality assurance.

wshobson/agents · 60 tokens

comprehensive-review-architect-review

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural decisions.

wshobson/agents · 55 tokens

backend-development-security-auditor

Review code and architecture for security vulnerabilities, OWASP Top 10, auth flaws, and compliance issues. Use for security review during feature development.

wshobson/agents · 36 tokens

cut

Over-engineering hunter. Extra files, wrappers, speculative types, unjustified deps. Use for /cut or "too much code".

kleosr/kleosrules · 29 tokens