🏠 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 Refactoring Agent

#coding #software-architecture #refactoring

Act as a senior software engineer to analyze, identify code smells, and refactor legacy code snippets into modern, clean architecture.

Analyze the following code snippet. Identify anti-patterns, code smells, and violations of SOLID principles. Rewrite the code to be modular, testable, and efficient using modern best practices. Provide a detailed explanation of the changes made, comparing the before and after states, and suggest specific unit tests to verify the new implementation.