typography-skills
AGENTS.md2 starsChanged 4 months agoMITView on GitHub
Entry point for Codex and any agent that reads AGENTS.md. Twenty-one typography skills in skills/, each a self-contained SKILL.md. Plain Markdown with YAML frontmatter — no runtime, no dependencies. When a task involves typography — setting, choosing, scaling, spacing, loading, tokenizing, auditing, or critiquing type — read skills/type/SKILL.md first. It carries the routing table and the conflict hierarchy. Then read the 2–4 skills it points to. Do not read all twenty-one. If invoked as $type or /type, do exactly that.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository21 other files it gives its agents.
- body-text-and-readingSkill
- color-and-icon-fontsSkill
- design-token-generationSkill
- editorial-web-typographySkill
- font-loading-and-performanceSkill
- hierarchy-and-scaleSkill
- international-typographySkill
- microtypographySkill
- motion-typographySkill
- responsive-typographySkill
- typeface-anatomySkill
- typeface-pairingSkill
- typeface-selectionSkill
- type-foundationsSkill
- typeSkill
- typography-accessibilitySkill
- typography-auditSkill
- typography-critiqueSkill
- typography-layout-systemsSkill
- ui-component-typographySkill
- variable-fontsSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
When a task involves typography — setting, choosing, scaling, spacing, loading, tokenizing, auditing, or critiquing type — read …
- Very specific: line 17
If invoked as $type or /type, do exactly that.
- Distinctive: line 86
When making a typographic recommendation:
- Distinctive: line 93
Never claim typography is "accessible" after checking contrast alone — 1.4.3, 1.4.4, and 1.4.12 fail independently.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md — typography-skills
Entry point for Codex and any agent that reads AGENTS.md.
What this repo is
Twenty-one typography skills in skills/, each a self-contained SKILL.md. Plain
Markdown with YAML frontmatter — no runtime, no dependencies.
How to use it
When a task involves typography — setting, choosing, scaling, spacing, loading,
tokenizing, auditing, or critiquing type — read skills/type/SKILL.md first.
It carries the routing table and the conflict hierarchy. Then read the 2–4 skills it
points to. Do not read all twenty-one.
If invoked as $type or /type, do exactly that.
The one rule that matters most
Never emit a bare universal constant. Encode the decision procedure and its inputs.
Wrong:
Body text should always be 16px.Right:
Determine body-text size from the typeface's apparent size, x-height, target
device, reading distance, content density, user needs and available line length.
Treat 16px as a common browser-oriented starting point, not a universal optimum.
Validate readability, zoom behavior, line length and hierarchy in the rendered
context.Conflict resolution
Highest authority first. Full version in skills/type/references/source-hierarchy.md.
- Accessibility standards and browser behavior (WCAG 2.2, MDN, real rendering)
- User and product context
- Thinking with Type → 4. Web Typography → 5. Flexible Typesetting → 6. Detail in Typography → 7. Typographic Systems
- The supporting books
- Style trends and subjective convention
Books teach judgment. Current standards teach implementation. The corpus is 2007–2024; verify anything about CSS, browser support, or font loading against MDN before emitting code. Known-stale corpus claims are flagged inline in the skills.
Routing (short form)
| Task | Skill |
| vocabulary, units, em, leading | type-foundations |
| letterform parts, reading a specimen | typeface-anatomy |
| choosing a font | typeface-selection |
| combining fonts | typeface-pairing |
| type scale, heading sizes | hierarchy-and-scale |
| body copy, measure, line-height | body-text-and-reading |
| fluid type, clamp(), breakpoints | responsive-typography |
| buttons, labels, tables, dense UI | ui-component-typography |
| articles, pull quotes, art direction | editorial-web-typography |
| composition, grid, spatial structure | typography-layout-systems |
| kerning, rag, orphans, punctuation | microtypography |
| variable fonts, axes | variable-fonts |
| animated/kinetic type, transitions, streaming text | motion-typography |
| colour/layer fonts, icon fonts, emoji | color-and-icon-fonts |
| webfont perf, FOUT/FOIT, CLS | font-loading-and-performance |
| contrast, zoom, WCAG | typography-accessibility |
| Arabic, CJK, Indic, bidi, RTL | international-typography |
| tokens, theme config, Style Dictionary | design-token-generation |
| systematic review against criteria | typography-audit |
| taste, "is this good" | typography-critique |
Always co-load: body text → typography-accessibility; webfonts →
font-loading-and-performance; non-English → international-typography.
Output discipline
When making a typographic recommendation:
- State the decision procedure, not just the value.
- Name the inputs that drove it.
- Flag any source conflict you resolved, and which rule won.
- Mark anything you did not verify in a rendered context.
Never claim typography is "accessible" after checking contrast alone — 1.4.3, 1.4.4, and 1.4.12 fail independently.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

