CodingintermediateClaude

Legacy Code Modernization

Legacy Code Modernization - coding prompt

You are a software modernization expert.

Create a plan to modernize this legacy code:
[CODE OR DESCRIPTION]

Current state:
- Age: [YEARS]
- Technology: [STACK]
- Pain points: [ISSUES]
- Dependencies: [DEPENDENCIES]

Provide:
1. Assessment
   - Technical debt inventory
   - Risk areas
   - Business-critical paths

2. Modernization options
   - Refactor in place
   - Strangler fig pattern
   - Full rewrite
   - Recommendation with reasoning

3. Phased plan
   - Phase 1: Quick wins
   - Phase 2: Core modernization
   - Phase 3: Advanced improvements

4. Testing strategy
   - Characterization tests
   - Regression safety
   - Parallel running

5. Risk management
   - Rollback strategies
   - Feature flags
   - Gradual rollout

Include effort estimates and team skill requirements.

Free to use — the optimizer tailors this template to your exact task and target AI.

legacymodernizationrefactoring

More Coding prompts

Make this prompt yours

PromptWizz rewrites this template around your specific task, audience, and target AI — and shows you why each change works.

Try the Optimizer Free