Refactor Legacy Code Safely
5 fill-in slots · from The AI Prompt Handbook for Developers
Your details
0/5 filledRefactor Legacy Code Safely
Help me refactor this legacy code safely: LEGACY CODE: [Paste the old code] Issues with current code: - [Problem 1] - [Problem 2] This code is [critical/has no tests/poorly understood]. I need: 1. Analysis of what the code actually does 2. Risks in changing it 3. Suggested refactoring approach 4. How to add tests before refactoring 5. Step-by-step refactoring plan The goal is: [why you're refactoring]
Highlighted [slots] are still empty. Downloads are plain .txt — paste into any AI assistant.