Audits web typography with 78 rules covering font loading, sizing, spacing, OpenType features, punctuation, hierarchy, and layout. Scopes to changed files and reports findings with file:line and fix.
Ships in mblode-agent-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
78 rules in 10 categories for web typography. Every finding names file, rule, and fix.
ui-design Audit mode), or a redesign (new typefaces, scales: use ui-design Direction mode).Track this checklist:
Audit progress:
- [ ] Step 1: Scope. List changed files (or full sweep), map signals to categories
- [ ] Step 2: Run CRITICAL rules in scope (font-, size-, punct-)
- [ ] Step 3: Run HIGH rules in scope (spacing-)
- [ ] Step 4: Run remaining in-scope categories by descending priority
- [ ] Step 5: Report per the contract; every finding has file:line, rule ID, fix
.css, .scss, .html, .tsx/.jsx, and template files.rules/font-*.md, etc.), only for the categories the signals selected.| Signal in code | Categories to load |
|---|---|
@font-face, font-family, font files, variable fonts, font-stretch, transform: scaleX on text | font- |
font-size, clamp(), media-query type changes, max-width on text, <em>/<strong>, text-decoration | size- |
| Copy in HTML/JSX (headings, paragraphs, labels) | punct- |
line-height, letter-spacing, word-spacing, margin on text, text-transform: uppercase | spacing- |
Heading elements, type scale tokens, --text-* properties | hierarchy- |
text-align, lists, blockquotes, multi-column text | layout- |
font-feature-settings, font-variant-*, figures/fractions in copy | opentype- |
| Logo/wordmark styles, brand tokens, text color tokens, license comments | brand- |
Two or more distinct font-family values | pairing- |
Hero/display sizes, drop caps, initial-letter | display- |
| Priority | Category | Impact | Prefix | Rules |
|---|---|---|---|---|
| 1 | Font Selection & Weights | CRITICAL | font- | 11 |
| 2 | Sizing & Measure | CRITICAL | size- | 6 |
| 3 | Punctuation & Special Characters | CRITICAL | punct- | 12 |
| 4 | Spacing & Rhythm | HIGH | spacing- | 8 |
| 5 | Hierarchy & Scale | MEDIUM-HIGH | hierarchy- | 8 |
| 6 | Alignment & Layout | MEDIUM | layout- | 6 |
| 7 | OpenType Features | MEDIUM | opentype- | 7 |
| 8 | Brand & Identity | MEDIUM | brand- | 8 |
| 9 | Typeface Pairing | MEDIUM | pairing- | 5 |
| 10 | Display & Headlines | LOW-MEDIUM | display- | 7 |
Category map and impact rationale: rules/_sections.md. Each rule file gives why it matters plus an incorrect and a correct example. Category impact reflects the category's worst-case rules; report findings with the rule's own frontmatter impact, which frequently differs (e.g. brand-color is HIGH inside the MEDIUM brand- category because it holds the WCAG contrast floor).
Report findings as:
## Typography Audit Findings
### path/to/file.css
- [CRITICAL] `punct-smart-quotes` (file.css:42): Straight quotes in heading copy.
- Fix: Replace `"` with `“`/`”` (or UTF-8 curly quotes).
- [CRITICAL] `size-line-height` (file.css:18): `line-height: 20px`, a fixed value the 48px `h1` inherits, so its lines overlap.
- Fix: Use unitless `line-height: 1.5`.
### path/to/clean-file.css
- ✓ pass
file:line, one-line issue, fix.✓ pass so coverage is visible.impact, never the category's. Two rules get misreported most: brand-color is HIGH (an accessibility floor, not a brand nicety) and punct-daggers is LOW-MEDIUM (decoration, despite sitting in a CRITICAL category).-- inside <code>, <pre>, or JS/TS string literals is a false positive; "fixing" them breaks the code.ui-verification when a finding depends on them. A CSS declaration alone does not prove which face loaded.font-feature-settings tags, so the fix does nothing.file:line and a concrete fix; an unactionable finding forces a redo.ui-design.display- nit above a CRITICAL faux-bold finding buries what actually looks broken.ui-design Audit mode: broad frontend quality (accessibility, forms, navigation, motion); its typography coverage is shallower.ui-design Direction mode: choosing typefaces, scales, and visual direction from scratch; run when a finding becomes a redesign request.ghostwriter: heading and label wording. This skill governs only the casing of that copy (punct-case-rules).Maintenance only: evals/evals.json contains regression scenarios for changes to this skill; it does not load during a user task.
evals/evals.json (opens in a new tab)evals/files/copy-punctuation/landing.html (opens in a new tab)evals/files/font-loading/post.html (opens in a new tab)evals/files/font-loading/site.css (opens in a new tab)evals/files/reading-measure/docs.css (opens in a new tab)evals/files/reading-measure/guide.html (opens in a new tab)evals/files/terms-page/legal.css (opens in a new tab)evals/files/terms-page/terms.html (opens in a new tab)rules/_sections.md (opens in a new tab)rules/_template.md (opens in a new tab)rules/brand-capitalization.md (opens in a new tab)rules/brand-color.md (opens in a new tab)rules/brand-cross-medium.md (opens in a new tab)rules/brand-dark-backgrounds.md (opens in a new tab)rules/brand-equity.md (opens in a new tab)rules/brand-identifiable-body.md (opens in a new tab)rules/brand-licensing.md (opens in a new tab)rules/brand-logo-typeface.md (opens in a new tab)rules/display-drop-caps.md (opens in a new tab)rules/display-grid-breaking.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/mblode-agent-skills:typography-auditfrom mblode-agent-skills
mblode-agent-skills@cascade-code-general-misc-4 is listed by joshuarweaver/cascade-code-general-misc-4 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-4 --plugin mblode-agent-skills30 skills in this plugin
/agent-ready-repoFor a codebase: makes it safe for agents to work in by building the guardrails, AGENTS.md, verification and laws they need, or audits a repo against the catalogue and fixes the top gap. Use when asked to "make this repo agent-friendly", "set up a repo for agents", "audit this for agents", or "agents keep making the same mistake". For a public website or docs site use agent-ready-site./agent-ready-siteFor a public website or docs site: implements agent-readiness from Mintlify Agent Score, AFDocs, Is Agentic, Is It Agent Ready, or url-discovery-bench reports, or from server logs of agents 404ing on guessed URLs. Use when asked to "make our site agent-ready", "improve Agent Score", "fix llms.txt coverage", "agents keep 404ing on our docs", or when a pasted scorecard is the brief. For a codebase's guardrails, AGENTS.md and verification use agent-ready-repo./agent-skills-creatorCreates and improves portable Agent Skills with a validator, routing scenarios, and evidence-based keep, cut, merge, or retire decisions. Use when asked to "write a skill", "update all skills", "audit my SKILL.md", "remove redundant instructions", or fix skill triggering./agents-mdAudits and edits agent instruction files, verifies repository commands, and migrates repositories to AGENTS.md as the single shared source. Use when asked to "improve my AGENTS.md", "migrate CLAUDE.md to AGENTS.md", or make instructions work across agents./app-verificationBuilds and maintains a repo's own verification harness (verify CLI, doctor, worktree isolation, feature map, seed data) and a reproduce-first bug handoff. Use when asked to "build a verification harness", "add a doctor command", "prove every feature still works", or "reproduce this bug report"./autoshipRuns a changesets npm release through the version PR, CI publish, and registry verification. Use when asked to "release this package", "autoship", "merge Version Packages", or diagnose a release that did not publish.Other plugins' skills for the same job