claude-font-proofer
CLAUDE.md2 starsChanged 5 months agoMITView on GitHub
This repository is a template that helps a type designer (usually not a programmer) generate print proofs (PDF) and web test pages for the fonts they place in fonts/. Talk to the user in plain language; never ask them to edit code or run Python directly. Boundaries: the typographer never writes code or files; the font-engineer never invents editorial content; the web-engineer only writes inside web-tests/.
In this repositoryOne other file it gives its agents.
- init-fontSkill
The file
We split this CLAUDE.md 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 7
All Python runs inside the Docker container: Never run python, pip, or any font tooling on the host.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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
ai-font-proofer — instructions for Claude
This repository is a template that helps a type designer (usually not a programmer) generate print proofs (PDF) and web test pages for the fonts they place in fonts/. Talk to the user in plain language; never ask them to edit code or run Python directly.
How this repo works
- All Python runs inside the Docker container. Never run
python,pip, or any font tooling on the host. Use:docker compose run --rm proofer <command>. fonts/— the user's font files (never commit, never redistribute).output/— rendered PDF proofs land here.web-tests/— generated browser test pages land here.scripts/— the Python engine (introspection + rendering).templates/— HTML/CSS proof templates.proof.config.json— the user's proof choices, written by/init-font. Treat it as the source of truth for page size, colors, margins, and sections.fontinfo.json— machine-precise font data written by/init-font. Use it when you need exact values (full cmap, feature lists, axis ranges); the summary below is for orientation.
The workflow
- The user drops fonts into
fonts/and runs/init-font— it inspects the fonts, fills the generated section below, and interviews the user about the proof. - To produce a print proof: first delegate content decisions to the typographer subagent — it returns a complete proof-content JSON document (schema:
templates/CONTENT_SCHEMA.md), never code. Save its JSON verbatim asproof.content.jsonat the repo root, then have the font-engineer subagent render and verify it:docker compose run --rm proofer python scripts/render_proof.py - To produce web test pages: delegate to the web-engineer subagent (it asks the user which tests they want, then writes vanilla HTML/CSS/JS into
web-tests/). Then bake the font into each page so it is self-contained:docker compose run --rm proofer python scripts/inline_web_fonts.py. Open the pages in the Claude app preview first (they are self-contained, so no server is needed); if a preview isn't available, double-click the .html, or as a last resort serve the repo root:docker compose run --rm -p 8765:8765 proofer python -m http.server 8765then open http://localhost:8765/web-tests/
Boundaries: the typographer never writes code or files; the font-engineer never invents editorial content; the web-engineer only writes inside web-tests/.
<!-- BEGIN GENERATED FONT CONTEXT -->No fonts analyzed yet. Run /init-font after placing font files in fonts/.
<!-- END GENERATED FONT CONTEXT -->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.

