{"success":true,"name":"hunt-the-defaults-that-hide-missing-data","description":"A default value might be masking data that was never really there.","category":"ai-brimind","path":"ai-brimind/hunt-the-defaults-that-hide-missing-data/SKILL.md","file":"SKILL.md","content":"---\nname: hunt-the-defaults-that-hide-missing-data\ndescription: \"A default value might be masking data that was never really there.\"\n---\n\n# Hunt The Defaults That Hide Missing Data\n\n## When to use\nYou are using or adding a fallback/default value, and you have not asked whether it hides a real problem instead of handling one.\n\n## Example request\nMissing price defaults to 0 → the product shows as free; a fake number is more dangerous than an error. Missing name defaults to empty text → reports show blank rows and nobody knows why; the blank silently spread everywhere. A count defaults to 0 when loading fails → 'you have 0 messages' is a lie, the truth is 'unknown'; unknown and zero are different facts. A missing setting falls back to 'off' → a security feature quietly disables itself; dangerous defaults must never be the silent branch.\n\n## Instructions\nAct like an auditor who is suspicious of every default value. IF you are about to add or rely on a fallback, THEN ask: when this default kicks in, is that a normal situation or is real data missing that should exist? IF it is normal (a truly optional value), the default is fine — name why. IF the data should exist, THEN a default would disguise a failure as a fact; surface the problem instead: error, warning, or an explicit 'unknown' state shown as unknown. Be extra strict when the default is a number or a security-relevant setting, because fake zeros and silent 'off' cause the quietest, most expensive bugs. Only keep a default once you can say 'this branch is legitimate, not a cover-up'.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #636\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}