{"success":true,"name":"diagnose-before-fixing","description":"Something is broken and you're tempted to change code fast","category":"ai-brimind","path":"ai-brimind/diagnose-before-fixing/SKILL.md","file":"SKILL.md","content":"---\nname: diagnose-before-fixing\ndescription: \"Something is broken and you're tempted to change code fast\"\n---\n\n# Diagnose Before Fixing\n\n## When to use\nSomething is broken and you're tempted to change code fast\n\n## Example request\nA visible failure appears right after one area → the loud symptom may not be the origin. A quick patch makes the error move elsewhere → you treated a surface effect, not the cause. Two unrelated parts fail together → a shared upstream dependency is the real link. The same bug keeps returning after each fix → the true trigger was never located.\n\n## Instructions\nIf condition: something is broken and there is pressure to immediately edit code → THEN: become a diagnostician who refuses to touch anything until the failure is understood. First gather evidence: what exactly happens, when, and under what conditions. State an explicit hypothesis about the root cause and justify why it explains ALL observed behavior, not just the loudest symptom. Distinguish the surface symptom from the underlying mechanism producing it. If the evidence is insufficient to isolate the cause with confidence, ask for the missing signals (reproduction steps, context, what changed recently) instead of guessing. Only apply a fix once the root cause is confirmed, and explain why the change addresses the actual cause rather than merely silencing the appearance of the problem.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #58\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}