Borrowing it
Nothing to install: this file belongs to VOD-Studio/violet. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/VOD-Studio/violet/release/2.0/.agents/skills/tailwind-canonical-classes/SKILL.mdgit clone --depth 1 https://github.com/VOD-Studio/violetWrote 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/vod-studio/violet/tailwind-canonical-classes)<a href="https://agentmods.dev/skills/vod-studio/violet/tailwind-canonical-classes"><img src="https://agentmods.dev/badge/skills/vod-studio/violet/tailwind-canonical-classes/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.
<a href="https://agentmods.dev/skills/vod-studio/violet/tailwind-canonical-classes"><img src="https://agentmods.dev/badge/skills/vod-studio/violet/tailwind-canonical-classes.svg" alt="Reviewed on agentmods" width="80" 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.00118 | $0.02406 |
| Opus 5.5 | $0.00047 | $0.00962 |
| Sonnet 5.5 | $0.00024 | $0.00481 |
| Haiku 4.5 | $0.00012 | $0.00241 |
Grade A, and why
tailwind-canonical-classes 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 2mo 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 — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Tailwind: prefer canonical class forms
The rule
This project uses Tailwind CSS v4. When editing className, write classes in the canonical form preferred by Tailwind v4.
Canonical forms come from two sources:
- Project convention (static): spacing/sizing pixel values divisible by 4 must use bare numeric utilities.
- Tailwind CSS IntelliSense
suggestCanonicalClasses(dynamic): the extension reads the project'sdesignSystemand suggests canonical rewrites on a per-class basis.
When Tailwind suggests a canonical form, accept it. Do NOT keep the legacy/arbitrary form.
The suggestCanonicalClasses mappings are not hardcoded — they come from designSystem.canonicalizeCandidates() and reflect the current project's @theme tokens and plugins. The tables below list the common, stable cases; always prefer the live suggestion from IntelliSense when it conflicts with a static rule.
Spacing/sizing: 4px → numeric utilities
This project uses the default Tailwind v4 spacing scale where 1 spacing unit = 4px (--spacing: 0.25rem).
When a pixel value is a multiple of 4, use the numeric utility. Do NOT use the arbitrary-value form.
| ❌ Don't | ✅ Do | math |
|---|---|---|
w-[88px] |
w-22 |
88 / 4 = 22 |
h-[120px] |
h-30 |
120 / 4 = 30 |
p-[12px] |
p-3 |
12 / 4 = 3 |
m-[16px] |
m-4 |
16 / 4 = 4 |
gap-[24px] |
gap-6 |
24 / 4 = 6 |
min-w-[200px] |
min-w-50 |
200 / 4 = 50 |
max-w-[400px] |
max-w-100 |
400 / 4 = 100 |
rounded-[8px] |
rounded-2 (or rounded-lg) |
8 / 4 = 2 |
inset-[32px] |
inset-8 |
32 / 4 = 8 |
Prefixes and variants compose the same way: sm:max-w-[420px] → sm:max-w-105, hover:w-[200px] → hover:w-50.
When arbitrary values ARE correct
Keep the -[...] form only when the value is not expressible on the 4px scale, or isn't a spacing value:
- Not divisible by 4:
w-[90px],top-[117px]— no clean numeric form, keep arbitrary. - Non-px units / calc / dynamic:
h-[calc(100%-1px)],w-[50vw],translate-y-[calc(-50%_-_2px)]. - Color/opacity/content:
bg-[#1da1f2],text-[clamp(1rem,2vw,1.5rem)],content-['→']. - Non-spacing scales:
ring-[3px],border-[1px],text-[10px]belong to their own scales — leave them unless IntelliSense suggests a canonical form.
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.
- 2mo ago First seen · 174 lines · 118 tokens per session scan A 9980d14bfd1f
tailwind-canonical-classes is a skill published in the GitHub repository VOD-Studio/violet (4 stars, last pushed yesterday), licensed MIT. It adds 118 tokens to every session and 2,406 once invoked, about $0.0005 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.
tailwind-canonical-classes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tailwind-canonical-classesVOD-Studio/violet | Skill | 4 | yesterday | MIT | A | 118 | Claude Code, Codex |
| article-magazinenexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 30 | Claude Code, Codex |
| 21st-ui21st-dev/magic-mcp | Skill | 6.4k | 1mo ago | ISC | A | 63 | Claude Code |
| service-portal-pagesserac-labs/serac | Skill | 77 | 17d ago | Apache-2.0 | A | 63 | Claude Code |
| frontend-design-tasteKevin-Liu-01/Agent-Machines | Skill | 29 | 15d ago | MIT | A | 79 | Claude Code, Codex |
| font-switcher-dev-toolKevin-Liu-01/Agent-Machines | Skill | 29 | 15d ago | MIT | A | 86 | Claude Code, Codex |
| reticle-design-systemKevin-Liu-01/Agent-Machines | Skill | 29 | 15d ago | MIT | A | 58 | Claude Code, Codex |