.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.
Cursor .cursorrules: Enforce Consistent Error Handling
Generate a .cursorrules block that forces Cursor to write error handling the same way every time.
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.