🏠 الرئيسية
المقاييس
📊 جميع المقاييس 🦖 ديناصور v1 🦖 ديناصور v2 ✅ تطبيقات قائمة المهام 🎨 صفحات حرة إبداعية 🎯 FSACB - العرض النهائي 🌍 مقياس الترجمة
النماذج
🏆 أفضل 10 نماذج 🆓 نماذج مجانية 📋 جميع النماذج ⚙️ كيلو كود
الموارد
💬 مكتبة الأوامر 📖 قاموس الذكاء الاصطناعي 🔗 روابط مفيدة
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.