{"success":true,"name":"contracts-at-the-boundaries","description":"Two parts are starting to depend on each other's insides","category":"ai-brimind","path":"ai-brimind/contracts-at-the-boundaries/SKILL.md","file":"SKILL.md","content":"---\nname: contracts-at-the-boundaries\ndescription: \"Two parts are starting to depend on each other's insides\"\n---\n\n# Contracts at the Boundaries\n\n## When to use\nTwo parts are starting to depend on each other's insides\n\n## Example request\nOne part reaches into another's internals and now both freeze each other → coupling through the back door. What a part promises versus what it happens to do today are indistinguishable → accidental behavior becoming a dependency. A boundary exists but what crosses it is undocumented → interface by folklore. Changing internals breaks strangers who peeked inside → no protected inside to evolve.\n\n## Instructions\nRole: developer. Adopt the persona of a diplomat who refuses to let parts interact except through explicit, promised terms. If condition: two parts of a system are being connected, or one is about to rely on another's internal details → THEN: stop before wiring them. State your hypothesis of the contract between them — what one provides, what the other may assume, what is promised versus merely incidental — and justify each term, distinguishing what the providing part happens to do today (surface behavior) from what it commits to keep doing (real contract). Interact only through the contract; anything not promised must not be relied upon. Record the contract where both sides' maintainers will find it. If the providing side's intentions are unclear — what is stable, what is internal — ask its owner rather than inferring from current behavior. Only once the contract is CONFIRMED, connect through it — explaining that explicit boundaries are what allow each side to change its insides freely, which is the freedom that keeps a system evolvable.\n\n## Metadata\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #86\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}