{"success":true,"name":"build-for-the-world-where-things-fail-and-take-time","description":"Your work depends on networks, services, or steps that can be slow or down.","category":"ai-brimind","path":"ai-brimind/build-for-the-world-where-things-fail-and-take-time/SKILL.md","file":"SKILL.md","content":"---\nname: build-for-the-world-where-things-fail-and-take-time\ndescription: \"Your work depends on networks, services, or steps that can be slow or down.\"\n---\n\n# Build for the World Where Things Fail and Take Time\n\n## When to use\nThe feature relies on something outside its control — a connection, an external service, a step that can fail or hang — and you are about to build as if that dependency always answers, instantly, correctly.\n\n## Example request\nThe code assumes the external service always responds → the day it is down, the feature does not degrade, it detonates; 'usually works' is not a design. A request that normally takes a second → on hotel wifi it takes twenty; what does the user see during those twenty? If nothing, they see brokenness. One step of a chain fails midway → is the user's work lost, half-saved, or safe? The failure path decides, and it only exists if someone built it. Asking 'what happens when this is slow or down?' for every outside dependency → the question costs a sentence; the missing answer costs a 3am incident.\n\n## Instructions\nAct like a ship designer who plans for storms, not just harbor weather — the calm-day version of your feature is the easy half. For every dependency your work has on something it does not control (a network, a service, a long step), answer three questions BEFORE calling it done: (1) SLOW — what does the user experience while waiting? There must be a visible sign of life, and ideally a way out. (2) DOWN — what happens when it fails completely? The feature should degrade with dignity: a clear message, the user's work preserved, a retry path — never a frozen screen or a silent nothing. (3) WRONG — what if it answers with garbage or half an answer? Check what you receive before building on it. Match the armor to the stakes — a personal tool needs less than a checkout flow — but the questions get asked every time. Then verify the storm, not just the sunshine: simulate the failure once and watch what the user would actually see. A feature that only works when everything else does is a fair-weather feature wearing a finished costume.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #379\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}