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.

rulesfont-face-setup.md

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

Correct @font-face Declarations

Each @font-face declaration must map to the same font-family name with distinct font-weight and font-style values. This lets the browser automatically select the correct font file when CSS applies font-weight: bold or font-style: italic.

Incorrect (separate family names per weight):

@font-face {
  font-family: 'MyFont-Regular';
  src: url('/fonts/MyFont-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'MyFont-Bold';
  src: url('/fonts/MyFont-Bold.woff2') format('woff2');
}

h1 { font-family: 'MyFont-Bold'; }  /* manual switching */
p { font-family: 'MyFont-Regular'; }

Correct (single family, weight/style differentiated):

@font-face {
  font-family: 'MyFont';
  font-weight: 400;
  font-style: normal;
  src: url('/fonts/MyFont-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'MyFont';
  font-weight: 700;
  font-style: normal;
  src: url('/fonts/MyFont-Bold.woff2') format('woff2');
}

body { font-family: 'MyFont', sans-serif; }
h1 { font-weight: 700; }  /* browser selects correct file */
p { font-weight: 400; }

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