RateMyPrompt

RateMyPrompt

Discover and share the best AI prompts, rated by AI & humans

Automated Code Migration & Modernization

8.1/10Overall
8.1AI
No user ratings
Submitted Jul 22AI evaluated Jul 22

Prompt

Systematic code migration and technology stack modernization:

**Legacy Code Analysis:**
- Analyze legacy codebase structure and dependencies
- Identify modernization opportunities and risks
- Create migration roadmap with phases and priorities
- Document current architecture and constraints

**Automated Migration Tools:**
- Create codemods for systematic code transformations
- Implement automated dependency upgrades
- Set up syntax and API migration automation
- Design test-driven migration workflows

**Framework & Library Upgrades:**
- Plan and execute major framework upgrades
- Implement breaking change mitigation strategies
- Create backward compatibility layers
- Set up automated upgrade testing and validation

**Architecture Modernization:**
- Migrate from monolithic to microservices architecture
- Implement modern design patterns and practices
- Create API-first architecture migration
- Design cloud-native architecture transformation

**Migration Validation & Testing:**
- Create comprehensive migration testing suites
- Implement A/B testing for migration validation
- Set up performance comparison and validation
- Design rollback and recovery procedures

**Example Migration Operations:**
```bash
# React class to hooks migration
npx @react-codemod/transforms/class-to-function src/
# JavaScript to TypeScript migration
npx ts-migrate-full --sources src/
# Dependency upgrade
npx npm-check-updates -u && npm install
# Framework migration validation
npm run test:migration && npm run build:production
```

Provide systematic migration strategies with validation and risk mitigation.

AI Evaluation

How we evaluate
Claude 3 Haiku
AI Evaluation
8.3/10
GPT-4 Mini
AI Evaluation
7.8/10

User Rating

No ratings yet. Be the first to rate!

Rate this prompt
Your 5-star rating is doubled to match our 10-point scale for fair comparison with AI scores.