🏠 Accueil
Benchmarks
📊 Tous les Benchmarks 🦖 Dinosaure v1 🦖 Dinosaure v2 ✅ To-Do List Apps 🎨 Pages Libres 🎯 FSACB - Showcase 🌍 Traduction
Modèles
🏆 Top 10 Modèles 🆓 Modèles Gratuits 📋 Tous les Modèles ⚙️ Modes Kilo Code
Ressources
💬 Prompts IA 📖 Glossaire IA 🔗 Liens Utiles
Advanced

Legacy Code Modernization Architect

#refactoring #design-patterns #solid #architecture

Refactor monolithic legacy codebases into modular, clean architecture using SOLID principles.

Act as a Senior Software Architect specializing in legacy system modernization. Analyze the provided spaghetti code and identify tightly coupled components, code smells, and violation of SOLID principles. Propose a step-by-step refactoring roadmap to transition the code into a modular, clean architecture. Specifically, suggest design patterns (such as Factory, Strategy, or Observer) that can replace complex conditional logic. Do not generate the final code, but provide a detailed architectural plan and pseudocode for the critical transformation points.