What is the typography scale builder skill?
The typography-scale-builder skill is a single-file SKILL.md from the OneWave-AI skills library. It audits existing type values, picks a scale ratio, sets line-height, tracking and weight per step, defines semantic roles and vertical rhythm, then exports tokens, Tailwind config and CSS and retrofits the codebase.
Typography-scale-builder is a single-file skill from the OneWave-AI skills library, filed under its Design Systems and UI category. Its premise is that products look off because their type is inconsistent long before their colors are bad.
It needs three inputs: the chosen fonts, the product type such as marketing site, dense app UI or editorial, and the target range of devices. If fonts are not chosen, it points you to a companion skill called font-pairing-suggester.
What changes in your agent's output
- Scattered sizes are inventoried and mapped to a small set of roles, such as display, h1 to h4, body, caption and code.
- Every step carries its own line-height, letter-spacing and weight, so a size is never a lone number.
- Marketing sites get fluid
clamp()steps, while dense app UI can keep fixed steps. - The codebase receives
typography-tokens.json, a TailwindfontSizeconfig,typography.cssandTYPOGRAPHY.md. - Unused font weights are dropped so nothing loads that no role uses.
Who the typography scale builder skill is for
Best for
- Codebases with many near-duplicate font sizes and no named roles.
- Teams starting a design system who need type tokens before components.
- Marketing pages that want headings to scale smoothly without breakpoint jumps.
- Projects that will follow with a targeted fix command such as typeset for single pages.
Not for
- Choosing fonts. That is the job of font-pairing-suggester, the companion named in the skill.
- Colors, spacing or motion systems beyond type rhythm.
- Editing live WordPress themes. It rewrites code in your repository.
Use it with UiChemy
The skill outputs CSS and Tailwind tokens for code projects. If your WordPress site needs a new type system in its pages, UiChemy Composer writes HTML, CSS and JS inside WordPress. Click Get Started on uichemy.com.
How to install Typography Scale Builder Skill: Type Roles and Tokens
git clone https://github.com/OneWave-AI/claude-skills.git ~/.claude/skillsThe README says each skill is one SKILL.md with no dependencies and no build step.Clone the library
The README's full-library route is
git clone https://github.com/OneWave-AI/claude-skills.git ~/.claude/skills. For Codex CLI it uses~/.codex/skillsinstead.Or install one skill
For a single skill in Claude Code, the README gives
claude skill install OneWave-AI/claude-skills/typography-scale-builder.Check the tools
The skill's frontmatter allows Read, Glob, Grep, Write, Edit and Bash, so the agent can scan files and write the export files.
Run it
Ask it to build a type system for the project, or use one of its quick commands: audit my typography, make my headings fluid, or retrofit components.
Check that it loaded
Ask 'Audit my typography'. The agent should return an inventory of sizes, line-heights and weights found in the code.
Key features
- Type inventory firstStep one lists every font-size, line-height, letter-spacing and font-weight in the codebase. The example finding is 23 sizes, 9 of them within 2px of each other.
- Base and ratioA 16px body floor for marketing and editorial work, 13 to 14px acceptable for dense app UI, with ratios of 1.125 to 1.2 for UI-heavy products and 1.25 to 1.333 for marketing.
- Fluid by defaultMarketing sites use a
clamp()per step so headings scale between viewport bounds. App UI can use fixed steps. - Per-step companionsLine-height tightens as size grows, from about 1.5 to 1.6 for body to 1.1 to 1.2 at display sizes. Tracking goes negative at display sizes and slightly positive for labels.
- Weight rolesEach font gets named weights for body, emphasis, heading and display, and any loaded weight that nothing uses gets deleted.
- Semantic rolesDisplay, h1 to h4, body-lg, body, body-sm, caption, overline and code. Each role bundles size, line-height, tracking, weight and family into one token.
- Vertical rhythmHeading margins scale with their size, paragraph spacing comes from body line-height, headings use
text-wrap: balanceand prose stays within 65 to 75 characters. - Four export filestypography-tokens.json, a Tailwind fontSize config (v4 uses
@theme), typography.css with role classes, and TYPOGRAPHY.md. - Retrofit with flagsThe inventory is mapped onto roles and replaced in code. Anything that does not map cleanly is flagged as a missing role or drift to delete.
- Fluid floor and ceilingThe
clamp()minimum must stay readable on a 320px phone, and the maximum must not break the layout on an ultrawide screen.
Frequently asked questions
What is the typography scale builder skill?
It is a SKILL.md in OneWave-AI/claude-skills that has an AI coding agent build a complete typographic system: a modular or fluid scale, line-height and tracking per size, weight roles and vertical rhythm. It exports tokens, Tailwind config and CSS, then retrofits the codebase to use them.
How do I install typography-scale-builder?
Clone the repo into your skills folder with git clone, or use the README's single-skill command for Claude Code. The README also shows Codex CLI with a clone into the codex skills folder. Then ask the agent to build a type system for the project.
Does it choose my fonts?
No. It expects the fonts as input and suggests running font-pairing-suggester first if they are not chosen. The skill builds the scale and roles that those fonts live in, including which weights each role uses.
What scale ratio does it use?
It names modest ratios of 1.125 to 1.2 for UI-heavy products and 1.25 to 1.333 for marketing and editorial work. It also limits the system to as few steps as hierarchy needs, saying 7 to 9 roles cover almost any product.
Does it work with Cursor, Codex and Gemini CLI?
The README says its skills follow the Agent Skills open standard and that the same files work in Claude Code, OpenAI Codex CLI, Gemini CLI, Cursor and 30 or more other tools, by pointing the tool's skills directory at the clone.
How is it different from a single-page type fix?
This skill builds a whole system and rewrites the codebase to use roles. For fixing hierarchy on one page inside existing fonts, Impeccable typeset is narrower. For finding hard-coded values after the system exists, use design-token-audit.
What does it output for Tailwind?
A Tailwind fontSize config with size, line-height and tracking tuples per role, and for Tailwind v4 an @theme block. Components then use role classes such as text-h2 instead of arbitrary values like text-[28px].
Does it change a WordPress site?
No. It edits code in your repository. To rebuild pages in WordPress with real HTML, CSS and JS, UiChemy Composer works inside Elementor or Gutenberg. Click Get Started on uichemy.com to try it.


