.cursorrules: Flag Any Variable Name That Lies About Its Type
Adds a Cursor rule that catches misleading variable names where the name implies one type but the value is another.
The Prompt
Already a member? Sign in.
Extract Type Safety Gaps From TypeScript Codebase
Finds TypeScript files where `any` types, missing type annotations, or unsafe casts hide potential runtime errors.
Cursor: Find Every Type Cast That Discards Information
Locate all coercions and casts that silently lose precision, nullability, or domain meaning at runtime.
.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.
Cursor .cursorrules: Enforce Consistent Error Handling
Generate a .cursorrules block that forces Cursor to write error handling the same way every time.