better-typography

Reviews and fixes web typography across fonts, spacing, wrapping, and accessibility.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/zomeru/zomlab --skill better-typography-zomeru
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: better-typography
Source: https://github.com/zomeru/zomlab/tree/main/.agents/skills/better-typography
Command: npx skills add https://github.com/zomeru/zomlab --skill better-typography-zomeru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Web interfaces often ship with inconsistent font loading, broken heading hierarchy, poor line lengths, and text that wraps or truncates badly. This Skill provides a systematic set of typography principles and review procedures so text renders legibly and hierarchically across browsers and devices. ## Core Features & Use Cases - Font Selection and Loading: Guidance on typeface categories, pairing, woff2 formats, variable font axes, and OpenType features like tabular numbers and stylistic sets. - Spacing, Sizing, and Wrapping: Type scales, heading hierarchy mapping, line-height and letter-spacing rules, measure caps, text-wrap balance/pretty, truncation, and smart punctuation. - Accessibility Details: iOS input zoom prevention, font smoothing, underline metrics, selection behavior, and bidi handling for mixed-direction text. - Use Case: Ask for a typography review of a React/Tailwind page and receive a findings table with severity, file locations, before/after code, and a Block/Needs changes/Approve verdict. ## Quick Start Review the typography of my landing page components and report any hierarchy, wrapping, or font-loading issues with fixes.

Frequently Asked Questions about better-typography

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix bad typography in a web page?▼

Run a typography review that checks hierarchy, wrapping, measure, and font loading against a defined set of principles. Findings are grouped by principle with severity, file location, before/after code, and a final Block, Needs changes, or Approve verdict.

What font format should I use on the web?▼

Use woff2, which offers Brotli compression and broad browser support. Woff is a fallback only for very old browsers, while ttf and otf are raw desktop formats with no web compression and should not be served.

How do I stop numbers from shifting layout when values change?▼

Apply font-variant-numeric: tabular-nums (the tabular-nums utility in Tailwind) to timers, counters, and prices. Proportional digits have different widths, so equal-width tabular digits keep the layout stable as values update.

Why does iOS Safari zoom in when I focus an input?▼

iOS Safari zooms the page when input text is smaller than 16px, treating smaller text as too hard to read while typing. Set inputs to text-base on mobile (e.g. text-base sm:text-sm) instead of using maximum-scale=1, which breaks pinch zoom elsewhere.

Should I use font-variation-settings or font-weight for variable fonts?▼

Use font-weight, since it keeps working when a non-variable fallback font renders. Reserve font-variation-settings for custom axes like GRAD that have no dedicated CSS property.

What line length is best for readable body text?▼

Cap long-form text around 60-75 characters per line. Any unit works: 65ch measures characters directly, and at 16px body size Tailwind's max-w-xl or max-w-2xl land in the same range.