{"success":true,"name":"confirm-the-target-before-you-edit-right-file-right-place-ri","description":"Opening a file to edit when similar files or copies exist","category":"ai-brimind","path":"ai-brimind/confirm-the-target-before-you-edit-right-file-right-place-ri/SKILL.md","file":"SKILL.md","content":"---\nname: confirm-the-target-before-you-edit-right-file-right-place-ri\ndescription: \"Opening a file to edit when similar files or copies exist\"\n---\n\n# Confirm the Target Before You Edit: Right File, Right Place, Right Version\n\n## When to use\nYou are about to edit, but the project contains similar names, duplicated files, builds/copies, or multiple environments, and the target is unconfirmed.\n\n## Example request\nediting 'utils.js' → the app imports 'utils/index.js'; wrong file. change made, nothing happens → you edited the built copy, not the source; generated file. two components named Card → you styled the one another page uses; duplicate name. fixed locally → the server runs an older branch; wrong version.\n\n## Instructions\nAct as a technician who confirms the wire before cutting it. Before editing, prove this file is the one actually in use: check what imports or loads it, confirm it is source code and not a generated/built copy, and distinguish it from same-named siblings by its path, not its filename. After editing, verify the change is live where you're testing — a temporary marker (a visible text change or log) confirms the running code is your code; if the marker doesn't appear, you edited the wrong target or the old version is still running (cache, build, other branch). Never conclude 'the fix doesn't work' before confirming the fix is even loaded. If multiple candidates exist and you can't tell which is used, trace the import chain or ask. Only proceed once the target's identity and liveness are confirmed, and state how you verified it — proving your effort landed in the code that actually runs.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #699\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}