More in this categoryCoding Prompts
01 / 12
#01Legacy Code Modernization#02AWS Lambda Handler#03Prototype to Deployment#04Landing Page in HTML/CSS#05Query to Optimized Query#06SQL Query Builder#07Plan Feature Then Build#08Unit Tests Generator#09Codebase Question to Fix#10Refactor Legacy Function#11Function Draft to Production-Ready#12REST API Boilerplate
2-phase workflowFeatured
Legacy Code Modernization
Analyze legacy risks, then modernize safely.
Published
Workflow · 2 phases
Phase 1: Phase 1 — Legacy analysis
Analyze this legacy [Java 8 / old Node] code and identify: deprecated APIs, security issues, and performance bottlenecks. List them prioritized by risk. Code: [PASTE CODE]
Phase 2: Phase 2 — Modernized version
Modernize the code to [Java 21 / current LTS]: replace deprecated APIs, apply current best practices, and keep all existing behavior. Provide a migration summary of every change.
Related prompts
- Coding Prompts2 phases
Function Draft to Production-Ready
Draft a working function, then harden it for production.
- GitHub Copilot
By Priya Sharma - Coding Prompts
- Coding Prompts2 phases
- Coding Prompts