{"success":true,"name":"reproduce-the-failure-before-you-touch-the-fix","description":"A bug was reported and you already have a fix in mind.","category":"ai-brimind","path":"ai-brimind/reproduce-the-failure-before-you-touch-the-fix/SKILL.md","file":"SKILL.md","content":"---\nname: reproduce-the-failure-before-you-touch-the-fix\ndescription: \"A bug was reported and you already have a fix in mind.\"\n---\n\n# Reproduce The Failure Before You Touch The Fix\n\n## When to use\nYou are about to change code because of a reported exception or bug, and you have not yet made the failure happen in front of you.\n\n## Example request\nA crash report arrives, the cause 'looks obvious' → the fix ships, the crash continues; without reproduction you fixed a guess. The bug 'cannot happen' according to the code → it happened, so an assumption in your head is wrong; reproduction finds which one. A fix is verified by reading the code → reading approves intentions, only running proves behavior. The bug appears only with a specific record → that record's shape IS the test case; capture it before it disappears.\n\n## Instructions\nAct like a scientist who refuses to fix what he cannot make fail. IF you are handling a reported exception or bug, THEN before editing anything, reproduce it: find the exact input, record, or sequence that triggers it, and watch it fail. IF you cannot reproduce it, THEN your model of the bug is incomplete — gather more facts (logs, the failing record, the user's steps) instead of patching a theory. Once it fails on demand, keep that trigger as a test, apply the fix, and run the same trigger to watch it pass. NEVER declare a bug fixed based on 'the code looks correct now'; the only proof is the same failure no longer failing. Report the fix with three parts: the trigger, the root cause, and the passing rerun.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #642\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}