claude-booping
CLAUDE.md14 starsChanged 5 months agoMITView on GitHub
Claude Code plugin that grooms and executes plans across user projects. Plans and other run artifacts live in the per-project vault — ~/Claude/{project}/ by default, or a repo-local directory via the .booping marker's vault_path: key. Skills, agents, playbooks, templates, and config live in this repo. One shipped skill (/playbook); everything procedural is a playbook it drives (groom, develop, code-review, retro, learn, setup, migrate, playbook-authoring).
- Installs packages
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
- Distinctive: line 93
No comments that restate code — only WHY for non-obvious bits.
≈ “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.
Files
booping plugin — project guide
Claude Code plugin that grooms and executes plans across user projects. Plans and other run artifacts live in the per-project vault — ~/Claude/{project}/ by default, or a repo-local directory via the .booping marker's vault_path: key. Skills, agents, playbooks, templates, and config live in this repo.
One shipped skill (/playbook); everything procedural is a playbook it drives (groom, develop, code-review, retro, learn, setup, migrate, playbook-authoring).
Commands
just lint/just typecheck/just pytest— ruff / basedpyright / pytest over both uv projects,booping-python/thenbooping-tracker/.just snapshots— diff committed playbook reports against a fresh hermetic render (writes nothing).just snapshots-accept [playbook]— the only writer of the committed reports.just mdcheck— structural rule checks over the rendered reports. Needs themdcheckbinary:cargo install markdown-checker(the crate namedmdcheckis unrelated).just e2e [pytest args…]— run both txtar contract corpora through pytest, passing any arguments straight to it (just e2e -k config-get,just e2e --txtar-update);--txtar-updaterebaselines the selected cases. A-kexpression that selects in one corpus only leaves the other collecting nothing, which is not a failure.just ci— everything CI runs, in order:lint typecheck pytest snapshots mdcheck e2e. Run before committing.just eval|smoke|regress <playbook>/<step>(orall) — promptfoo eval suites;just suiteslists them. Runs on subscription auth (claude -p), never in CI; each run posts a sticky, advisory PR comment viascripts/eval-pr-comment.sh(EVAL_PR=0opts out) — no commit status, no merge gate.just docs/just docs-serve— build / preview the public docs site.bin/booping <subcommand> --help— the runtime CLI:render,render-playbook,playbook-state,playbook-transition,query,config-get,marker-set,scaffold,frontmatter-update,session-stats,debug-context.bin/booping-tracker <verb> --help— the task-tracker CLI:states,show,comment,issue-create,issue-update,relate,sync. Reference: booping-tracker/README.md.
Layout
booping-python/— uv Python project with theboopingCLI. Sourcesrc/booping/, teststests/, contract corpuse2e/— cases plus aconftest.pyconfiguring thepytest-txtarplugin, which owns the runner and the case-format spec (https://github.com/A/pytest-txtar);scaffoldis verified there, not by the unit tests.booping-tracker/— second uv project with thebooping-trackerCLI, holding every tracker concern (andhttpx) out ofbooping-python. Sourcesrc/booping_tracker/—cli.py,config.py,facade.py(the operation set) and one module per provider underproviders/— teststests/, contract corpuse2e/with its ownconftest.pyandREADME.md. Config is not re-implemented: it shells tobin/booping config-get core.tracker.bin/booping,bin/booping-tracker— the two product entry points: shell wrappers exec'inguv run --project {booping-python|booping-tracker} … "$@".scripts/— dev tooling behindjust:snapshots.py,mdcheck.py(uv inline Python), and the eval harness (eval-*.sh,report-*.jq). Not shipped to users.src/config.yaml— runtime config, single source of truth for structured data (macros, query specs, scaffold trees, task types, sprint scale, per-playbook agents). Heavily commented — read it for key semantics.src/templates/— runtime skill/agent templates +_partials/, rendered at skill-load time. Edits are live, no rebuild.skills/<name>/SKILL.md,agents/<name>.md— hand-authored thin shells: frontmatter (includingeffort:) plus one!booping render src/templates/…`` line that pulls in the body at load time.playbooks/<name>/— core playbooks. Also:_partials/(shared fragments),_scripts/(shared hook scripts),_lib/(eval harness),_fixtures/vault/(hermetic render fixture). Each playbook commits its rendered report atplaybooks/<name>/_reports/output.md.playbooks/*/_specs/— playbook-authoring run artefacts and design history; intentionally stale, not a spec of current behaviour.migrations/<NNN>_<slug>/migration.md— plugin-shipped vault migrations. Frontmatteridis the authority; a vault's applied watermark is the.boopingmarker'slatest_migrationkey, and every render surface gates on it. Authoring primitives: query specs withroot: corescan plugin-shipped files, numeric--whereordering (gt/lt),{{ booping.latest_migration }}in templates, marker writes viabooping marker-set.docs/— hand-authored plugin-internal fragments, lazy-loaded by skills via${CLAUDE_PLUGIN_ROOT}/docs/<name>.mdlinks. No build step.documentation/— public docs site source (MkDocs → gh-pages on push tomaster). Hand-authored.
Rendering pipeline
One stage, at runtime (skill load): a thin shell's !booping render src/templates/…`` line renders the body with full project context — config merge, vault, lessons, playbooks.
Config
- Three-tier deep merge, core → global → project:
src/config.yaml←${XDG_CONFIG_HOME:-~/.config}/booping/config.yaml←{vault}/config.yaml. Later tiers win; lists replace wholesale. No schema gate and no tier restriction — any key loads in any tier. - Top level is exactly
home_dir+core. Placement rule undercore: a key one playbook owns lives atcore.{name}_playbook; a shared key sits directly undercore. A user's own playbook namespace copies this shape. - Any mapping in the merged config can be a query spec (
booping query --config <dotted.path>,| queryfilter) or a scaffold tree (booping scaffold <dotted.path> <dest>) — the value at the dotted path is the spec/tree, no wrapper key. Specs live beside their consumer (core.{name}_playbook.queries.<id>), never in a central registry. core.plans— plan shape shared by groom and develop:glob(plan discovery) andmilestones(globrelative to the plan dir, matching the milestone file inside each milestone directory and never a sidecar beside it, +table_columnsfor the generated table). Never restate either literal in prose.core.tracker— task-tracker surface, directly undercorebecause several playbooks mirror outward through it:driver(cliis the one shipped driver,--driveroverrides per invocation, an unknown name is a hard error) plus one settings block per driver. Secrets are named, never carried:api_key_envholds the name of the environment variable the token lives in — no config value anywhere is env-interpolated, in any tier.core.macros.<name>— an argv list, or a mapping withcommand:pluscwd: repo|vaultscoping; rendered bodies call them via themacro()global;--stub-macro(or a vaultmacro_stubs:mapping) pins them for reproducible renders.- Full reference: documentation/project_config.md.
Playbooks
Multi-step guided procedures discovered from three roots — core playbooks/, global <home_dir>/_playbooks/, local {vault}/_playbooks/ — names unique across roots. Each dir: playbook.md (identity frontmatter + preamble body), optional playbook.yaml (graph: + optional state:/states:), and one directory per step holding prompt.md.
graph:defines order and parallelism via topological waves; a mapping node is a one-level subgraph. Parallel co-members must bedetached:.- Delegation per step via the single
detached:frontmatter field: absent → runner-performed;<model>:<effort>→ generic sub-agent; other string → named sub-agent. jinja: trueopts all bodies into Jinja through the full context env, each with a loader chain body → step dir → playbook dir → discovery roots (local → global → core) →src/templates/.- Run state is opt-in via
states:(named state machines:artifact,initial,statuses, transitions withwhen/gates/hooks).booping playbook-transitionis the only writer of run state; its printed mutation report is authoritative — never re-read to verify.booping playbook-stateis the read-only frontier report used to resume; both address the run artifact via--targetwhen the machine declares noartifact:. Hooks:frontmatter-updateandscript <name> [args…](argv passed through; playbook_scripts/first, then the discovery roots'_scripts/, most specific wins). - Tracker mirroring:
playbooks/_scripts/tracker-sync(push the artifact's status) andtracker-comment <workdir-relative-path>(post a file as a comment) arescripthooks on groom's edges. Both absorb the tracker's exit code and warn on stderr — a hook failing afterstatus:is written would abort the transition with the vault advanced and the tracker behind;booping-tracker sync --artifact …by hand is the reconcile. - Lessons: markdown files in
<home_dir>/_lessons/and{vault}/_lessons/with atargets:list ({playbook},{playbook}/{step},agent:{id},skill:{name}), injected byrender-playbookand by internal agent and skill bodies. Untargeted lessons inject nowhere. - Graph/render problems surface as in-band
**STOP — tell the user:**/**Note — tell the user:**notices at exit 0, never crashes. - The driving protocol lives in
src/templates/_partials/_playbook_driving.j2. Full mechanics: documentation/playbook.md.
Lifecycle
Each playbook owns its own status vocabulary in its states: block — there is no shared lifecycle, and those blocks are the authoritative sets.
- Plan track (
groom+develop): the plan is a directory{vault}/plans/{slug}/whoseindex.mdis both run artifact and plan document; groom ends atready-for-dev, develop atdone|fail, both alsocancelled. Shape is thecore.plans.globconfig key (plans/*/index.md). - Parked groom runs:
awaiting-clarificationholds a groom run that raised a question it cannot answer itself — entered fromframingand fromdrafting, each entering edge stampingreturn_towith its own source and each return edge clearing it, so the mapping is static per edge rather than computed. The questions live in theclarifications.mdsidecar besideindex.md(format:docs/clarifications.md), one H2 per question with an id and anopen/answeredstate; the sidecar is what a later invocation reads to resume, and whattracker-commentposts verbatim.tracker_provider/tracker_request/tracker_issueonindex.mdrecord the mirror, hook- and CLI-written only. - Milestone directories: each milestone is a directory
milestones/M{nn}-{kebab}/under the plan directory, holding the milestone file named after it (core.plans.milestones.glob,milestones/*/M*.md) — frontmatterid/title/sp/status/planplus tasks, DoD and Verify — and any sidecar the sprint writes beside it, currentlyfeedback.md, the runner's findings on a rejected attempt and the only place attempts are counted. The milestone file is the contract handed to a worker by path —index.mdis context only, its## Milestonestable (core.plans.milestones.table_columns) and the plan'sspare generated. Milestonestatus:is develop's per-instance run state (pending→in-progress→done,blockedoff in-progress), instanceM{nn}-{kebab}; every edge runs therefresh-milestone-tablehook. The worker runs its milestone's## Verifyand leaves the work uncommitted; the runner validates the working tree against the DoD, makes the repo commit (scoped staging, nevergit add -A), flips the checkboxes and takes the transitions — no worker of any harness touches git history. - Retro track (
retro+learn): artifact is a standalone{vault}/retrospectives/{slug}.md(awaiting-retro→awaiting-learning→done); plans stay atdonethroughout. Addressed with--targetsince the machines declare noartifact:. - Code-review track (
code-review): artifact is{vault}/codereviews/{plan-dirname}/{ts}.md(ad-hoc scopes:codereviews/{target-slug}/{ts}.md,plan: null), machinein-agent-review→human-review→done; plans stay atdone. Addressed with--targetsince the machine declares noartifact:. - The tracks join through plan frontmatter, not status:
retro:is null until covered, so{status: done, retro: null}is the retro queue;code_reviews:is a list of every review that closed on the plan — history, not a queue flag — so the review queue is every{status: done}plan, re-review included. - Vault commits are each playbook's own business, via
scripthooks on its edges.
Vault (out of framework scope, authored per project)
plans/, retrospectives/, codereviews/, _lessons/ (targeted), _playbooks/ (user playbooks), plan_templates/, review_templates/, notes/, sprints.md (Obsidian Bases fence, seeded once, written by nothing), .booping.log (CLI log at the vault root, gitignored there). Obsidian-ready: markdown + YAML frontmatter only. See documentation/vault.md. Everything benchmark — registry, runbook, method, bench-score, mutations, fixtures, run artifacts, and the scorecard table in its README — lives in the separate booping-benchmarks repo (local clone ~/Dev/@A/booping-benchmarks/); only the model-benchmark playbook that drives a run stays in this vault's _playbooks/.
This repo's own vault is checked in at vault/. Its docs/_specs/ is the product-vision spec set — read it before writing any documentation surface, and treat it as the authority on what this project ships and for whom: index.md the briefing (what it is, who it serves, where it is heading), roles.md the audience map, features.md the feature index of groups, features and capabilities, targets.md the documentation surfaces and their depth ceilings, glossary.md the canonical terms, documented.md the ledger of documented work. The docs playbook maintains it; it is stale exactly as often as that playbook is skipped.
Principles
- Minimum useful context: a skill or step body carries only what it needs; lazy-link route-specific detail via
docs/instead of inlining. - Less prose, less drift: cut motivation, restated context, and preambles. The schema is the source of truth; prose decays.
- Schema over prose: structured data lives in
src/config.yamland is rendered from there — never restated in body prose. - Reference the source, never the literal: dynamic values (statuses, queues, agent ids) render from config/query specs.
- Wide-domain: skills and playbooks stay stack-agnostic. Project specifics live in the vault's
_lessons/and the attached repo's ownCLAUDE.md— the only two destinations learn writes. - Agent wiring: the driver owns all vault reads/writes; worker agents touch only repo code. Project-local shaping of an agent or a skill is a targeted lesson (
agent:{id},skill:{name}), not a separate extension file. External global agents at~/.claude/agents/wire in via config — see documentation/integrating-external-agents.md.
Editing conventions
src/templates/**edits are live — no rebuild step anywhere in the repo.- Playbook source edits (manifests, step
prompt.md, shared partials) drift the committed reports. Loop: edit →just snapshots(read the diff) →just snapshots-accept→ commit source and report together. - Eval suites sit beside their step (
tests.yaml+promptfooconfig.yaml+_fixtures/); two tiers per fixture,smoke(deterministic) andregress(llm-rubric judges). Shared asserts, graders and rubric prompts live inplaybooks/_lib/. - No comments that restate code — only WHY for non-obvious bits.
- Conventional commits with scope:
feat(booping): …,fix(groom): …. - README's Statuses section is hand-maintained narrative over the per-playbook
states:blocks — revisit it when one changes. - New procedures should be playbooks, not skills; a skill is only for a surface
/playbookcannot drive. Reference for the rare new skill:src/templates/skills/playbook.md.j2+ its thin shell atskills/playbook/SKILL.md.
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
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.

