agentleFS
justinzapantajustinzapanta/claude-reliable-kit/CLAUDE.md

claude-reliable-kit

CLAUDE.md1 starsChanged 6 days agoMITView on GitHub

A kit of 10 Claude Code skills (skills/) with stdlib-only Python helpers, release ZIPs (releases/), tests (tests/), and benchmarks (evals/).

The file

We split this CLAUDE.md into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 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.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before every commit: python tools/check.py (unit + lint tests, release ZIP check, quick fuzz.

    line 7
  2. Very specific:

    Before a release: python tools/check.py --full (adds deep fuzz and the 6,000-file stress test).

    line 8
  3. Very specific:

    Keep the README skill catalog, templates/CLAUDE.md, and the "How the skills work together" table in sync with the skills.

    line 21
  4. Distinctive:

    Write ideas from other projects in our own words and credit them in the README.

    line 22
  5. Very specific:

    Every bug fix gets a regression test (see HardeningTests).

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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

Working on Claude Reliable Kit

A kit of 10 Claude Code skills (skills/) with stdlib-only Python helpers, release ZIPs (releases/), tests (tests/), and benchmarks (evals/).

Commands

  • Before every commit: python tools/check.py (unit + lint tests, release ZIP check, quick fuzz; about 1-2 minutes)
  • Before a release: python tools/check.py --full (adds deep fuzz and the 6,000-file stress test); add --repos <dir> to run the real-repository workbench
  • A single test file: python -m unittest tests.test_scripts -v
  • Rebuild release ZIPs after any change under skills/: python tools/package_skills.py, then python tools/package_skills.py --check
  • Install into a sandbox to try changes: python install.py --all --project <scratch-repo> (--dry-run to preview, --uninstall to remove)
  • Benchmark fixture: python evals/fixtures/make_shop_app.py <out-dir> --task <browser|review|impact|tests|noisy|memory> --memory [--claude-md]

Rules

  • Helpers stay standard-library Python 3 with no network access, and every command's output stays bounded (about 1,600 characters by default).
  • Each skill description is at most 200 characters, third person, and includes "Use when"; tests/test_skills.py enforces this and the body-size limit. Descriptions load in every session, so every character costs tokens.
  • Refer to another skill's script as ${CLAUDE_SKILL_DIR}/../<skill>/scripts/<file>.py so it resolves when the kit is installed side by side.
  • Hooks must never break editing: catch every error and exit 0 (LEAN_HOOK_DEBUG=1 re-raises for debugging).
  • Caches live inside .git/ (lean-graph.json, lean-memory.json, task-ledger.json, lean-hook-seen.json, lean-squeeze-stats.json) so they are never committed. Bump VERSION in graph.py whenever parsing rules change.
  • Keep the README skill catalog, templates/CLAUDE.md, and the "How the skills work together" table in sync with the skills.
  • Write ideas from other projects in our own words and credit them in the README; never copy their text or code.
  • Claims about cost or quality need a benchmark run recorded in evals/, with its limits stated.
  • Every bug fix gets a regression test (see HardeningTests). Never write control characters into sources: tests/test_skills.py rejects them (a regex  once became a backspace and silently broke a pattern).

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.