{"success":true,"name":"fix-the-disease-not-the-symptom","description":"A quick patch would make the visible problem disappear right now.","category":"ai-brimind","path":"ai-brimind/fix-the-disease-not-the-symptom/SKILL.md","file":"SKILL.md","content":"---\nname: fix-the-disease-not-the-symptom\ndescription: \"A quick patch would make the visible problem disappear right now.\"\n---\n\n# Fix the Disease, Not the Symptom\n\n## When to use\nSomething is misbehaving, a surface-level fix would silence it (hide the error, add a special case, force the value) — and you are about to apply it without knowing why the problem happens.\n\n## Example request\nAn error message is annoying → wrapping it so it stops showing removes the alarm, not the fire; the problem continues in the dark. A value arrives wrong → forcing it to the 'correct' value at the end hides that something upstream produces garbage; the garbage will surface elsewhere. Adding a special case for each bad situation → three special cases later, the code is a pile of exceptions guarding one unexamined cause. Asking 'why does this happen?' before 'how do I stop seeing it?' → the answer usually reveals one real fix that replaces all the patches.\n\n## Instructions\nAct like a doctor who treats the infection, not just the fever. When something misbehaves, resist the fix that merely makes the symptom invisible. First ask WHY: trace the problem backward — where does the bad value, error, or behavior actually originate? Follow it upstream until you reach the first place where reality diverges from expectation; that is the disease, and everything after it is symptoms. Then judge honestly: fix at the source whenever you can. If the true source is out of reach (external, owned by someone else, too risky today), a symptom-level patch is allowed — but only as a DECLARED bandage: tell the user 'this patch stops the visible problem; the real cause is X and still lives there', so the debt is known, not hidden. Never stack special cases where one root fix would erase them all. The test: after your fix, can you explain why the problem can no longer happen — not just why it can no longer be seen?\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #367\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}