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.

ruleshierarchy-consistent-system.md

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

Define and Document a Type System

Define a consistent set of type styles (sizes, weights, line-heights, colors) and apply them uniformly; avoid one-off changes. Document it so contributors follow, and enforce with CSS custom properties or design tokens.

Incorrect (ad hoc styling throughout):

.page-a h2 { font-size: 28px; font-weight: 700; }
.page-b h2 { font-size: 24px; font-weight: 600; }  /* different from page-a */
.page-c h2 { font-size: 30px; font-weight: 800; }  /* different again */

Correct (systematic type scale):

:root {
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Inter', sans-serif;

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;

  --leading-tight: 1.2;
  --leading-normal: 1.5;
}

h2 {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
  font-weight: 700;
}

Don't obsess over baseline grids on the web. Prioritize consistent font size, line height, and line length over pixel-perfect vertical alignment; accept web fluidity.

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

Activeupdated last week

README badge

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