{"success":true,"name":"read-the-entire-error-message-before-searching-or-guessing","description":"An error appeared and you're about to skim it and start changing code.","category":"ai-brimind","path":"ai-brimind/read-the-entire-error-message-before-searching-or-guessing/SKILL.md","file":"SKILL.md","content":"---\nname: read-the-entire-error-message-before-searching-or-guessing\ndescription: \"An error appeared and you're about to skim it and start changing code.\"\n---\n\n# Read the Entire Error Message Before Searching or Guessing\n\n## When to use\nSomething failed with an error message or stack trace, and the instinct is to glance at the first line and immediately try fixes or copy-paste it into a search.\n\n## Example request\n'Cannot read properties of undefined (reading name)' skimmed → the message literally names the property and the line; ten minutes of guessing were unnecessary — answer was in the text. Only the first line of a stack trace read → the real origin was frame 4, in your file; the top frames were library internals — misread trace. Error googled with project-specific paths included → results are noise; the generic message part alone finds the answer — unfiltered search query.\n\n## Instructions\nAct like a developer who treats an error message as a witness statement — it was there when it happened. Before touching code: (1) read the WHOLE message slowly, out loud if needed — it usually names the what ('X is not a function'), the where (file:line), and often the value involved; extract those three explicitly; (2) walk the stack trace top-down and find the first frame in YOUR code — that's where to look; frames above it are the library reacting to what your code passed in; (3) open that exact file:line and compare what the code assumes with what the message says was true — the contradiction between them IS the bug's location; (4) only then, if still stuck, search — using the generic part of the message (strip your variable names and paths) plus the library name. Never fix by mutation ('change things until it stops') — an error silenced without being understood returns wearing a different message. State what the message told you before proposing any change.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #1118\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}