chatgpt Prompts
CodingChatGPT
Architectural Legacy Refactoring and Dead Code Excision Engine
Transforms messy, unmaintainable legacy code into high-performance, modern, and perfectly audited software architectures.
The Prompt
Act as a Principal Software Architect and Code Optimization Specialist. Analyze the provided legacy codebase snippet or module: [codebase_input]. Your task is to perform a comprehensive architectural refactoring, eliminate all dead code, resolve code smells, and modernize the syntax to adhere strictly to the following paradigm and conventions: [target_standards]. Ensure you maintain 100% backward compatibility with existing public APIs while drastically improving O(n) time complexity and memory footprint. Output the fully refactored, production-ready code along with an itemized audit log explaining every architectural change, performance gain, and dead code block removed.
Difficultyadvanced
Created ByQuickTool AI
Views2
Copies0
Tools for the next step
These links are selected from this page's topic, not from a generic popularity list.
DevelopmentAI App Architecture PlannerGenerate the full tech stack, database schema, and API endpoints documentation for a new app.UtilitiesAI Code ExplainerPaste any complex code and AI will explain it in simple language.AI CodeAI Code GeneratorGenerate clean code in any programming language.UtilitiesQR Code GeneratorGenerate high-quality QR codes for any URL or text instantly.