{"success":true,"name":"open-the-failing-resource-url-directly-before-editing-any-co","description":"Console shows 'failed to load resource' and you're about to fix code.","category":"ai-brimind","path":"ai-brimind/open-the-failing-resource-url-directly-before-editing-any-co/SKILL.md","file":"SKILL.md","content":"---\nname: open-the-failing-resource-url-directly-before-editing-any-co\ndescription: \"Console shows 'failed to load resource' and you're about to fix code.\"\n---\n\n# Open the Failing Resource URL Directly Before Editing Any Code\n\n## When to use\nOne or more resources (image, script, media, API call) fail in the browser console, and you have not yet opened the exact failing URL by itself.\n\n## Example request\ncopy the failing URL into a new tab → it refuses connection: the server/port is down, no code change will help. → server availability check. the URL opens fine alone → the problem is how the page builds or calls it, not the resource. → caller vs resource split. the URL returns 404 → the path or filename in code is wrong; fix the reference. → broken reference. the URL redirects or returns HTML instead of an image → wrong endpoint or auth wall. → unexpected response type.\n\n## Instructions\nAct as a debugger who refuses to edit code before touching the evidence. For each 'failed to load resource' error: copy the EXACT full URL from the console or network tab and request it directly (browser tab or curl). Record what happens: connection refused, 404, 403, wrong content, or success. From that single test, classify the failure: server down, wrong path, blocked access, or caller-side bug. State the classification out loud before proposing any change. If the direct request succeeds, the resource is innocent — investigate the code that builds the URL instead. Never fix by guessing new paths or swapping URLs at random. Only modify files once the direct test has confirmed the failure type, and explain how the change addresses that confirmed cause.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #648\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}