Cursor: Find the Function That's Secretly Doing Five Jobs
A Cursor chat prompt that exposes the hidden responsibilities packed into a single function so you know where to split it.
The Prompt
Already a member? Sign in.
Related prompts
Cursor: Reverse-Engineer the Implicit Contract of a Function
Force Cursor to surface the undocumented assumptions a function depends on before you change a single line.
Find Every Async Function That Blocks on Synchronous I/O
Scan a codebase for async functions secretly doing sync I/O and explain the performance cost of each.
Cursor: Find Every Promise That Can Resolve in the Wrong Order
Surfaces async flows where promise resolution order is assumed but never guaranteed, before it bites you in prod.
Cursor: Find Every Type Cast That Discards Information
Locate all coercions and casts that silently lose precision, nullability, or domain meaning at runtime.
