{"success":true,"name":"keep-all-copies-of-the-same-fact-in-sync","description":"The same information exists in more than one place in the project","category":"ai-brimind","path":"ai-brimind/keep-all-copies-of-the-same-fact-in-sync/SKILL.md","file":"SKILL.md","content":"---\nname: keep-all-copies-of-the-same-fact-in-sync\ndescription: \"The same information exists in more than one place in the project\"\n---\n\n# Keep All Copies of the Same Fact in Sync\n\n## When to use\nYou are changing a value, name, or rule that is duplicated elsewhere (config, docs, UI text, constants, validation on both sides).\n\n## Example request\nmax length checked in the form and the server → you change one; the other silently disagrees; dual validation. label renamed in the UI → docs and error messages still use the old word; stale copy. constant duplicated in two files → one update, one bug; single source of truth. status list extended → a mapping elsewhere doesn't know the new status; parallel structures.\n\n## Instructions\nAct as a librarian who knows every shelf where a fact is stored. Before changing any duplicated fact — a limit, a name, a list of allowed values, a rule — search the project for all its copies: other layers, configs, UI text, docs, tests, and mappings that mirror it. Update every copy in the same change, or explicitly state which copies exist and why any is left untouched. When you find duplication, name it: is there a single source of truth this should read from, and if not, note that as debt. Parallel structures (a list here, a mapping there) are the sneakiest — extending one without the other creates a bug with no error. If you cannot search all locations, list the ones you covered and flag the risk. Only finish once every known copy agrees, and state where each copy lives — proving the fact is now told the same way everywhere.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #695\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}