agentleFS
chrisalehmanchrisalehman/bionic/CLAUDE.md

bionic

CLAUDE.md9 starsChanged 57 days agoMITView on GitHub

Standing instructions for every agent working in this repo. - Install/update: the plugin comes from this repo's own marketplace — claude plugin marketplace add <path-or-repo> once, then claude plugin install bionic@bionic. That is tier 1 and it is fully live on its own. /bionic:setup is tier 2 (dependencies, shell environment, permission profile), idempotent and consented per item; /bionic:doctor diagnoses without changing anything and /bionic:remove tears the footprint back down. The bootstrap installer and its reset script were deleted at epic-17…

The file

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

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Test suite: bash tests/run.sh — runs every hermetic suite.

    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

bionic

Standing instructions for every agent working in this repo.

Build & test

  • Install/update: the plugin comes from this repo's own marketplace — claude plugin marketplace add <path-or-repo> once, then claude plugin install bionic@bionic. That is tier 1 and it is fully live on its own. /bionic:setup is tier 2 (dependencies, shell environment, permission profile), idempotent and consented per item; /bionic:doctor diagnoses without changing anything and /bionic:remove tears the footprint back down. The bootstrap installer and its reset script were deleted at epic-17 W5 — a change to a hook or a skill is not live for a session until the plugin the CLI resolved carries it.
  • Test suite: bash tests/run.sh — runs every hermetic suite. Before a commit, the suites the change affects are green. The full suite runs once, on the head being released; after that pass a later change is proved by its affected suites, and a second full run is needed only when the change cannot be bounded: a merge from outside the run, or a changed file the file-to-suite map answers with every suite or with none.

SDLC

Non-trivial engineering goes through the canonical-sdlc skill (skills/canonical-sdlc/SKILL.md) — declare intent · rigor · scale before starting. Docs and chores stay out.

  • Deletion is not a task. Deleting dead code the user has ruled on is a few-line commit by the orchestrator, not a dispatched task. Size the work before you pick the ceremony.
  • Approval steps are gate acts. Ready tasks dispatch up to capacity without asking. A step that needs the user's explicit approval, a release among them, waits for the user, and it is never put to the user without the test results.
  • Late fixes get a fresh run. A fix found after a run has closed becomes a fixit in a fresh canonical-sdlc run. It is never bolted onto the closed run, and a known defect blocks the push.

Content

bionic is open source for a general audience. No consumer-project names, tools or incidents appear in anything it ships.

Versioning

Versioning follows semver from 1.9.0 on:

  • MAJOR for a change that breaks a documented contract a user or project already relies on: a removed verb or field, a canonical_sdlc_version bump, an artifact a user must migrate.
  • MINOR for new capability or a behaviour a user notices, including a newly refused action or an upgrade step.
  • PATCH for a fix within existing behaviour.

CHANGELOG.md opens with the same lines; tests/docs-pins.test.sh §SEMVER fails when the two disagree.

Path-scoped rules

See .claude/rules/ for guidance scoped by path — hook authoring, test-harness traps, doc-path and worktree discipline, plan authoring, and agent/dispatch discipline. Each file declares its own paths: globs and loads only when a matching file is read.

.claude/rules/ is committed (epic-17 W4, 2026-08-18) via a .gitignore negation pair — the rest of .claude/ (settings, local worktree state) stays gitignored as machine-local, so a fresh clone carries the path-scoped channel and nothing else. Rules addressed to a dispatched agent belong in agents-src/blocks/ instead, which renders into the six role files under agents/ and ships with the plugin; the two channels differ in when an edit lands (a rules file on the next read, a role file on the next session), not in reach. Nothing pins the roster of files here any more — tests/scripts.test.sh did, and was retired with the reliability-tier cut (epic-18 W3, commit 8582861) — so adding one is a deliberate act by review, not by test.

Agent skills

Per-repo config for the mattpocock-skills toolkit lives in .mattpocock/ — gitignored, tool-local, the same pattern as .bionic/ and .claude/. The pointer is committed; the files are not.

Issue tracker

GitHub Issues via the gh CLI. See .mattpocock/issue-tracker.md.

Triage labels

The five default labels, unchanged: needs-triage, needs-info, ready-for-agent, ready-for-human, wontfix. See .mattpocock/triage-labels.md.

Domain docs

Single-context. Glossary is design/domain-dictionary.md (no root CONTEXT.md); ADRs under .bionic/docs/adrs/, never a root docs/ tree. See .mattpocock/domain.md.

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.