Code review & debugging21 categories
What breaks if I delete this?
Code that looks dead but you don't trust the search results.
What breaks if I delete this? Callers, side effects, and anything that would fail silently rather than loudly.
Making it yours
- Paste your own material where the prompt asks for it. Everything above that line is instruction, not content.
- Delete any rule that does not apply to you. A shorter prompt that fits beats a thorough one that does not.
- If the answer comes back vague, add a line saying what you do not want. Constraints work better than encouragement.
Understanding code you inherited. Making sense of an unfamiliar file, line or regex before you dare change it.
Related prompts
Explain this unfamiliar codeInherited a file and need to understand it before touching it.Plan for touching legacy codeYou need to change something nobody understands and there are no tests.Explain this lineA single line you keep re-reading without it landing.What is this regex doing?A regex you inherited and are afraid to touch.Review this diff, correctness firstThe default review pass before you merge anything.Try to prove this code wrongWhen a review came back clean and you don't believe it.
Keep this one
Phrasery saves prompts with a right-click and puts them back the same way. Add this to your own library in one click.
Add to your browser โ free