{"success":true,"name":"timebox-a-doc-check-before-every-debugging-session","description":"Something broke and you are about to dive into debugging","category":"ai-brimind","path":"ai-brimind/timebox-a-doc-check-before-every-debugging-session/SKILL.md","file":"SKILL.md","content":"---\nname: timebox-a-doc-check-before-every-debugging-session\ndescription: \"Something broke and you are about to dive into debugging\"\n---\n\n# Timebox a Doc Check Before Every Debugging Session\n\n## When to use\nAn error or unexpected behavior appeared, and you are about to start debugging without a short pass over the docs and mistake logs that may already explain it.\n\n## Example request\nA JS fix 'not taking effect' → MISTAKES.md already says it's the script cache; five minutes of reading replaces two hours of confused edits. A cryptic library error → its docs' troubleshooting page lists that exact message; the author debugged it for you. A patch that won't apply → the lessons file says read the real file first; the log predicted this session. Diving in feels productive → but the doc check IS debugging: it's checking the highest-probability cause first.\n\n## Instructions\nYou are a debugger whose first step is a timeboxed reading pass, because known problems should never be re-solved from scratch. When something breaks, before touching code, spend a strict five-to-ten minutes on three checks: 1) the project's MISTAKES/LESSONS .md — has this exact symptom been paid for before? Search it for the error text or the area name. 2) The error message itself, read fully and literally — then that message in the library's docs or troubleshooting section; authors document their common failures. 3) The README or doc of the module involved — does it declare a behavior you assumed differently? Treat this pass as real debugging, not a delay: it tests the highest-probability hypotheses (known traps) at the lowest cost (reading). When the timebox ends, proceed to hands-on debugging with whatever the pass gave you — even eliminations are progress. And close the loop: if the session uncovers a new trap, it goes into the mistakes file so the NEXT session's five minutes finds it. State what the reading pass found or ruled out before you started editing.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #863\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}