All skills
mblode avatar

/typography-audit

@59baecd
by Matthew Blodemblode/agent-skills134 stars
12

Audits font loading, type scales, measure, spacing, OpenType, and rendered punctuation with 78 scoped rules. Use when asked to "audit typography", "fix the fonts", or "review my type system". For a new visual direction use ui-design Direction; for general UI defects use ui-design Audit.

Use this Skill: https://skilld.dev/gh/mblode/agent-skills/typography-audit

This session only. Nothing lands on disk.

rulesspacing-letterspacing-body.md

≈345 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Never Letterspace Body Text

Adding letter-spacing to body text destroys the carefully designed spacing built into the font's metrics. Professional typefaces are spaced for optimal readability at text sizes. The only exceptions are very small captions, where slight positive tracking aids legibility, and display-size lowercase.

If small text is hard to read, the fix is a larger font size, not tracking. Tracking does not buy back legibility lost to size, and anything below 12px fails readers with low vision and is unreadable at arm's length on a high-density phone. Keep 12px as the floor, and reserve it for non-essential text (a photo credit, a legal footnote), never for content a reader has to act on.

Incorrect (letterspacing applied to body):

body {
  letter-spacing: 0.05em; /* disrupts natural rhythm */
}

p {
  letter-spacing: 1px; /* even worse */
}

Correct (no letterspacing on body):

body {
  letter-spacing: normal;
}

/* Only small non-essential text may benefit from slight tracking */
.photo-credit {
  font-size: 12px;
  letter-spacing: 0.02em;
}

Remember: kerning adjusts space between specific letter pairs; letterspacing (tracking) adjusts uniform space between all letters. They are different tools.

Source: SKILL.md on GitHub

1 warning9d5 checks · Risk SAFE
  • Gen Agent Trust Hub9d

    The typography-audit skill is a comprehensive and secure set of rules for auditing web typography. It provides guidelines for font selection, sizing, and layout through static markdown files. No malicious code, exfiltration attempts, or security vulnerabilities were detected.

  • Socket9d

    No alerts

  • Snyk9d

    Risk: LOW · No issues

  • Runlayer6mo

    2/92 files flagged

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 59baecd. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated last week

README badge

README badge for mblode/agent-skills/typography-audit