pair-audit
Skill1 starsChanged 14 days agoMITView on GitHub
Verify the evidence of a finished task is real — tests failed before the change and pass after, nothing skipped, mocked or weakened to force green, and no comment promising protection that no test exercises. Use before declaring any pair task done, and whenever a task claims tests pass.
In this repository7 other files it gives its agents.
- AGENTS.mdAGENTS.md
- pair-chatSkill
- pair-backlogSkill
- pair-chatSkill
- pair-workSkill
- root-causeSkill
- session-finalizerSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
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 24
If there is none — that is a finding, not a detail.
- Very specific: line 28
Look for skip, only, xit, todo, commented-out asserts, mock, stub, increased timeout, assert.ok(true), .rejects on a positive case.
- Distinctive: line 50
If no test executes this branch — the comment is lying.
- Distinctive: line 53
Run it — if everything stays green, the guard never executes.
- Distinctive: line 62
Verify what was fixed. Something broken on the side is a separate finding, not a "noticed in passing".
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill 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
Audit
Language: this is the English original. The Russian mirror is SKILL.ru.md.
Not the same as the round's
auditmode. This skill is about verifying the evidence of a change already made: did the test fail before it and go green after. A round inmode=audit(bin/pairctl mode audit) is something else: there are no changes there and nothing to roll back. A task phrased as "find defects, change nothing" is a round mode, and it is served bypair-work; this skill does not apply to it.
A task is not finished until "tests pass" has been verified as true. The most expensive mistake here: a green report with no verification behind it.
1. Tests catch the bug, not just stay green
- Roll back the change: the test must fail. Green even before means it verifies nothing.
- Find the test that catches exactly this error, and show it.
- If there is none — that is a finding, not a detail.
2. Tests are not weakened
Look for skip, only, xit, todo, commented-out asserts, mock,
stub, increased timeout, assert.ok(true), .rejects on a positive case.
3. Tests actually ran
Not "the command exited 0", but the number of tests run. Zero tests run also exits zero.
4. No bypass
The fix must not disable what it repaired: a deleted test, a weakened linter,
a disabled typecheck, continue-on-error in CI, narrowed permissions.
5. A comment without a test is a finding
Separately and strictly. Code often carries an explanation:
// the numeric branch guards against overflow
if (typeof id === "number") { ... }If no test executes this branch — the comment is lying. Check:
- Roll back or alter the guard so the test should fail.
- Run it — if everything stays green, the guard never executes.
- Then the code is dead, and the comment promises something that is not there.
Why this matters: in six months someone will delete the branch as "duplication" based on the comment alone. The evidence is two files: the line with the explanation and the test file where this branch is absent.
6. The area is covered
Verify what was fixed. Something broken on the side is a separate finding, not a "noticed in passing".
How to report
A bullet list with a verdict: confirmed / not verified / suspicious.
State every unverified item directly.
Silence reads as "all good", and that is a lie. If you have no proof — write
pair_note(kind="verdict") with the text "no evidence".
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.

