Better Typography logo

Better Typography

Community
hsynozdamar-byte
better-typography

Type that renders well: scale, line-height, tracking, measure, wrapping, truncation, fonts. Use when setting or reviewing text styles, choosing fonts, or fixing text that wraps or truncates badly.

Overview

Publisherhsynozdamar-byte
Repositoryclaude-skills-edited
Skill namebetter-typography
Stars
63
Forks
1
Bundled files
3
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 3 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hsynozdamar-byte on GitHub. Read the source before you install it.

Installation

Install the Better Typography AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-typography
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hsynozdamar-byte/claude-skills-edited.git /tmp/claude-skills-edited
mkdir -p .claude/skills
cp -r /tmp/claude-skills-edited/skills/better-typography .claude/skills/better-typography
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Better Typography in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Better Typography on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Better Typography is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Typography

Mostly restraint: a small scale, comfortable spacing, enough contrast. A label, a table cell, a headline and a paragraph don't share one set of rules. Review the rendered page, not just the code; bad wrapping and truncation only show at real content lengths.

Write fixes in the project's styling system. Never introduce a new or paid typeface unless the task asks for a type change.

Copy belongs to better-writing, heading semantics to better-accessibility, RTL layout to better-layout, contrast to better-colors.

Scale and roles

A small named scale, deviated from rarely. On a team, name by use (text-body-sm), not just size. Starting point for a product UI:

RoleSizeLine-heightWeight
Display36px1.1600
Title24px1.2600
Heading18px1.3600
Body16px1.5400
Caption13px1.4400
  • Emphasis inside a role is one weight step (400 to 500), not a size change.
  • Heading levels map to descending steps; a child never outweighs its parent. Pick the element for semantics, then style it.
  • Long-form body starts at 16px. UI text: 14px for inputs and menus, 13px captions, rarely below 12px.
  • At most about three fonts. Pair for contrast (serif display over sans body), not near-twins.
  • Below 18px stay at weight 400+; weights 100 to 300 are for 28px+ display only.

Spacing

  • Line-height unitless: headings about 1.1, body 1.5 to 1.6. Anything wrapping to 3+ lines needs at least 1.4, even in a tight card.
  • Letter-spacing: large headings slightly negative (-0.02em), small uppercase labels positive (0.05em), body none.
  • Measure: cap long-form text at 60 to 75 characters (65ch, or max-w-xl/max-w-2xl at 16px).
  • text-box: trim-both cap alphabetic removes the font's built-in top/bottom space so text centers in buttons and badges (Chromium 133+, Safari 18.2+; progressive enhancement).

Wrapping and truncation

  • text-wrap: balance on headings, pretty on descriptions, neither on long-form text.
  • overflow-wrap: break-word where URLs or IDs could escape; nowrap on labels and badges.
  • Truncate with truncate or line-clamp-*, and keep the full value reachable (tooltip or expanded view) when it matters.
  • text-align: start in interfaces; justify only in specific editorial layouts.

Rendering details

  • font-variant-numeric: tabular-nums on any value that changes (timers, counters, prices) so it doesn't shift layout.
  • Prefer CSS properties over raw tags: font-weight: 650 not "wght" 650, tabular-nums not "tnum". Properties survive a non-variable fallback; raw tags only for custom axes ("GRAD") and stylistic sets ("ss01").
  • Load the weights and styles the design uses, or the browser synthesizes fake ones. Set font-synthesis: none only after checking every bold, italic and small-cap form exists across the fallback stack.
  • .woff2 on the web.
  • antialiased (both smoothing properties) once on the root, not per component.
  • Underlines: text-underline-position: from-font and text-decoration-thickness: from-font, skip-ink: auto. Only the color animates reliably; for other underline animations, draw it as a separate element. Dotted underline hints at extra info (abbreviations, defined terms).
  • Store text in natural case and use text-transform. Smart punctuation in rendered text: curly quotes (straight in code), en dash for ranges, the single … character,   in 16 px.
  • iOS Safari zooms on inputs under 16px. Either text-base sm:text-sm (looks different on mobile) or keep 16px and scale() it down (identical everywhere, more code). Ask which the design wants.
  • Set lang and dir where language or direction changes; isolate mixed-direction values with <bdi>. A 3+ line paragraph aligns to its own script inside an opposite-direction UI.
  • Keep text selectable. user-select: none only on drag or gesture surfaces.

Load references/fonts-and-recipes.md for choosing typefaces, variable font axes, OpenType tags, the iOS input scale recipe and a CSS-to-Tailwind map.

Reporting (standalone)

HIGH: unreadable text, or content truncated with no way to recover it. MEDIUM: broken type system or heading hierarchy. LOW: isolated polish. One row per root cause: Severity, Location (path:line), Before, After, Why. Check computed heading sizes descend, line-height and measure, and truncation at realistic string lengths; mark what you couldn't run Not verified. End with Block if any HIGH, else Approve.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Better Typography AI skill do?

Type that renders well: scale, line-height, tracking, measure, wrapping, truncation, fonts. Use when setting or reviewing text styles, choosing fonts, or fixing text that wraps or truncates badly.

Why use Better Typography on TypingMind?

Because you install it once and use it with any model. Better Typography is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Better Typography in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hsynozdamar-byte/claude-skills-edited/tree/main/skills/better-typography. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Better Typography?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Better Typography?

As many as you like. As long as a model supports skills, you can use Better Typography with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Better Typography AI skill free?

It is published on GitHub by hsynozdamar-byte. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇