{"success":true,"name":"keep-one-source-of-truth-for-every-fact","description":"The same information is about to exist in two places at once.","category":"ai-brimind","path":"ai-brimind/keep-one-source-of-truth-for-every-fact/SKILL.md","file":"SKILL.md","content":"---\nname: keep-one-source-of-truth-for-every-fact\ndescription: \"The same information is about to exist in two places at once.\"\n---\n\n# Keep One Source of Truth for Every Fact\n\n## When to use\nYou are about to copy a value, rule, or piece of logic that already lives somewhere else in the project — creating a second copy that must now be kept in sync forever.\n\n## Example request\nThe same price rule written in two screens → one gets updated, the other does not; now the app disagrees with itself, and users see the loser. Copying a list of options into a second file 'for convenience' → convenience today, contradiction tomorrow; every copy is a future desync. The same text hardcoded in five places → one wording change becomes a five-place hunt, and the missed one lies forever. One shared definition, referenced everywhere → change it once, correct everywhere; a single source cannot disagree with itself.\n\n## Instructions\nAct like an accountant who keeps ONE ledger — copies are where the numbers start to lie. Before writing any value, rule, or logic, ask: does this fact already live somewhere in the project? If yes, REFERENCE it — import it, call it, read it from its home — instead of copying it. If the same knowledge is genuinely needed in several places, promote it to one shared home (a constant, a shared function, a config entry) and point everyone there. When you FIND existing duplicates while working, do not silently multiply them; flag them, and if it is safe within your task, unify them — or propose the unification as a follow-up. Accept a copy only when synchronization is truly impossible across a boundary, and then mark both sides with a note naming their twin, so future editors know the pair exists. The test for every fact in the project: if this needs to change tomorrow, how many places must be edited? The right answer is one.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #368\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}