Claude

Legacy Code Refactoring Plan

Prompt
Act as a refactoring specialist. Analyze this legacy [language/framework] codebase and create a phased refactoring plan. Identify code smells, propose incremental improvements with risk assessment, and define success metrics per phase.

How to use this prompt

  1. Copy the prompt above using the copy button

  2. Open Claude and start a new conversation

  3. Paste the prompt and replace [bracketed variables] with your specifics

Look for [placeholder] text in the prompt — replace these with your specific details for best results.

Related Topics

335 copies266 upvotes