typography

typography is a skill for Claude Code from dkadts/landing-kit-building. It costs 67 tokens per session (1,640 once invoked), scanned A, original, MIT.

A typography checker for English text that adjusts HTML so short words do not end a line and paragraphs avoid isolated first or last lines.

In plain words
What is it for?
Use it on completed sections or a full HTML site before or after builds, audits, and copy changes.
Why use it?
It prevents common print and layout problems that make headings and paragraphs look awkward after rendering.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it on completed sections or a full HTML site before or after builds, audits, and copy changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dkadts/landing-kit-building/typography
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dkadts/landing-kit-building --skill typography
Clone the repo
git clone --depth 1 https://github.com/dkadts/landing-kit-building

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for typography

README.md
[![agentmods](https://agentmods.dev/badge/skills/dkadts/landing-kit-building/typography.svg)](https://agentmods.dev/skills/dkadts/landing-kit-building/typography)
Your own site
<a href="https://agentmods.dev/skills/dkadts/landing-kit-building/typography"><img src="https://agentmods.dev/badge/skills/dkadts/landing-kit-building/typography.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.01640
Opus 5 $0.00034 $0.00820
Sonnet 5 $0.00013 $0.00328
Haiku 4.5 $0.00007 $0.00164

Measured 8d ago against content hash 22c7cb38f8cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

typography scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/typography/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/typography

Standalone skill. Takes a completed section (or the full site/index.html) and enforces print typography rules on all English text. Callable anytime — before /audit, after copy edits, whenever the source text changed.

Also the single source of truth for the short-word list that /build (pre-save pass) and /audit (post-build check) both reference.

Language scope: English only. Do not run on any other language.

When to use

  • After /build writes a new section — /build calls this automatically as its pass 4b.
  • After any copy edit in inbox/texts/ that triggered a rebuild of a section.
  • Standalone: user says "fix the typography on the hero" or "re-run typography on the whole site".
  • Before /audit as a safety pass.

Requirements

  • site/index.html exists (or a specific section HTML file was provided).
  • Content is English. If the copy is in another language, refuse and report which language was detected.

The rules

Rule 1 — Hanging short words at line end

A rendered line MUST NOT end on any of these words. Tie the word to the following word using &nbsp; so they wrap together.

Canonical short-word list (English):

# Articles
a, an, the

# Coordinating conjunctions
and, or, but, nor, for, so, yet

# Subordinating conjunctions & connectors
if, as, at, by, in, on, of, to, up, via, with, into, onto, from, than, then, when, where, while, before, after

# Auxiliary and short verbs
is, am, are, was, were, be, do, does, did, has, have, had, can, will, would, could, should

# Pronouns (short)
I, we, he, she, it, you, they, my, our, his, her, its, your, their, this, that

# Negations & quantifiers (short)
no, not, all, any

Case-insensitive matching, but preserve the original case when rewriting.

Rule 2 — Dashes never end a line

-, , must attach to the following word: text&nbsp;— word (nbsp before the dash, regular space after). This is opposite direction from Rule 1 — dash pulls the next word up.

Read the full file on GitHub · 138 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 138 lines · 67 tokens per session scan A 22c7cb38f8cc

Subscribe to this mod's changes

typography is a skill published in the GitHub repository dkadts/landing-kit-building (2 stars, last pushed 19d ago), licensed MIT. It adds 67 tokens to every session and 1,640 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

frontend-design

Visual and UX design quality for interfaces: hierarchy, spacing rhythm, typographic scale, a restrained color system, layout composition, and polished states. The taste layer above frontend architecture and a11y.

byerlikaya/claude-starter-kit · 44 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

agustinusnathaniel/nextarter-tailwind · 44 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for…

bravodev-hub/appointme · 90 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

agustinusnathaniel/nextarter-tailwind · 77 tokens

options

Present multiple design options as a vertical stack of anchored turns.

asgeirtj/system_prompts_leaks · 13 tokens

qa-test-planner

Generate comprehensive test plans, manual test cases, regression test suites, and bug reports for QA engineers. Includes Figma MCP integration for design validation.

davila7/claude-code-templates · 34 tokens