tw-validate

tw-validate is a skill for Claude Code, Codex from RoninForge/roninforge-tailwind-v4. It costs 35 tokens per session (968 once invoked), scanned A, original, MIT.

A checker for Tailwind CSS projects that finds mixed Tailwind v3 and v4 syntax, outdated patterns, and common setup mistakes.

In plain words
What is it for?
Use it to review a Tailwind project during a v3-to-v4 migration or before deployment, and to investigate unexpected CSS behaviour.
Why use it?
It helps explain styling problems caused by an incomplete or incorrect Tailwind upgrade, with the affected files and possible fixes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review a Tailwind project during a v3-to-v4 migration or before deployment, and to investigate unexpected CSS behaviour.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roninforge/roninforge-tailwind-v4/tw-validate
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.

Any agent
npx skills add RoninForge/roninforge-tailwind-v4 --skill tw-validate
Clone the repo
git clone --depth 1 https://github.com/RoninForge/roninforge-tailwind-v4

Made for: Claude Code, Codex.

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 tw-validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/roninforge/roninforge-tailwind-v4/tw-validate/github.svg)](https://agentmods.dev/skills/roninforge/roninforge-tailwind-v4/tw-validate)
Your own site
<a href="https://agentmods.dev/skills/roninforge/roninforge-tailwind-v4/tw-validate"><img src="https://agentmods.dev/badge/skills/roninforge/roninforge-tailwind-v4/tw-validate/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 tw-validate

Your own site · 80×15
<a href="https://agentmods.dev/skills/roninforge/roninforge-tailwind-v4/tw-validate"><img src="https://agentmods.dev/badge/skills/roninforge/roninforge-tailwind-v4/tw-validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 968 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.00035 $0.00968
Opus 5.5 $0.00014 $0.00387
Sonnet 5.5 $0.00007 $0.00194
Haiku 4.5 $0.00003 $0.00097

Measured 3mo ago against content hash eaff2d9d2ccd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tw-validate 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 3mo 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.

skills/tw-validate/SKILL.md · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Validate Tailwind v4 Project

When to Use

Use this skill when:

  • Verifying a project is fully migrated to Tailwind v4
  • Checking for v3 patterns that may have been missed during migration
  • Auditing a project before deployment to catch Tailwind issues
  • A project is behaving unexpectedly and version mixing may be the cause

Instructions

  1. Determine the project's Tailwind version by reading package.json. Look for:

    • tailwindcss version (v4.x confirms v4)
    • Presence of @tailwindcss/vite or @tailwindcss/postcss (confirms v4 tooling)
    • Presence of autoprefixer (unnecessary in v4, suggests incomplete migration)
    • Presence of postcss-import (unnecessary in v4)
  2. Check the CSS entry point for version indicators:

    • @import "tailwindcss" = v4 syntax (correct)
    • @tailwind base; @tailwind components; @tailwind utilities; = v3 syntax (needs migration)
    • Both present = version mixing (critical issue)
  3. Check for tailwind.config.js or tailwind.config.ts:

    • If it exists AND the CSS uses @import "tailwindcss": check if @config directive is present in CSS
    • If @config is missing: the JS config is being ignored (likely a bug)
    • If @config is present: this is a valid migration bridge, but flag for future conversion to @theme
  4. Check PostCSS config:

    • Should contain only @tailwindcss/postcss (or no PostCSS if using Vite plugin)
    • Flag autoprefixer, postcss-import, postcss-nesting as unnecessary
  5. Search all template files for deprecated v3 patterns. For each pattern found, report the file, line number, and suggested fix:

    Critical (will break or produce wrong output):

    • bg-opacity-*, text-opacity-*, border-opacity-*, divide-opacity-*, ring-opacity-*, placeholder-opacity-*
    • ! at beginning of class names (should be at end in v4)
    • [-- for arbitrary CSS variables (should be (-- in v4)

    High (renamed classes - may produce unexpected output):

    • shadow-sm (should be shadow-xs)
    • blur-sm (should be blur-xs)
    • rounded-sm (should be rounded-xs)
    • outline-none (prefer outline-hidden for accessibility; outline-none still works)
    • overflow-ellipsis (should be text-ellipsis)
    • flex-grow / flex-shrink (should be grow / shrink)

Read the full file on GitHub · 77 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 77 lines · 35 tokens per session scan A eaff2d9d2ccd

Subscribe to this mod's changes

tw-validate is a skill published in the GitHub repository RoninForge/roninforge-tailwind-v4 (2 stars, last pushed 5mo ago), licensed MIT. It adds 35 tokens to every session and 968 once invoked, about $0.0001 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

tw-validate compared with skills from other repositories

tw-validate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tw-validateRoninForge/roninforge-tailwind-v4Skill25mo agoMITA35Claude Code, Codex
brand-landingpagewshobson/agentsSkill43k6d agoMITA112Claude Code
css-protipsPyModel/css-pro-tipsSkill342mo agoMITA55Claude Code, Codex
uikit-expertzinxj/uikit-expert-skillSkill71mo agoMITA95Claude Code, Codex
ui-designjaansokk/cursor_toolsSkill110d agoMITA50Codex
Responsive Layout ReviewerNotysoty/openagentskillsSkill93mo agoMITA25Claude Code, Codex
Dark Mode Testing PatternsPramodDutta/qaskillsSkill25227d agoMITA32Claude Code, Codex