agentleFS
L3DigitalNetL3DigitalNet/Claude-Code-Plugins/CLAUDE.md

Claude-Code-Plugins

CLAUDE.md8 starsChanged 2 months agoMITView on GitHub

Session startup: Agent Handoff injects state through the shared repo-local SessionStart hook. Branch workflow: Direct commit to main. No testing branch. Plugin releases are manual — bump plugins/<name>/.claude-plugin/plugin.json and its matching .claude-plugin/marketplace.json entry, then commit, tag <name>/vX.Y.Z, push, and gh release create. See BRANCH_PROTECTION.md for full rules. Document layout (read on demand): Use the repo-local agent-handoff skill at session startup and closeout. Do not reread state already injected by SessionStart. Keep project knowledge inside this repository and store credential references…

  • Commits and pushes

The file

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

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Use the repo-local agent-handoff skill at session startup and closeout.

    line 25
  2. Distinctive:

    Check formatting over exactly that scope, with Git as the corpus authority:

    line 44
  3. Very specific:

    Never check or write with a bare .: it reaches undeclared languages and Git-excluded scratch.

    line 56
  4. Distinctive:

    Never lint a bare recursive glob: it descends into any independent Git repository checked out below this one.

    line 64
  5. Distinctive:

    Run the enabled checks before claiming completion.

    line 66

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

Session startup: Agent Handoff injects state through the shared repo-local SessionStart hook.

Branch workflow: Direct commit to main. No testing branch. Plugin releases are manual — bump plugins/<name>/.claude-plugin/plugin.json and its matching .claude-plugin/marketplace.json entry, then commit, tag <name>/vX.Y.Z, push, and gh release create. See BRANCH_PROTECTION.md for full rules.

Document layout (read on demand):

  • docs/handoff/state.md — live state + active incidents (auto-injected, do not read directly)
  • docs/handoff/deployed.md — deployment truth + what-remains
  • docs/handoff/architecture.md — repo structure + plugin design principles + full CLAUDE.md detail
  • docs/handoff/credentials.md — credential surfaces
  • docs/handoff/conventions.md — pattern library (Phase 5 deferred)
  • docs/handoff/sessions/ — monthly session logs (grep by date)
  • docs/handoff/bugs/ — per-file bug KB (grep by service or tag)
  • docs/handoff/specs-plans.md — pointer into docs/plans/
  • per-plugin tests: plugins/<plugin>/tests/ (frameworks by language per docs/handoff/conventions.md TEST-001)
<!-- prettier-ignore-start --><!-- BEGIN project-standards:agent-handoff --><!-- markdownlint-disable MD025 -->

Agent Handoff

Use the repo-local agent-handoff skill at session startup and closeout. Do not reread state already injected by SessionStart. Keep project knowledge inside this repository and store credential references only, never values.

<!-- markdownlint-enable MD025 --><!-- END project-standards:agent-handoff --><!-- prettier-ignore-end --><!-- prettier-ignore-start --><!-- BEGIN project-standards:markdown-tooling --><!-- markdownlint-disable MD025 -->

Markdown and structured-text tooling

Prettier owns physical formatting and markdownlint owns Markdown structure. Do not add overlapping tools.

Enabled checks: format, lint. Markdown scope: **/*.md. Structured-config scope: **/*.json, **/*.jsonc, **/*.yml, **/*.yaml. Lint additionally skips generated directories: .pytest_cache/**, .ruff_cache/**, .venv/**, node_modules/**.

Check formatting over exactly that scope, with Git as the corpus authority:

git ls-files -z -- ':(glob)**/*.md' ':(glob)**/*.json' ':(glob)**/*.jsonc' ':(glob)**/*.yml' ':(glob)**/*.yaml' | xargs -0 -r npx prettier --check --

Without Git, bound the same scope by glob instead:

npx prettier --check --no-error-on-unmatched-pattern -- '**/*.md' '**/*.json' '**/*.jsonc' '**/*.yml' '**/*.yaml'

Never check or write with a bare .: it reaches undeclared languages and Git-excluded scratch.

Lint Markdown structure over the same Git-tracked scope:

git ls-files -z -- ':(glob)**/*.md' ':(glob,exclude).pytest_cache/**' ':(glob,exclude).ruff_cache/**' ':(glob,exclude).venv/**' ':(glob,exclude)node_modules/**' | sed -z 's|^|:|' | xargs -0 -r npx markdownlint-cli2 --no-globs

Never lint a bare recursive glob: it descends into any independent Git repository checked out below this one.

Run the enabled checks before claiming completion.

<!-- markdownlint-enable MD025 --><!-- END project-standards:markdown-tooling --><!-- prettier-ignore-end -->

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.