mutation-check
Skill1 starsChanged 31 days agoMITView on GitHub
Verify that a regression test detects a meaningful behavior change using a disposable checkout, green baseline and confirmed restoration.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- jisuzzzz/haechitheir own version, first seen Nov 8, 2026
- trailofbits/cooptheir own version, first seen Nov 5, 2026
- ArthurC02/SkillHubtheir own version, first seen Oct 31, 2026
- hidevinliu/red-green-modetheir own version, first seen Aug 1, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- trailofbits/coop★ 808same name
- jisuzzzz/haechi★ 17same name
- hidevinliu/red-green-mode★ 11same name
- ArthurC02/SkillHub★ 1same 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 repository42 other files it gives its agents.
- ansible-hardeningSkill
- cavetechSkill
- ci-cdSkill
- claude-to-cursorSkill
- code-consistencySkill
- code-qualitySkill
- config-auditorSkill
- container-sandboxSkill
- cpa-tax-specialistSkill
- database-designSkill
- definition-of-doneSkill
- differential-reviewSkill
- exact-head-reviewSkill
- fast-ciSkill
- grill-meSkill
- inbound-syncSkill
- infosec-architectSkill
- insecure-defaultsSkill
- lonely-sysadminSkill
- mcp-createSkill
- mcp-hardeningSkill
- model-evaluationSkill
- modern-pythonSkill
- ms-office-suiteSkill
- plan-to-execution-handoffSkill
- prd-to-planSkill
- property-based-testingSkill
- pr-truth-triageSkill
- repo-hardening-workflowSkill
- resume-writerSkill
- skill-updaterSkill
- software-developerSkill
- software-development-lifecycleSkill
- solutions-architectSkill
- stay-readySkill
- supply-chain-risk-auditorSkill
- systematic-debuggingSkill
- tddSkill
- token-miserSkill
- triage-issueSkill
- verification-before-completionSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
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 7
Use an isolated disposable checkout of the candidate.
- Distinctive: line 11
Verify the mutation actually applied and remains syntactically valid.
- Distinctive: line 13
If tests remain green, report SURVIVED.
- Distinctive: line 16
Keep counts of attempted, detected, survived and inconclusive mutations with their reasons.
“Common” is measured: kept by at least 6 in 10 of the 3 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
Prove that the test can fail
Use an isolated disposable checkout of the candidate. Never mutate the user's active worktree or live services. No automatic mutation helper is bundled.
- Record candidate revision, clean status, target behavior, exact test command and expected failure assertion. Require a successful baseline with nonzero test discovery.
- Change one behavioral condition: a comparison, permission check, ordering, boundary or required operation. Avoid editing log text or comments merely to trip text assertions.
- Verify the mutation actually applied and remains syntactically valid. Run the same tests with the same configuration. Preserve output and the diff.
- Classify DETECTED only when the intended tests execute and fail for the intended behavioral reason. Collection, import, infrastructure, timeout and no-test failures are INCONCLUSIVE, regardless of exit code.
- If tests remain green, report SURVIVED. Investigate whether redundant controls mask the mutation; use a second targeted probe if justified. Do not assume survival is always a defect.
- Restore only the owned mutation, compare with the original bytes and rerun affected tests. Preserve the disposable checkout on restoration failure; do not report clean recovery.
Keep counts of attempted, detected, survived and inconclusive mutations with their reasons. Use an existing mutation-testing framework when appropriate, but verify its discovery and failure classification. Tests that only find strings in source can pass with commented-out code; prefer behavior assertions.
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.

