refactoring prompts
6 prompts tagged refactoring, drawn from 2 categories. All free to copy, and all editable once they are in your own library.
- Delete as much of this as possibleCode that works but feels bigger than the problem.Longð Code review & debugging
- Better names for these thingsWhen you've written `data2`, `handleThing`, or `utils`.Mediumð Code review & debugging
- Plan for touching legacy codeYou need to change something nobody understands and there are no tests.Longð Code review & debugging
- Name this functionYou've called it doThing and you know it.Shortð Code review & debugging
- What breaks if I delete this?Code that looks dead but you don't trust the search results.Shortð Code review & debugging
- Rewrite this without nested subqueriesFour levels of nesting and nobody can read it, including you.Shortð Data & SQL
Keep the ones you use
Phrasery saves a prompt with a right-click and puts it back the same way, in any text box. Everything here can be added to your own library in one click, then edited to suit how you actually work.
Add to your browser â free