CursorintermediatePremium
Cursor: Find Every Type Cast That Discards Information
Locate all coercions and casts that silently lose precision, nullability, or domain meaning at runtime.
Use case
Run this before a production release or code review when your codebase does heavy data transformation and you suspect silent numeric or nullability corruption.
The Prompt
Premium prompt
Unlock the full prompt
Get this and every premium prompt with the Inner Circle — $47/mo. Cancel anytime.
Already a member? Sign in.
Tags
#cursor#type-safety#debugging#typescript#code-audit
Related prompts
Find Every Type Cast That Skips Validation
Locates all forced type casts and assertions in your codebase that bypass runtime validation and hide real bugs.
Cursor: Find the Race Condition Hiding in Your Async Code
Forces Cursor to audit async flows for race conditions, stale closures, and ordering assumptions.
Cursor: Find Dead Code and Unused Exports
Audit a codebase for unused functions, exports, and files that can be safely deleted.
Extract Type Safety Gaps From TypeScript Codebase
Finds TypeScript files where `any` types, missing type annotations, or unsafe casts hide potential runtime errors.
Pairs with, from the journal