agentleFS
h5i-devh5i-dev/h5i/CLAUDE.md

h5i

CLAUDE.md673 starsChanged 56 days agoApache-2.0View on GitHub

Large enough that it has filled a disk. The dependency graph carries a browser engine and a patched JavaScript engine, so target/debug runs to tens of gigabytes where target/release is a fraction of it. That is a fact about the workspace and it applies to anyone who builds it. What follows from it depends on the machine, so it is not a repository rule: on a roomy box a dev build is ordinary, and CI builds one on purpose (.github/workflows/test.yaml…

The file

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

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

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If your machine cannot spare the space, this repository ships two opt-in guards that make a release-only checkout stick:

    line 15

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

CLAUDE.md

This workspace's debug build is very large

Large enough that it has filled a disk. The dependency graph carries a browser engine and a patched JavaScript engine, so target/debug runs to tens of gigabytes where target/release is a fraction of it.

That is a fact about the workspace and it applies to anyone who builds it. What follows from it depends on the machine, so it is not a repository rule: on a roomy box a dev build is ordinary, and CI builds one on purpose (.github/workflows/test.yaml runs on throwaway runners, so do not add --release there).

If your machine cannot spare the space, this repository ships two opt-in guards that make a release-only checkout stick:

  1. scripts/no-debug-guard.sh on writes a regular file at target/debug, so cargo stops with "failed to create directory ... File exists" before it compiles anything. off and status do what they say. The file lives under target/, which is ignored, so it never leaves your checkout.
  2. scripts/deny-debug-build.py is a Claude Code PreToolUse hook that refuses dev-profile cargo commands, target-directory redirection, and attempts to remove the guard. It is a script, not a setting: nothing wires it up until you add it to your own .claude/settings.local.json, which is gitignored.

    { "hooks": { "PreToolUse": [ { "matcher": "Bash", "hooks": [
      { "type": "command",
        "command": "python3 \"$CLAUDE_PROJECT_DIR/scripts/deny-debug-build.py\"" } ] } ] } }

With both on, every cargo invocation takes --release, the binary is ./target/release/h5i, and scripts that need it default to that path. Do not work around a "File exists" failure on target/debug: turn the guard off deliberately, or build release.

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.