typeset

Improves typography by fixing font choices, hierarchy, sizing, weight, and readability in web interfaces.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/po4yka/blog --skill typeset-po4yka
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typeset
Source: https://github.com/po4yka/blog/tree/main/.agents/skills/typeset
Command: npx skills add https://github.com/po4yka/blog --skill typeset-po4yka

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Web interfaces often ship with generic default fonts, muddy heading hierarchies, and inconsistent sizing that make text hard to read and brands feel indistinct. This Skill audits and systematically improves typography so text becomes clear, consistent, and intentional. ## Core Features & Use Cases - Typography Audit: Evaluates font choices, hierarchy, type scale, readability, and consistency to identify what feels generic or poorly structured. - Systematic Improvement Plan: Establishes modular type scales, weight roles, line-height and letter-spacing rules, and semantic token naming. - Readability & Accessibility Fixes: Enforces 16px minimum body text, 45-75 character line lengths, WCAG contrast, and zoom-friendly rem units. - Use Case: A marketing page uses Inter at arbitrary sizes with weak heading contrast. The Skill replaces the font pairing, builds a 1.25-ratio scale with fluid clamp() headings, and sets max-width: 65ch on body copy. ## Quick Start Ask the AI to run the typeset skill on a specific page or component to audit and improve its typography.

Frequently Asked Questions about typeset

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

FAQPage Schema
How do I fix typography that looks generic on my website?

Audit font choices, hierarchy, sizing, and readability first, then replace invisible default fonts like Inter or Roboto with a pairing that fits the brand. Establish a modular type scale with a consistent ratio such as 1.25 and define clear weight roles.

How to create a clear type hierarchy in CSS?

Use a modular scale with a consistent ratio between levels, covering about five sizes from caption to heading. Combine size with weight, color, and spacing rather than relying on size alone, and keep at least strong contrast between body and heading text.

Should I use fixed or fluid font sizes for my app UI?

Use fixed rem-based scales for app UIs, optionally adjusted at one or two breakpoints, since dense layouts need spatial predictability. Reserve fluid clamp() sizing for headings and display text on marketing or content pages while keeping body text fixed.

What is the ideal line length and body text size for readability?

Keep line lengths between 45 and 75 characters using max-width in ch units, such as max-width: 65ch. Body text should be at least 16px or 1rem, with line-height around 1.5 to 1.7 for body and 1.1 to 1.2 for headings.

How do I prevent layout shift when loading web fonts?

Use font-display: swap together with metric-matched fallback fonts so text renders immediately without shifting when the web font arrives. Also load only the weights you actually use, since each additional weight increases page load time.

When should I not use this typography approach?

Avoid decorative or display fonts for body text and never disable browser zoom or use px instead of rem for font sizes. The goal is clarity and readability, not making text fancier, so skip changes that sacrifice accessibility for style.