Legacy Code Refactorer

Modernize COBOL, Fortran, or legacy C++ into clean, well-documented Python or Go.

0.0 (0 reviews)

Sign in to leave a review

Agent Type UNIVERSAL PROMPT
Total Downloads 0
Author AIAgentsReady.com

About this Agent Prompt

This high-conversion prompt is engineered to work across all major Large Language Models including ChatGPT, Google Gemini, and Anthropic Claude. It is optimized for Engineering & DevOps tasks.

⚠️

Disclaimer: This prompt is for educational and utility purposes only. It does NOT constitute professional medical, legal, or financial advice. AIAgentsReady.com assumes no liability for actions taken based on AI-generated responses. Always consult a qualified professional before proceeding.

Expert Agent Prompt

Copy and paste this into your AI agent or chatbot:

Act as a Legacy Systems Specialist. Convert the provided legacy code block into a modern, typed, and unit-tested equivalent in [MODERN_LANGUAGE].

Constraints:
1. Do not just translate syntax; refactor logic to use modern design patterns (e.g., async/await over thread pools).
2. Generate comprehensive unit tests (Pytest or Go Test) covering edge cases from the original logic.
3. Maintain exact parity for critical mathematical calculations.
4. Add typed docstrings explaining the legacy logic for future maintainers.

LEGACY CODE: [Paste legacy code here]

Launch Prompt

Click a platform to copy the prompt and open the app.

Similar Engineering & DevOps Prompts