Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

better-typography

Skill by jakubkrehel

Sets and reviews how text renders, covering type scale, spacing, font features, wrapping, truncation and punctuation. It is written for developers and designers working on web interface styling.

  • Score 94
  • 14k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install better-typography

Built from the published package, never by AI.

git clone --depth 1 https://github.com/jakubkrehel/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/better-typography ~/.claude/skills/better-typography

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install better-typography in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

better-typography is an agent skill that sets and reviews text rendering. It covers the type scale and spacing, font loading and features, line-height, letter-spacing, measure, wrapping, truncation, tabular numbers, underlines, mobile input sizing, and typographic punctuation. The skill writes each fix in the project's styling system. A cheat sheet gives the Tailwind form of each declaration that has no obvious utility.

The skill states some values as exact checks, such as unitless line-height, weight 400 or heavier below 18px, and a 60 to 75 character measure. It treats letter-spacing, pairing and scale ratios as heuristics to report only when they break the project's own scale. It hands off words, semantic headings, contrast, layout, and motion to other named skills. The source describes it as suited to teams and solo developers who want consistent type rules.

Written from the project's SKILL.md and checked against it.

What it can do

  • Type scale reviewChecks sizes, line-heights and weights against a defined scale and reports deviations.
  • Font loading checksFlags weights or styles the loaded font files do not ship, which browsers would otherwise synthesize.
  • Wrapping and truncation fixesApplies text-wrap, overflow-wrap, white-space and line-clamp rules to headings, paragraphs and labels.
  • Tabular numbersSets tabular-nums on timers, counters, prices and numeric table columns so digits keep one width.
  • Smart punctuationConverts keyboard stand-ins such as three dots or double hyphens into typographic characters in rendered text.
  • Mobile input sizingOffers two ways to keep inputs at 16px on mobile so iOS Safari does not zoom the page.
  • Language and bidi checksChecks lang and dir settings and wraps mixed-direction values in bdi.

Try asking

  • Review the typography in this CSS file and list line-height and weight problems.
  • Fix text truncation on these product cards so long titles clamp to three lines.
  • Add tabular-nums to the timer and price columns in this dashboard component.

Good to know

  • Some checks cannot run without a browser, and the skill asks for them to be reported as not verified.
  • The skill does not propose a new typeface unless the task asks for a type change.
  • Chromium ignores text-wrap: balance past six lines, according to the source.
  • For mobile input sizing, the skill asks which fix the design wants before applying one.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/better-typography/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md11 KB
  • agents/openai.yaml111 B
  • choosing-fonts.md1 KB
  • css-cheat-sheet.md1 KB
  • details-and-accessibility.md3 KB
Show all 9 files
  • reporting.md1 KB
  • spacing-and-sizing.md2 KB
  • variable-fonts-and-opentype.md2 KB
  • wrapping-and-punctuation.md2 KB

Alternatives to better-typography

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

better-typography: common questions

Does better-typography choose new fonts for my project?

No. The source says it never proposes a new typeface, paid or free, unless the task asks for a type change.

Does it cover color contrast or heading structure?

No. The source assigns contrast checks to better-colors, whether contrast passes to better-accessibility, and semantic heading structure to better-accessibility.

Which font size should body text start at?

The source says to start long-form body text at 16px, the browser default, and to use rem for font-size so the reader's browser setting still applies.

How do I install better-typography?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is better-typography free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is better-typography safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to better-typography?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

better-typography Install

Add to stack

Loading.