Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

emil-typography

БесплатноБез исполняемых скриптовНе проверен

Deep, prescriptive guidance for text on the web — font files and formats, variable-font axes and OpenType features, type scales, leading and tracking, line…

freekmurzeот freekmurze★ 1 019 звёзд на GitHub

Об этом скилле

Typography

Nearly everything an interface communicates travels through text, and browsers set text badly by default in predictable ways: lines run too long, digits jitter as they tick, underlines slice through descenders, a fake bold sneaks in when a weight file is missing. The remedies are small and mechanical once you can name them — this skill names them. Context decides which rule applies: a data cell, a hero headline, a form hint and an essay paragraph each deserve their own treatment, so never flatten them into a single recipe.

Stay inside the project's styling idiom. Before proposing any change, identify how the codebase expresses styles — Tailwind utilities, vanilla CSS, CSS Modules, styled-components, StyleX — and phrase every fix in that same idiom. tailwind-map.md translates each declaration in this skill into its Tailwind utility for exactly this purpose. A typography fix is never a justification for bolting a second styling approach onto a codebase.

Reference files

Open the file that matches the problem at hand:

The rules

Files and features

Ship woff2 and nothing else. It carries Brotli compression and every browser that matters accepts it. woff earns a place only when truly ancient browsers are a hard requirement; ttf and otf are uncompressed desktop formats that don't belong on a web server. Loading strategy — preloading, font-display, subsetting — is the project's own decision; this skill takes no position on it.

Forbid synthesized styles. Ask for a bold or italic you never loaded and the browser fabricates one by thickening or slanting the real glyphs. That's an emergency fallback, not a rendering mode you want. Declare font-synthesis: none so a missing file surfaces as an obvious regression instead of a quietly ugly imitation.

Reach for the high-level property before the raw tag. Write font-weight: 620, never font-variation-settings: "wght" 620; font-optical-sizing: auto, never a hand-set "opsz"; font-variant-numeric: tabular-nums, never font-feature-settings: "tnum" 1. High-level properties still do something sensible when a fallback font renders; the low-level ones silently stop working. The escape hatches exist solely for what has no property of its own — a custom axis like Fraunces' "WONK" 1, or a numbered stylistic set like "ss03" 1.

Fixed-width digits on anything that updates. Most fonts draw a narrow 1 and a wide 4, so a live timer, price or counter nudges its neighbors on every tick. font-variant-numeric: tabular-nums gives all digits one width and the jitter disappears.

Hierarchy

Two typefaces cover most products; treat three as the ceiling. Marketing surfaces can afford more voice than product UI, but every added face, weight and size dilutes hierarchy instead of strengthening it. When pairing, chase contrast rather than resemblance — a serif display face over a sans text face signals intent, while two lookalike sans-serifs just look like a version-control accident.

Every size comes from a scale. Define a small fixed set of sizes and treat departures from it as exceptions needing justification; scattered one-off values decay fast as a codebase grows. Solo, generic names such as text-sm are workable if the usage rules are written down. On a team, name steps after roles — text-caption, text-body-lg — because a role name enforces its own usage in a way a size name cannot.

Leading follows role. Display sizes want tight leading, in the neighborhood of 1.1; body copy reads best between 1.5 and 1.6. Always write line-height unitless so it tracks the font size — a hard-coded 24px line-height breaks the moment the size changes.

Tracking follows size. Big display type usually tightens: a touch of negative letter-spacing. Tiny uppercase labels open up: a touch of positive spacing keeps the capitals from clumping. Body text at reading sizes gets neither.

Lines and breaking

Cap the measure. The eye loses its return path on long lines. Hold reading columns to roughly 45–75 characters, with about 65 as the sweet spot — max-width: 65ch states that directly, and Tailwind's max-w-prose is defined as exactly 65ch. A rem-based cap works too; wh

Полный SKILL.md на GitHub

Установить emil-typography в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

font-capabilities.mdline-behavior.mdpolish-and-accessibility.mdscale-and-rhythm.mdtailwind-map.mdtypefaces-and-formats.md

FAQ

Что делает скилл emil-typography?

Deep, prescriptive guidance for text on the web — font files and formats, variable-font axes and OpenType features, type scales, leading and tracking, line length, wrapping and truncation, underlines, selection, form text and WCAG floors, plus a CSS-to-Tailwind lookup. Use when selecting or pairing typefaces, wiring up a variable font, building a type scale, fixing text that wraps or truncates badly, styling links, underlines, text selection, placeholder or caret behavior, or auditing frontend code for typography quality. Triggers on: typography, typeface, fonts, woff2, font formats, variable fonts, opentype, font-feature-settings, font-weight, tabular numbers, letter-spacing, tracking, line-height, leading, type scale, measure, line length, readability, text-wrap, line clamp, truncation, ellipsis, underline, text-decoration, text selection, placeholder, caret, iOS input zoom, font smoothing, antialiased, text contrast, text-box, smart punctuation, drop cap, RTL.

Как установить скилл emil-typography?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл emil-typography запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить emil-typography с