typography-and-layout
Skill2 starsChanged 4 months agoMITView on GitHub
Typography with intent and composition with rhythm — type pairing, modular scale systems, grids (and when to break them), negative space, and visual hierarchy. Use this skill whenever setting ANY text styles or arranging ANY elements on a surface: choosing fonts, sizing headings, building a landing page or app screen layout, laying out a slide, spacing a dashboard, composing a poster or chart, or when a design "feels cramped", "feels empty", "looks flat", or "the hierarchy is off". Trigger even when the user only says "make this look better" — type and spacing are usually why it doesn't.
In this repository6 other files it gives its agents.
- colorSkill
- critiqueSkill
- design-directionSkill
- generative-motionSkill
- motionSkill
- performance-craftSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Read the design philosophy (design-direction).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Typography & Layout
Typography is most of design: get type and spacing right and a screen looks designed before it has any color or decoration. The failure mode is timidity — small scale jumps, default tracking, uniform spacing — not bad taste.
Workflow
- Read the design philosophy (
design-direction); the type voice comes from there. - Choose faces and pairings with references/type-pairing.md — contrast on exactly one axis, two families maximum.
- Build a modular scale and spacing system with references/scale-and-space.md — sizes, line heights, measure, and the spacing ladder, as tokens.
- Compose with references/composition.md — grid, hierarchy channels, negative space, and the sanctioned ways to break the grid.
- Render at real size and run the
critiqueskill. Type that looks right in code is routinely wrong on screen.
Which reference to load
| Situation | Load |
| Picking fonts, pairing display + text faces, font features | references/type-pairing.md |
| Setting sizes, line-height, measure, spacing ladder | references/scale-and-space.md |
| Arranging a page/screen/slide, hierarchy problems, grids | references/composition.md |
Non-negotiables
- Two font families maximum (a third only for code/data, and it counts if decorative).
- A real scale ratio, and at least one jump ≥ 3× body size somewhere in display contexts (heroes, slides, posters); interfaces cap lower but still need contrast.
- Body measure 45–75 characters; line-height inversely proportional to size.
- Spacing from a ladder (4/8-based), applied asymmetrically: space groups, not elements — more space between sections than inside them, always.
- Tabular numerals (
font-variant-numeric: tabular-numsor a mono) for any column of numbers that can change.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

