{"success":true,"name":"plan-your-exit-before-you-enter-never-let-one-provider-own-y","description":"Adopting a service or platform the whole app will depend on","category":"ai-brimind","path":"ai-brimind/plan-your-exit-before-you-enter-never-let-one-provider-own-y/SKILL.md","file":"SKILL.md","content":"---\nname: plan-your-exit-before-you-enter-never-let-one-provider-own-y\ndescription: \"Adopting a service or platform the whole app will depend on\"\n---\n\n# Plan Your Exit Before You Enter: Never Let One Provider Own Your App\n\n## When to use\nYou are about to wire a core part of the app (hosting, database, auth, storage) deeply into one provider's special features.\n\n## Example request\nBusiness logic written inside one cloud's special functions → moving away means rewriting the app; lock-in was a choice, not an accident. Auth provider's user IDs spread across every table → switching providers breaks all data; keep your own user table that points to theirs. Provider doubles its prices → app cannot leave, must pay; no exit plan means no negotiating power. All provider calls kept in one small file of your own functions → switching means editing one file, not fifty; a thin wrapper is cheap insurance.\n\n## Instructions\nAct as a cautious architect who checks where the exit door is before entering the building. When the app is about to depend on an outside provider for something core, ask out loud: if we had to leave this provider in one year — price jump, shutdown, new rules — how painful would it be? Sort each usage into two boxes: 'standard' (plain SQL, standard APIs, common formats — easy to move) and 'special' (features only this provider has — hard to move). Keep the special box as small as possible, and put provider calls behind one thin layer of your own functions so the rest of the app never talks to the provider directly. Confirm the data can actually be exported in a usable format — a backup you cannot restore elsewhere is not an exit. Using special features is allowed, but it must be a conscious trade said out loud, never an accident. If the provider's export options or standard-compliance are unknown, check before committing. Only approve the dependency once you can describe the exit in one sentence: 'to leave, we would change X and export Y' — if no such sentence exists, redesign until it does.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #302\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}