pdfmux
CLAUDE.md82 starsChanged 9 months agoMITView on GitHub
PDF extraction that checks its own work. Multi-pass pipeline: fast extract → audit → selective OCR → merge. When editing any file in site/, you MUST follow the design system. Key rules: - No raw hex/rgb/hsl colors outside :root — use CSS custom properties - No inline font-family — use var(--font) or var(--mono) - Border-radius: only 4px, 8px, or 10px - Transitions: only 0.15s duration - No external CSS or JS — site is self-contained HTML - Max content width:…
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Read design-system/DESIGN_SYSTEM.md for all visual rules
- Very specific: line 31
Read design-system/SKILL.md for agent-specific instructions
- Very specific: line 32
After changes, run python3 design-system/lint.py site/ and fix all violations
- Very specific: line 35
No raw hex/rgb/hsl colors outside :root — use CSS custom properties
- Very specific: line 36
No inline font-family — use var(--font) or var(--mono)
- Distinctive: line 39
No external CSS or JS — site is self-contained HTML
≈ “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
pdfmux — Agent Instructions
Project
PDF extraction that checks its own work. Multi-pass pipeline: fast extract → audit → selective OCR → merge.
- Language: Python 3.11+
- Build: hatchling (pyproject.toml)
- Lint: ruff
- Test: pytest
- Site: static HTML in
site/(no build step)
Commands
# Python
ruff check src/ tests/ # lint
ruff format src/ tests/ # format
pytest -v # test
# Site
python3 design-system/lint.py site/ # design system lint
npx serve site/ -l 3456 # local dev serverDesign System
When editing any file in site/, you MUST follow the design system.
- Read
design-system/DESIGN_SYSTEM.mdfor all visual rules - Read
design-system/SKILL.mdfor agent-specific instructions - After changes, run
python3 design-system/lint.py site/and fix all violations
Key rules:
- No raw hex/rgb/hsl colors outside
:root— use CSS custom properties - No inline
font-family— usevar(--font)orvar(--mono) - Border-radius: only
4px,8px, or10px - Transitions: only
0.15sduration - No external CSS or JS — site is self-contained HTML
- Max content width:
720px
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.

