senior-engineering-partner
CLAUDE.md191 starsChanged 5 months agoApache-2.0View on GitHub
Agent/contributor guide for working on this repo (the skill itself lives in SKILL.md + references/). Human-facing process docs: CONTRIBUTING.md and MAINTAINERS.md — this file is the agent-facing distillation. One model writes a change, and a different reader reviews it before the PR. Reading, auditing, and proposing changes are fine on any model. Writing to SKILL.md, references/, scripts/, evals/, or the repo docs is done by one writer per change; before the PR opens, a second reader — another model, or…
In this repositoryOne other file it gives its agents.
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 48
Every PR gets a recorded review verdict in its body (a structured review of the diff — state what was checked and the conclusion).
- Very specific: line 57
Run scripts/ checks locally before pushing (skill-lint, script tests, the content guard).
≈ “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.
Files
CLAUDE.md — senior-engineering-partner
Agent/contributor guide for working on this repo (the skill itself lives
in SKILL.md + references/). Human-facing process docs: CONTRIBUTING.md
and MAINTAINERS.md — this file is the agent-facing distillation.
Writer and reviewer (read before editing anything)
One model writes a change, and a different reader reviews it before the PR.
Reading, auditing, and proposing changes are fine on any model. Writing to
SKILL.md, references/, scripts/, evals/, or the repo docs is done by one
writer per change; before the PR opens, a second reader — another model, or a
human — reads the diff for unverified paths, flags, and commands; dense prose;
and overreach past the evidence. The PR body records who wrote, who reviewed,
and the reviewer's verdict. Any model may be the writer; this file names none.
A private environment profile (references/my-environment.md) MAY name a
writer, a reviewer, and the fallback for when the writer is unavailable; when
it does, sessions in that environment follow it. Skipping the second read, or
departing from a profile's named models, takes an express, per-change
instruction from the maintainer; a general "go ahead" earlier in the session is
not one. Rationale: one writer per change keeps its voice, judgment, and
rule-wording consistent instead of a patchwork of whichever models were loaded,
and a second reader catches what the writer misses.
Repo shape
SKILL.md— the universal core;references/— deep-dive references loaded on demand;scripts/— lint/guard/test tooling;evals/— the eval harness (scenarios, fixtures, baselines).- The repo is PUBLIC. Environment-specific values bind through
references/my-environment.md, which is.gitignored and never committed — the repo ships onlyreferences/my-environment.template.md. Never commit private identifiers (employers, hosts, domains, real names beyond the author) into code, commits, PR text, or eval baselines — the CI denylist is only a partial guard, not a substitute for care. - Cite only this repo. An issue, PR, or file named in a tracked file is one of this repo's own. Never name another repository, product, or an issue number from outside the skill; tell an origin incident generically (what happened, what it cost, why the existing rules missed it). Commit messages and PR bodies are public too, and the leakage guard does not scan them — the rule holds there by care alone.
PR rules
- Branch → PR → all required checks green → squash-merge only (the ruleset enforces it). PRs require 1 approval and the author cannot self-approve — by default, open the PR and hand off for review.
- Every PR gets a recorded review verdict in its body (a structured review of the diff — state what was checked and the conclusion).
- Core edits follow the skill's own disciplines: version/changelog handled
by release-please from Conventional Commits — never hand-edit generated
CHANGELOG sections or hand-bump the version/CITATION fields (they are
release-automation-managed; see the
x-release-pleaseannotations).
Gates & sharp edges
- Run
scripts/checks locally before pushing (skill-lint, script tests, the content guard). The guard scans the STAGED/TRACKED tree — a violation in an unstaged file passes locally and fails aftergit add; always gate the staged tree. - Eval fixtures MUST use the
.fixturefilename suffix (scanner-neutral; the suite's startup check enforces it). - Eval sweeps: deep-reasoning models need long timeouts (
--timeoutwell above 600s); never switch branches in a clone while a sweep is running from it. - Mermaid blocks in any doc you touch get render-checked before commit.
Release flow (maintainer steps in MAINTAINERS.md)
- release-please prepares the release PR; a maintainer cuts the signed
tag locally (release automation cannot sign). After every release,
check for spurious release-please PRs (a pre-tag run can propose a
version regression — close it, delete its branch, strip the
autorelease: pendinglabel).
Skill self-improvement
Changes that add or sharpen a discipline follow the consent-gated loop in
references/skill-self-improvement.md: propose via PR, never silently edit
the skill, and never relax a rule — loosening is human-initiated only.
Expert panel
A decision about the skill (a new or sharpened rule, a reference, a gate) opens with what
the maintainer's expert panel says — named experts, quoted and sourced — then the
recommendation and where it departs from them. The panel is kept privately, outside the
repo; docs/expert-panel.md explains the rule and the public evidence a decision cites.
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.

