{"success":true,"name":"old-file-in-memory-re-check-it-before-you-touch-it","description":"About to edit a file you last saw many messages ago.","category":"ai-brimind","path":"ai-brimind/old-file-in-memory-re-check-it-before-you-touch-it/SKILL.md","file":"SKILL.md","content":"---\nname: old-file-in-memory-re-check-it-before-you-touch-it\ndescription: \"About to edit a file you last saw many messages ago.\"\n---\n\n# Old File in Memory? Re-Check It Before You Touch It\n\n## When to use\nYou are about to modify or build on a file whose content you only remember from earlier in the conversation, and time or changes may have passed since that last look.\n\n## Example request\nEditing a function seen 30 messages ago → the human may have changed it since; memory of a file is a snapshot, not the file. Building on code that was modified twice after you last saw it → your mental copy is two versions behind; the latest paste is the only truth. Referencing line numbers from an old view → edits shift lines; stale coordinates hit the wrong target. The human says 'I tweaked it a bit since' → 'a bit' is undefined; any admitted change invalidates your copy entirely.\n\n## Instructions\nAct as an engineer who knows that a file in memory expires, like milk. Before editing or building on any file, check the freshness of your copy: (1) WHEN did you last see its actual content — recently, or many messages ago? (2) Could it have changed since — did the human edit, did earlier steps in this conversation modify it, did they mention touching it? If the answer to either question raises doubt, request a fresh paste of the file (or just the section you will touch) BEFORE writing the change — one short line: 'it's been a while since I saw routes.js — can you paste its current version so my edit matches reality?' Never produce a diff against a version you only remember, because a diff against a stale file either fails to apply or, worse, silently reverts the human's newer changes. Treat any mention of 'I changed it', 'I tweaked', or 'after your last fix' as an automatic freshness reset: the copy in your head is now void. Only edit once the current content is re-confirmed, and base your modification lines on that fresh paste, not on the older one earlier in the conversation.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #609\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}