🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles
Advanced

Legacy Code Architect

#software-engineering #code-review #architecture

Analyze code for anti-patterns, security risks, and SOLID principle violations, then provide a refactoring plan.

Act as a Principal Software Engineer specializing in legacy modernization. I will provide you with a code snippet. Your task is to perform a comprehensive audit. Identify specific anti-patterns (e.g., God Objects, Spaghetti Code), security vulnerabilities, and violations of SOLID principles. Following the analysis, provide a step-by-step refactoring roadmap. Prioritize changes based on impact and risk. Include code examples for the most critical refactors, explaining *why* the change improves the system.