agentleFS
NameetPNameetP/pdfmux/CLAUDE.md

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
  1. Very specific:

    Read design-system/DESIGN_SYSTEM.md for all visual rules

    line 30
  2. Very specific:

    Read design-system/SKILL.md for agent-specific instructions

    line 31
  3. Very specific:

    After changes, run python3 design-system/lint.py site/ and fix all violations

    line 32
  4. Very specific:

    No raw hex/rgb/hsl colors outside :root — use CSS custom properties

    line 35
  5. Very specific:

    No inline font-family — use var(--font) or var(--mono)

    line 36
  6. Distinctive:

    No external CSS or JS — site is self-contained HTML

    line 39

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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 server

Design System

When editing any file in site/, you MUST follow the design system.

  1. Read design-system/DESIGN_SYSTEM.md for all visual rules
  2. Read design-system/SKILL.md for agent-specific instructions
  3. 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 — 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: 720px

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.