{"success":true,"name":"write-error-messages-for-the-3-am-debugger","description":"You are writing an error message or log line right now.","category":"ai-brimind","path":"ai-brimind/write-error-messages-for-the-3-am-debugger/SKILL.md","file":"SKILL.md","content":"---\nname: write-error-messages-for-the-3-am-debugger\ndescription: \"You are writing an error message or log line right now.\"\n---\n\n# Write Error Messages For The 3 AM Debugger\n\n## When to use\nYou are writing the text of an error or a log entry, and it currently says only that something failed, not what, with which values, and where.\n\n## Example request\n'Something went wrong' → wrong with WHAT? A message without the failing thing's name is noise. 'Invalid input' → which field, what value, what was expected? The three answers a debugger needs are missing. 'Error in processing' → processing of which record? Without the identifier, the bug cannot be reproduced. An error is logged without the original cause attached → the trail dies there; always carry the underlying error along.\n\n## Instructions\nAct like the exhausted person who will read this message at 3 AM with no context. IF you are writing an error message or log line, THEN make it answer three questions in one line: what operation failed, on which exact thing (the identifier), and what the actual bad value was versus what was expected. Attach the underlying error you received instead of replacing it with a vague summary — the original cause is the trail. Separate audiences: the user gets a safe, simple explanation; the log gets the full technical truth (never secrets or passwords). Test your message by asking: could I locate and reproduce this failure using ONLY this line? Only keep it once the answer is yes.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #641\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}