Skip to content
SkillModel-led2,718 tokens in use

Better Typography

Sets and reviews how text renders, from the type scale and line-height to font features, wrapping, truncation, punctuation and 16px mobile inputs.

12,497 stars on the repository MIT Licensejakubkrehel/skills · skills/better-typography
npx skills add jakubkrehel/skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Better Typography costs

29tokens idle
2,718tokens in use
6,107tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Fair
  • Frontmatter8/15
  • Structure9/25
  • Examples3/15
  • Output10/15
  • Size15/15
  • Resources13/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity96
  • Maintenance52
  • Community48
  • Maturity24
  • Momentum40

Better Typography is an agent skill that sets and reviews type in a web project. It covers the type scale with semantic names, line-height by role, letter-spacing by size, a 60 to 75 character measure, tabular numbers, deliberate text wrapping, truncation with a way back and typographic punctuation.

Fixes are written in the project’s styling system, and a cheat sheet gives the Tailwind form of each CSS declaration with no obvious utility. It never proposes a new typeface unless the task asks for a type change.

What You Get

  • A type scale with role-based names, descending heading sizes and line-height by role: 1.1 for display, 1.2 to 1.3 for headings and 1.5 to 1.6 for body
  • Wrapping rules using text-wrap balance for headings, pretty for paragraphs, overflow-wrap and nowrap for labels
  • Font loading and variable-font guidance that prefers CSS properties such as font-weight and font-variant-numeric over raw feature settings
  • Truncation recipes, smart punctuation substitutions, underline and selection styling, and language and bidi handling
  • A Tailwind cheat sheet and a detection table of patterns such as px line-height, balance on paragraphs and justify in app UI

Common Use Cases

  • Fixing iOS Safari zoom on input focus by holding inputs at 16px
  • Replacing px line-heights and leading-none on wrapping descriptions with unitless values
  • Making timers, prices and numeric columns stop shifting with tabular-nums
  • Cleaning up straight quotes, double hyphens and three dots in rendered strings

What Makes It Unique

It draws a hard line between measured values and taste, so a review reports only what breaks the project’s own scale. For the iOS input zoom problem it offers two fixes that look different, sizing up on mobile or scaling a 16px input with a transform, and asks which one the design wants.

Under The Hood

The skill is a SKILL.md with seven reference files for choosing fonts, a CSS cheat sheet, details and accessibility, reporting, spacing and sizing, variable fonts and OpenType, and wrapping and punctuation. It has no scripts. The agent reads your styles and markup, and with a browser it compares computed values and resizes the viewport with real content to catch wrapping and truncation. A review leaves files untouched, and edits happen when you ask for fixes.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers