mutation-test
Skill2 starsChanged 5 days agoMITView on GitHub
Run cargo mutants on the lines a termherd change touched and read the result correctly. Use when evaluating test coverage of a fix or feature, when asked for mutation testing, or before claiming a change is well tested.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- paureis/pau-skillstheir own version, first seen Nov 8, 2026
- lancy69/skillstheir own version, first seen Nov 1, 2026
- DanaResearchGroup/agent-skillstheir own version, first seen Nov 1, 2026
- sunitghub/canon-skillstheir own version, first seen Oct 22, 2026
- takayoshitoyoda05/claude-ml-templatetheir own version, first seen Oct 20, 2026
- greglas75/zuvotheir own version, first seen Oct 16, 2026
Used with
Projects with it also use skill-eval, brainstorm and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SaluteYBSkillskill-eval
Evaluate, tune, and regression-check AgentSkills. Use when creating a new skill or improving an existing one and you need structured should-trigger, should-not-trigger, boundary-case, and execution-quality examples. Also use when auditing overlapping skills and sharpening trigger descriptions before release.
Also in 3 projects that use this
nicolasestremSkillbrainstorm
Structured idea generation and solution exploration with systematic analysis.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 4 projects that use this
GoogleSkillgrill-me
A relentless interview to sharpen a plan or design.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- me2resh/apexyard★ 542same name
- sunitghub/canon-skills★ 9same name
- greglas75/zuvo★ 7same name
- AlvaroVFon/skills★ 2same name
- paureis/pau-skills★ 2same name
- squall-chua/skills★ 2same name
- DanaResearchGroup/agent-skills★ 1same name
- takayoshitoyoda05/claude-ml-template★ 1same name
- lancy69/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- drive-termherdSkill
- file-issueSkill
- run-termherdSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
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
- Very specific: line 22
Do not pass --timeout, and keep fixtures small: one large frame turned an 8-minute run into 22.
- Very specific: line 26
Read survivors by grepping the function name in caught.txt and missed.txt.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mutation-test a change
The traps behind each step are in docs/agents/tooling.md (Mutation testing
with cargo mutants).
Mutate the diff, not whole files, into a private output directory:
git diff "$(git merge-base origin/main HEAD)" > "$TMPDIR/d.patch" cargo mutants --in-diff "$TMPDIR/d.patch" --output "$TMPDIR/mutants-<topic>"Diff from the merge base, not from
origin/main: oncemainmoves past the branch point, a plaingit diff origin/maincarriesmain's new commits as deletions, and the run mutates lines the branch never touched.Do not pass
--timeout, and keep fixtures small: one large frame turned an 8-minute run into 22.- Quote a run only after it prints
N mutants tested in …; the outcomes file is rewritten while it runs. - Read survivors by grepping the function name in
caught.txtandmissed.txt.--restill queues field-deletion mutants, so its summary line overstates the misses. - A survivor may be a stale temp directory from an earlier run rather than a gap: a test writing under the temp dir clears its target first.
- cargo-mutants never mutates a literal argument or deletes a statement. Hand-mutate the line a security fix rests on.
- A surviving mutant in a guard nobody can reach is a design smell: remove the guard, or make it reachable and test it.
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.

