All skills
mblode avatar

/typography-audit

@59baecd
by Matthew Blodemblode/agent-skills136 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.

rulesopentype-small-caps.md

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

Use Real Small Caps, Not Pseudo

Real small caps are designed glyphs whose proportions match lowercase letters. Pseudo small caps (shrunken uppercase) look thin and uneven. Enable real ones via font-variant-caps or font-feature-settings, with slight letter-spacing (0.05em). Use them for abbreviations (NASA, HTML) in running text and for subheadings.

Incorrect (pseudo small caps via font-size reduction):

.abbr {
  font-size: 0.8em;
  text-transform: uppercase; /* fake small caps */
}

Correct (real OpenType small caps):

.abbr {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.05em;
}

/* Or using font-feature-settings */
.abbr {
  font-feature-settings: "smcp", "c2sc";
  letter-spacing: 0.05em;
}

Verify the font ships smcp (small caps from lowercase) and optionally c2sc (from uppercase); not all fonts include real small-cap glyphs. Without them the browser fakes small caps by shrinking uppercase, producing the same thin uneven result as doing it by hand.

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 26 minutes ago.

Activeupdated last week

README badge

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