educlopez/ui-craft-gemini-typeset
Typography pass covering font choice, modular scale, tracking, leading, weight hierarchy, and micro-typography details. Use when fonts feel generic (default Inter with no reason), the scale is ad hoc, hierarchy is flat, or the user says "fix the typography" / "the text doesn't feel right". Invoke when the user asks for typeset on their UI, or mentions 'typeset' alongside design / UI / frontend work.
This is a copy. The original lives at educlopez/typeset.
npx skills add https://github.com/educlopez/ui-craft --skill typeset
<!-- HARNESS MIRROR — do not edit here. Canonical source: skills/ or commands/. After editing source, copy into cli/assets/<harness>/ and repo-root harness mirrors. -->
Context: this sub-skill is one lens of the broader ui-craft skill. If the ui-craft skill is also installed, read its SKILL.md first for Discovery + Anti-Slop + Craft Test, then apply the specific lens below.
Typeset the UI at $ARGUMENTS. Load the ui-craft skill and read references/typography.md.
Note: typeset is knob-agnostic — typography rules (no ALL CAPS on headings, tracking-tight ≥24px, one body font, etc.) are not tunable.
Apply, in order:
tracking-tight (-0.02em) or tighter for 40px+tracking-wide (+0.06em) + uppercase IS allowed here (the one exception)tabular-nums on every number you align (tables, stats, timestamps, prices)text-wrap: balance on headlines, text-wrap: pretty on body' / "), em dashes (—), en dashes (–), no double hyphens in brand names, between number + unit, and before final short words in headlinesfont-feature-settings or font-variant-* for opt-in features (ligatures, ss01, fractions)′, ″) for units, not quotesIf the UI is technically correct but forgettable, use typography as the weapon. Pick ONE element to carry signature (never two); boldness is typography, not color or decoration:
01, 02), an asymmetric supporting element, a distinctive list marker.Knob gating for amplification (CRAFT_LEVEL):
≤ 4 — skip. Boldness is a craft layer, not a baseline.5-7 — apply the type amplification only. No signature motif unless asked.8+ — type amplification + one signature detail (chosen at /craft first pass per references/craft-intent.md; /polish and /bolder strengthen it — never stack a second).Pre-check: if an accent is already overused or hierarchy is already loud, you don't have a tameness problem — you have a noise problem. Route to /distill (cut) or /colorize (reduce accents) instead.
Output: edit code directly. Print the Review Format table. Call out the single highest-impact change (usually: "font choice" or "tracking-tight on hero").
Next step: /polish — micro-details land best right after the type system is set (rung 1).
Take educlopez/ui-craft-gemini-typeset from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.