.cursorrules: Require Failure Mode Documentation on Every External Call
Forces the AI to document what breaks and how before writing any code that touches an external service or API.
The Prompt
Already a member? Sign in.
Related prompts
Map Every Third-Party SDK Call That Has No Fallback
Identifies every external SDK or service call in the codebase that will hard-fail with no graceful degradation if the vendor goes down.
.cursorrules: Enforce Error Handling Discipline by Layer
A drop-in .cursorrules block that makes Cursor handle errors differently at the boundary, service, and infrastructure layers.
.cursorrules: Forbid Silent Catches and Swallowed Errors
A .cursorrules block that makes Cursor refuse to write try/catch blocks that hide failure from the caller.
.cursorrules: Make the AI Justify Every Abstraction It Creates
A .cursorrules block that forces the AI to defend new wrappers, helpers, and layers before adding them.
