Agent skill

Typography Scale Builder Skill: Type Roles and Tokens

A skill that has your AI coding agent audit every font size in your code, then build a type scale with roles, fluid steps and rhythm, exported as tokens, Tailwind and CSS.

Install
git clone https://github.com/OneWave-AI/claude-skills.git ~/.claude/skills
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

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 Tailwind fontSize config, typography.css and TYPOGRAPHY.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.