{"success":true,"name":"decide-what-the-app-does-offline-and-on-bad-networks-before-","description":"Building features that assume the network is always there and fast","category":"ai-brimind","path":"ai-brimind/decide-what-the-app-does-offline-and-on-bad-networks-before-/SKILL.md","file":"SKILL.md","content":"---\nname: decide-what-the-app-does-offline-and-on-bad-networks-before-\ndescription: \"Building features that assume the network is always there and fast\"\n---\n\n# Decide What the App Does Offline and on Bad Networks Before Shipping\n\n## When to use\nThe app will be used on phones, TVs, or unstable connections, and no decision exists for what each feature does when requests fail or hang.\n\n## Example request\nuser submits on a dead connection → work lost, no message; unplanned offline. app opens with no network → blank white screen instead of cached content; no degraded mode. connection returns → nothing retries or syncs; no recovery story. — each feature assumed a perfect wire.\n\n## Instructions\nAct as a ship designer who plans for storms, not just harbor weather. For each feature, decide and write down its offline behavior on a simple scale: fully works offline (cached data, queued actions), degrades visibly (read-only, stale data with a 'last updated' marker), or honestly unavailable (clear message, never a blank screen or infinite spinner). For anything the user creates while disconnected, decide its fate: held and retried, saved locally, or rejected upfront — losing typed work silently is the one forbidden outcome. Plan the reconnection moment too: what syncs, in what order, and what happens if the world changed meanwhile. Test by actually cutting the network mid-flow — before the request, during it, and on app start — not by imagining it. If the product decision is 'online-only', that is legitimate: then every screen must say so clearly when offline. Only proceed once every feature has a stated answer to 'and if there's no network right now?' — because on real devices, there often isn't.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #764\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}