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.

rulesdisplay-headline-opentype.md

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

Enable Extra OpenType Features for Headlines

Headlines benefit from OpenType features that distract in body text. On display sizes, add discretionary ligatures (dlig) and swashes (swsh) to the standard body set (kern, liga, clig, calt).

Incorrect (display face stuck on the body feature set):

body, h1, h2 {
  font-feature-settings: "kern", "liga", "clig", "calt";
  /* Headlines never show the dlig/swsh glyphs the display font ships */
}

Correct (extended feature set on headlines only):

body {
  font-feature-settings: "kern", "liga", "clig", "calt";
}

h1, h2 {
  font-feature-settings: "kern", "liga", "clig", "calt", "dlig", "swsh";
}

Enable swashes on specific letters when the font indexes swash variants:

.headline .decorative-letter {
  font-feature-settings: "swsh" 2; /* second swash variant */
}

Only enable features the font supports: unsupported tags are silently ignored but add CSS weight. Never apply dlig/swsh to body text; they hurt sustained reading.

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

Activeupdated last week

README badge

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