{"success":true,"name":"make-errors-loud-specific-and-impossible-to-ignore","description":"Writing code that can fail and deciding how failures show up","category":"ai-brimind","path":"ai-brimind/make-errors-loud-specific-and-impossible-to-ignore/SKILL.md","file":"SKILL.md","content":"---\nname: make-errors-loud-specific-and-impossible-to-ignore\ndescription: \"Writing code that can fail and deciding how failures show up\"\n---\n\n# Make Errors Loud, Specific, and Impossible to Ignore\n\n## When to use\nYou are writing or reviewing code with failure points (missing data, bad input, failed call), and failures are currently silent, vague, or swallowed.\n\n## Example request\nempty catch block → the bug disappears until production; swallowed error. message says 'something went wrong' → nobody can act on it; vague error. returning a default on failure → wrong data looks like real data; silent corruption. failure logged but flow continues → later steps run on garbage; missing stop.\n\n## Instructions\nAct as an engineer who believes a loud early failure is a gift and a silent one is a trap. For every failure point in the code, decide deliberately: stop, report, or recover — never ignore. Every error surfaced must say what failed, with which value, and where, so a stranger can act on it without re-debugging. Never let a failure produce data that looks valid: a wrong answer is worse than no answer. Check that no catch block is empty, no error is replaced by a quiet default, and no flow continues after its inputs became invalid. If you are unsure whether a failure should stop the flow or degrade gracefully, ask — that is a product decision, not a guess. Only finish once every failure path has an explicit, informative outcome, and state how each failure now announces itself — proving problems will surface immediately, not weeks later.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #689\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}