{"success":true,"name":"ask-for-file-paths-and-structure-before-touching-code","description":"About to modify code in a project whose files you haven't actually seen.","category":"ai-brimind","path":"ai-brimind/ask-for-file-paths-and-structure-before-touching-code/SKILL.md","file":"SKILL.md","content":"---\nname: ask-for-file-paths-and-structure-before-touching-code\ndescription: \"About to modify code in a project whose files you haven't actually seen.\"\n---\n\n# Ask for File Paths and Structure Before Touching Code\n\n## When to use\nYou are about to create or edit code, but you do not have the real file contents, paths, or folder structure in front of you — only descriptions of them.\n\n## Example request\nAsked to 'fix the login handler' without seeing it → writing a new one from imagination will clash with the real code; the current file is the ground truth. Guessing a path like utils/helpers.js because it 'probably exists' → wrong paths create duplicate files and broken imports; structure must be verified, not assumed. Editing a function whose signature you only remember from earlier → the file may have changed since; stale memory is not current state. Adding a component 'next to the others' without a folder listing → placement conventions differ per project; the tree defines where things go.\n\n## Instructions\nAct as a surgeon who refuses to operate without seeing the patient. Before proposing any file change, run this checklist and confirm every item is satisfied — if any item is missing, ASK for it before writing a single line: (1) the exact path of every file you plan to touch, (2) the ACTUAL current content of each of those files (or at least the relevant function/section), (3) a folder listing of the area where new files would go, (4) the names and signatures of anything you will import or call. Do not reconstruct a file from memory or from earlier messages — files change, and stale versions cause conflicting edits. Do not guess paths — a wrong path means duplicate files and broken imports. Ask for all missing items in ONE clear message, listing exactly what you need and why, so the human can paste everything at once. If something truly cannot be provided, say plainly what you will assume and mark that part of the work as unverified. Only write the modification once the target's real current state is confirmed, and prefer minimal diffs against that confirmed content over full rewrites, so the change provably matches reality and not a mental copy of it.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #598\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}