prove-the-test
Skill2 starsChanged 53 days agoMITView on GitHub
Before trusting a test you just wrote, break the thing it guards and confirm it actually fails. Catches tests that pass no matter what — a wrong assertion API, an assertion that cannot observe the thing, a path the test never reaches. Invoke with /prove-the-test after writing or changing a regression test, or when the user asks \"is that test actually testing anything / would it catch it / does it fail without the fix\". Runs on tests you or someone else just wrote; it does NOT audit a whole suite. Restraint-gated: one targeted revert per test, not a mutation-testing campaign.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AhmedMerza/agent-skillsword for word, first seen Oct 11, 2026
Other versions1 project uses a version of this.
Word for word · 1
- AhmedMerza/agent-skills★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository58 other files it gives its agents.
- animateSkill
- api-docs-completeSkill
- app-teardownSkill
- best-optionSkill
- break-uiSkill
- browseSkill
- changelog-generateSkill
- checkpointSkill
- claimSkill
- commitSkill
- courtSkill
- design-driftSkill
- designSkill
- expandSkill
- explainSkill
- explore-siteSkill
- fix-reviewSkill
- grill-meSkill
- handover-listSkill
- handover-resumeSkill
- handover-saveSkill
- i18n-syncSkill
- issueSkill
- leadSkill
- mr-approveSkill
- mr-assignSkill
- mr-createSkill
- mr-guideSkill
- mr-listSkill
- mr-mergeSkill
- mr-review-requestSkill
- mr-reviewSkill
- mr-statusSkill
- persona-walkthroughSkill
- ponytailSkill
- qa-crawlSkill
- qa-sweepSkill
- reflectSkill
- reimagineSkill
- reviewSkill
- root-causeSkill
- scoutSkill
- scroll-craftSkill
- second-opinionSkill
- ship-checkSkill
- skill-auditSkill
- skill-compareSkill
- spinoffSkill
- story-siteSkill
- tool-compareSkill
- ui-auditSkill
- ui-polishSkill
- usage-weekSkill
- ux-auditSkill
- validate-planSkill
- video-teardownSkill
- wait-whatSkill
- where-were-weSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
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 24
If it passes at step 2, the test is decorative.
- Distinctive: line 28
Every test written to pin a bug fix or a behavioral guarantee.
- Distinctive: line 51
If a test is expensive or impossible to falsify this way, say so and move on rather than contorting the code to force red.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
A passing test proves nothing on its own. It passes when the code is right, and it also passes when the assertion is pointed at the wrong thing, when the framework read your failure message as an expected value, when the branch under test is never reached, or when the value would have been there regardless. Every one of those looks exactly like success.
So don't trust a new test until you've watched it fail.
The move
For each test that guards a specific change:
- Revert the production code it guards — just that, in place. The one line, the one condition, the one flag. Not a stash of everything.
- Run only that test. It must fail.
- Read the failure. It must fail for the stated reason, at the assertion you care about. A test that fails with a fatal, a missing key, or a setup error is not proving what you think.
- Restore the code, and confirm the test passes again.
If it passes at step 2, the test is decorative. Fix the test — that is the finding.
When to apply it
Every test written to pin a bug fix or a behavioral guarantee. That is the case where "it passes" is most likely to be an illusion, because the code is already correct when the test first runs — you never see red unless you make it.
Skip it for tests whose failure you have already seen naturally (you wrote the test first, or it caught something on the way in). Skip it for pure scaffolding.
What it typically catches
- Assertion-API misuse. A helper whose second argument is an expected value, not a message.
A
nullassertion that resolves through a getter answeringnullfor absent keys just as readily as for present-and-null ones. Both pass against nothing at all. - Boundary tests decided by something other than the code — an unfrozen clock, ordering, a random seed. These pass, then flake later. If a test needs a revert to fail sometimes, it is already flaky; find the hidden input and pin it.
- Unreachable branches. The fallback you are testing cannot be triggered through the path the test uses, so the test exercises the happy path and reports green.
- Tests that assert a value the setup guarantees regardless of the code under test.
Restraint
This is one targeted revert per test, taking seconds. It is not mutation testing, and it is not an audit of an existing suite — do not go reverting production code across a repo to score old tests. If a test is expensive or impossible to falsify this way, say so and move on rather than contorting the code to force red.
Reporting
State it plainly and briefly: which test, what you reverted, that it failed, that it passed on restore. One line each. If a test failed to fail, that is the headline — lead with it, say what made it vacuous, and show the fixed assertion.
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.

