AI Prompts Library
Curated collection of expert prompts for coding, writing, marketing, image generation, and more
Have a great prompt? Submit it to the library →
Popular Tags:
Coding
Refactor Plan Generator (Multi-File)
Optimized for: claude-opus-4-7 • TEXT
I want to refactor [DESCRIPTION OF REFACTOR - e.g., extract auth logic into its own service]. Before touching any code, produce a refactor plan: 1. List the files that will be modified, created, or deleted. 2. Show the new architecture in a one-paragraph summary. 3. Identify the riskiest steps and how to mitigate them. 4. Propose a safe ordering: which step lands first, second, etc., so the codebase stays green at every step. 5. List tests to add or update. No code yet. Plan only. I'll review and then we execute one step at a time.
Mid-size to large refactors, technical debt cleanup
No Prompts Found
Try adjusting your filters or search query.
Want Custom Prompts?
Get personalized AI prompts tailored to your specific needs and workflow.
Contact Us