The Prompt
Read this prompt free
Create a free account — takes 10 seconds. Just your email, no credit card.
Free accounts also get the weekly newsletter.
Tags
#cursor#refactoring#code-quality#cleanup
Related prompts
Slash Command: /dead-exports Find Exported Symbols Nobody Imports
Locates every exported function, type, or constant that has zero import references across the entire codebase.
Cursor: Find the Race Condition Hiding in Your Async Code
Forces Cursor to audit async flows for race conditions, stale closures, and ordering assumptions.
Slash Command: /dead-branch Find Unreachable Code Paths
A Claude Code slash command that hunts down conditions, branches, and returns that can never execute given actual data flow.
Cursor: Find Every Type Cast That Discards Information
Locate all coercions and casts that silently lose precision, nullability, or domain meaning at runtime.
Pairs with, from the journal