🏠 Главная
Бенчмарки
📊 Все бенчмарки 🦖 Динозавр v1 🦖 Динозавр v2 ✅ Приложения To-Do List 🎨 Творческие свободные страницы 🎯 FSACB - Ультимативный показ 🌍 Бенчмарк перевода
Модели
🏆 Топ-10 моделей 🆓 Бесплатные модели 📋 Все модели ⚙️ Режимы Kilo Code
Ресурсы
💬 Библиотека промптов 📖 Глоссарий ИИ 🔗 Полезные ссылки
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.