typeset

Improves typography by fixing fonts, hierarchy, sizing, weight, readability, and WCAG contrast in websites and web apps.

Updated Jan 22, 2025
One-click install
npx skills add https://github.com/SL-A-SH/my-portfolio --skill typeset-sl-a-sh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typeset
Source: https://github.com/SL-A-SH/my-portfolio/tree/main/.claude/skills/typeset
Command: npx skills add https://github.com/SL-A-SH/my-portfolio --skill typeset-sl-a-sh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generic, inconsistent, or poorly structured typography that makes text feel accidental, hard to read, and out of sync with brand personality — this Skill converts default-looking type into intentional, polished typography that improves readability and communication.

Core Features & Use Cases

  • Font selection & pairing: Replace invisible defaults with fonts that match brand voice, limit families to 2–3, and ensure metric-matched fallbacks and efficient loading strategies.
  • Hierarchy & type scale: Establish a modular scale, clear size and weight roles for headings, body, captions, and propose rem- or clamp()-based rules per context.
  • Readability & accessibility: Recommend line-length (ch), line-height, letter-spacing, minimum body size (16px), and WCAG contrast checks to ensure legibility across devices.
  • Weight consistency & performance: Define weight roles, limit loaded weights, and advise semantic token naming for maintainable CSS variables.
  • Use Case: Improve a portfolio or marketing site by defining a 5-step type scale, selecting brand-appropriate fonts, and producing CSS token suggestions to replace default system fonts.

Quick Start

Improve the homepage typography by auditing current fonts and sizes, choosing a 1.25 modular scale, and returning recommended font-family, size, weight, line-height, and CSS token names.

Frequently Asked Questions about typeset

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

FAQPage Schema
How do I establish a modular type scale for my website?

To establish a modular type scale for your website, define a consistent ratio like 1.25 to determine heading and body sizes. This creates clear visual hierarchy using rem- or clamp()-based CSS rules for responsive scaling across devices.

What is the best way to choose and pair fonts for brand voice?

Choosing and pairing fonts for brand voice involves limiting families to 2–3 options that match your brand personality. You should ensure metric-matched fallbacks and efficient loading strategies to replace invisible default system fonts.

How do I improve readability and meet WCAG contrast checks for web text?

Improve readability by setting a minimum 16px body size, adjusting line-length using ch units, and tuning line-height and letter-spacing. Meeting WCAG contrast checks ensures your typography remains legible across all devices.

Can I use this typography skill for marketing pages and web apps?

Yes, you can use this typography skill for marketing pages and web apps. It fixes font choices, hierarchy, and weight consistency to improve readability and clarity wherever default or inconsistent type reduces communication quality.

Why does limiting loaded font weights improve web performance?

Limiting loaded font weights improves web performance by reducing the amount of data the browser must download. Defining specific weight roles and semantic token naming for CSS variables ensures maintainable styles without unnecessary overhead.