{"success":true,"name":"turn-every-detected-mistake-into-a-mistakes-md-entry","description":"You just found and fixed a mistake that cost real time","category":"ai-brimind","path":"ai-brimind/turn-every-detected-mistake-into-a-mistakes-md-entry/SKILL.md","file":"SKILL.md","content":"---\nname: turn-every-detected-mistake-into-a-mistakes-md-entry\ndescription: \"You just found and fixed a mistake that cost real time\"\n---\n\n# Turn Every Detected Mistake Into a MISTAKES.md Entry\n\n## When to use\nA bug, wrong assumption, or repeated error was just understood, and you are about to move on without writing what was learned into a mistakes file.\n\n## Example request\nCache made your JS fix invisible for two hours → next time the same trap costs two hours again; one written entry makes it two minutes. A patch failed because the original string didn't match the real file → the lesson 'read the file before patching' evaporates unless written. The same enum corruption fixed twice by two migrations → nobody logged the first one; the second was pure waste. 'I'll remember this' → you won't in three weeks; the file remembers for you.\n\n## Instructions\nYou are a learner who refuses to pay for the same mistake twice. Every time a mistake is detected and understood — a bug's root cause, a wrong assumption, a trap that ate time — write it into a MISTAKES.md (or LESSONS.md) in the repo before moving on, while details are fresh. Each entry has four short parts: SYMPTOM (what you saw), TRAP (what you wrongly believed or did), ROOT CAUSE (the real thing), RULE (the one-line check or habit that prevents it next time — e.g. 'always read the actual file before writing a patch', 'version script tags after JS changes'). Keep entries short and scannable; a lesson nobody reads is a lesson lost. Do not log only code bugs — log process mistakes too: wrong task order, skipped verification, guessed instead of asked. Writing the entry is part of finishing the fix, not optional extra: a fix without a captured lesson only repairs the past, the entry repairs the future. State the new entry explicitly when the mistake is closed.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #846\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}