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.
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-typographyRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jakubkrehel/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/better-typography ~/.gemini/antigravity-cli/skills/better-typographyAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →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.
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.
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.
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.
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.
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.
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.
