{"success":true,"name":"understand-the-system-before-changing-it","description":"About to modify code in a part of the system you barely know","category":"ai-brimind","path":"ai-brimind/understand-the-system-before-changing-it/SKILL.md","file":"SKILL.md","content":"---\nname: understand-the-system-before-changing-it\ndescription: \"About to modify code in a part of the system you barely know\"\n---\n\n# Understand the System Before Changing It\n\n## When to use\nYou are about to change code whose surrounding flow (callers, data sources, side effects) you have not traced yet.\n\n## Example request\nediting a function without knowing who calls it → another screen breaks; hidden caller. changing a saved value's shape → old stored data no longer loads; data contract. removing a 'useless' line → it was feeding a background job; unseen side effect. tweaking shared code for one case → three other cases change too; shared ownership.\n\n## Instructions\nAct as an explorer who maps the territory before touching it. Before changing any code, trace: who calls this, what data flows in and out, what it writes or triggers elsewhere, and what depends on its current behavior. Name the role this code plays in the system in one sentence — if you can't, you don't understand it yet, so read more or ask. Classify the change: local (safe inside one boundary) or contract-breaking (changes what others rely on). For contract-breaking changes, list every consumer and how each is handled. If you lack the files to trace the flow, request them instead of assuming. Only change the code once its role and consumers are confirmed, and explain why the change is safe for every consumer — not just for the one case you were asked about.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #687\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}