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.
npx skills add Miaoge-Ge/coding-agent-skills --skill tailwind-expertgit clone --depth 1 https://github.com/Miaoge-Ge/coding-agent-skillsWrote 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.
[](https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/tailwind-expert)<a href="https://agentmods.dev/skills/miaoge-ge/coding-agent-skills/tailwind-expert"><img src="https://agentmods.dev/badge/skills/miaoge-ge/coding-agent-skills/tailwind-expert.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00091 | $0.01268 |
| Opus 5 | $0.00046 | $0.00634 |
| Sonnet 5 | $0.00018 | $0.00254 |
| Haiku 4.5 | $0.00009 | $0.00127 |
Grade A, and why
tailwind-expert 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tailwind CSS Expert
Constraints are the feature: style from the theme scale, not magic numbers. Composition + variants beat
@apply. If a class string is unreadable, extract a component or acvavariant — not a custom CSS file.
When to Use
- Styling components with Tailwind or migrating hand-written CSS → Tailwind.
- Responsive, dark-mode, or themeable layouts.
- Taming long/conditional class lists; building reusable styled primitives.
- Configuring the theme (colors, spacing, breakpoints, plugins).
When NOT to Use
- Component state/logic →
react-expert. - Accessibility semantics beyond focus/contrast (ARIA, keyboard) →
accessibility-expert.
Core Principles
1. Stay on the scale
- Use theme tokens (
p-4,gap-2,text-lg,text-gray-600) over arbitrary values (p-[13px]). Arbitrary values are an escape hatch, not the norm. - Define brand colors/spacing/typography in the theme (Tailwind v4:
@themein CSS; v3:tailwind.config) so every utility stays consistent. Know your version — v4 is CSS-first and config is largely in CSS.
2. Manage class complexity by composition
- Repeated UI → a component, not copy-pasted class strings.
@applyis only for tiny shared primitives, not whole components. - Conditional/variant styling →
clsxfor booleans,cva(class-variance-authority) for structured variants. Merge conflicting classes withtailwind-merge.
3. Mobile-first, state-aware
- Unprefixed = base (smallest screen); layer up with
sm:/md:/lg:. Never "undo" a larger breakpoint with a smaller one. - Use state variants:
hover:,focus-visible:,active:,disabled:,aria-*:,data-*:,group-hover:,peer-checked:,dark:.
4. Layout with flor/grid, theme with tokens
- Space items with
flex/grid+gap-*rather than per-item margins. - Dark mode: prefer
dark:driven by aclassstrategy you toggle, so it's controllable and testable.
Decision Guide
| Situation | Use |
|---|---|
| One-off conditional classes | clsx |
| Component with size/intent variants | cva + tailwind-merge |
Tiny shared primitive (e.g., .btn-base) |
@apply |
| Truly bespoke value not in scale | arbitrary [...] (sparingly) |
| Spacing between siblings | gap-* on a flex/grid parent |
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.
- 8d ago First seen · 95 lines · 91 tokens per session scan A 63771aeaffd5
tailwind-expert is a skill published in the GitHub repository Miaoge-Ge/coding-agent-skills (5 stars, last pushed 3mo ago), licensed MIT. It adds 91 tokens to every session and 1,268 once invoked, about $0.0005 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.
Other skills, from other repositories
21st-ui
Find, install, and generate UI with 21st.dev. Use when the user asks for a UI component (pricing table, hero, navbar, dashboard, form, etc.), wants design inspiration, needs a brand logo as an SVG component, or wants to generate new UI from a prompt.
interaction-skill
Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…
refero-design
Primary/default skill for UI design, product design, web design, landing pages, dashboards, product screens, redesigns, visual polish, frontend/CSS styling, design systems, components, responsive design, typography, color, spacing, motion, icons, accessibility, copywriting, conversion, and anti-AI-slop work. Use this…
ai-ui-generation
AI-assisted UI generation patterns for json-render, v0.app, Google Stitch, Bolt Cloud, and Cursor workflows. Covers prompt engineering for component and full-stack app generation, review checklists for AI-generated code, design token injection, refactoring for design system conformance, and CI gates for quality…
ijfw-ui-spec
Use when the user says: 'ui spec', 'design contract', 'ui audit setup', 'lock the design', 'visual contract', 'ui review setup', or '/ijfw-ui-spec'. Produces UI-SPEC.md as the visual design contract before any frontend or visual-artifact build, and dispatches ijfw-ui-auditor as the final 6-pillar gate.
taste-skill
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.