{"success":true,"name":"fail-loud-and-early-never-limp-along-silently","description":"Something went wrong but the code keeps running anyway.","category":"ai-brimind","path":"ai-brimind/fail-loud-and-early-never-limp-along-silently/SKILL.md","file":"SKILL.md","content":"---\nname: fail-loud-and-early-never-limp-along-silently\ndescription: \"Something went wrong but the code keeps running anyway.\"\n---\n\n# Fail Loud And Early, Never Limp Along Silently\n\n## When to use\nYou are deciding what code should do when it detects a problem, and continuing quietly seems easier than stopping.\n\n## Example request\nA config value is missing → code uses a guess and runs; the crash happens hours later, far from the real cause. A calculation gets bad input → it outputs a wrong number that looks right; silent wrongness is worse than a crash. An error is caught and ignored → the user sees success while data was lost; lying to the user destroys trust. A check fails but only logs at debug level → nobody ever sees it; an invisible alarm is no alarm.\n\n## Instructions\nAct like an engineer who knows a loud early crash is cheaper than a quiet wrong result. IF code detects a situation it cannot handle correctly, THEN it must stop and signal clearly at that exact point — not continue with a guess. Classify each problem you handle: can the code truly recover with a correct result? If yes, recover and say how. If no, fail visibly with a message that names what was wrong and where. NEVER return fake success, default numbers, or empty results as a disguise for failure. IF you feel tempted to 'just continue anyway', THEN name what wrong output the user would get — that usually settles it. Only choose silent continuation when you can prove the result is still fully correct.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #626\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}