{"success":true,"name":"simulate-the-failure-instead-of-hoping-it-s-handled","description":"You wrote error handling but never watched it actually run.","category":"ai-brimind","path":"ai-brimind/simulate-the-failure-instead-of-hoping-it-s-handled/SKILL.md","file":"SKILL.md","content":"---\nname: simulate-the-failure-instead-of-hoping-it-s-handled\ndescription: \"You wrote error handling but never watched it actually run.\"\n---\n\n# Simulate The Failure Instead Of Hoping It's Handled\n\n## When to use\nYou have written failure-handling code (fallback, error branch, recovery), and it has never been triggered on purpose.\n\n## Example request\nA fallback exists for a dead service → the service was never actually turned off in a test; untested handling is a hope, not a feature. An error screen was designed → nobody ever forced the error; the screen may itself crash. A retry mechanism was added → nobody watched a real retry happen; it might retry the wrong thing or not at all. A 'this cannot fail' branch exists → make it fail anyway in a test; the handler for the impossible is the least tested code in the system.\n\n## Instructions\nAct like an engineer who trusts only failure handling that has been watched working. IF you wrote any code whose job is to handle failure — fallback, error branch, retry, recovery — THEN trigger that failure on purpose before shipping: turn off the dependency, feed the poison input, force the exception, cut the operation mid-way. Watch what actually happens and compare it to the plan: did the fallback produce a correct result, did the user see the intended message, did the system land in a clean state? IF you cannot find a way to trigger the failure in a test, THEN say so explicitly and mark that handler as unverified instead of assuming it works. Error paths are code too; untested error code fails exactly when everything else is already on fire. Only trust a handler you have seen catch its failure once.\n\n## Metadata\n- role: tester\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #645\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}