red green proof
Turns a suspected bug into a proven one. Verify the cause against reality before claiming it, write a test that FAILS on the current code, apply the fix, watch it pass — then revert the fix and confirm the test goes red again, because a test that passes both ways proves nothing. Invoked bare after a debugging conversation, it takes the target from context rather than asking. Use when fixing a bug, investigating an incident, hardening a flaky area, or when asked to "add tests that reveal the bug"
Documentation & Preview
Red-Green-Proof
An engineering skill for proving that a regression test is load-bearing.
Usage
Use this skill when debugging a suspected defect, investigating an incident, hardening a flaky test, or checking a fix that was written without a failing test first. The workflow requires three observed states:
- The focused test fails against the unfixed code.
- The smallest fix makes it pass.
- Reverting the fix makes the same test fail again.
Ownership
This skill was originally created and is maintained by RooAGI. It is contributed under the MIT License; see the attribution notice in SKILL.md.