agentleFS
jpoindexterjpoindexter/typography-skills/AGENTS.md

typography-skills

AGENTS.md1 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 code style.

    Of the AGENTS.md files we read, the 35,266 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.

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
  1. Very specific:

    When a task involves typography — setting, choosing, scaling, spacing, loading, tokenizing, auditing, or critiquing type — read …

    line 12
  2. Very specific:

    If invoked as $type or /type, do exactly that.

    line 17
  3. Distinctive:

    When making a typographic recommendation:

    line 86
  4. Distinctive:

    Never claim typography is "accessible" after checking contrast alone — 1.4.3, 1.4.4, and 1.4.12 fail independently.

    line 93

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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.

  1. Accessibility standards and browser behavior (WCAG 2.2, MDN, real rendering)
  2. User and product context
  3. Thinking with Type → 4. Web Typography → 5. Flexible Typesetting → 6. Detail in Typography → 7. Typographic Systems
  4. The supporting books
  5. 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)

TaskSkill
vocabulary, units, em, leadingtype-foundations
letterform parts, reading a specimentypeface-anatomy
choosing a fonttypeface-selection
combining fontstypeface-pairing
type scale, heading sizeshierarchy-and-scale
body copy, measure, line-heightbody-text-and-reading
fluid type, clamp(), breakpointsresponsive-typography
buttons, labels, tables, dense UIui-component-typography
articles, pull quotes, art directioneditorial-web-typography
composition, grid, spatial structuretypography-layout-systems
kerning, rag, orphans, punctuationmicrotypography
variable fonts, axesvariable-fonts
animated/kinetic type, transitions, streaming textmotion-typography
colour/layer fonts, icon fonts, emojicolor-and-icon-fonts
webfont perf, FOUT/FOIT, CLSfont-loading-and-performance
contrast, zoom, WCAGtypography-accessibility
Arabic, CJK, Indic, bidi, RTLinternational-typography
tokens, theme config, Style Dictionarydesign-token-generation
systematic review against criteriatypography-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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.