Clean Architecture Refactoring Plan
Transform messy code into a clean, scalable, maintainable architecture.
Technical · By Russell Smith
Prompt
Refactoring Plan Strategy
Create a comprehensive refactoring plan for improving the architecture of a project built with {{language_or_framework}}. This project is a {{project_type}} and the goal is to align the codebase with a {{target_architecture}} pattern.
Current System Description
{{current_state_description}}
Specific Requirements
Focus the plan specifically on improving {{priority_focus}} and ensure the output includes:
A proposed folder structure
Layered architecture recommendations
Naming conventions
Dependency rules
Identification of code smells and their specific solutions
Example rewritten components or services
A migration roadmap divided into logical phases
The final output must prioritize scalability, readability, and long-term maintainability for the development team.