🏠 Trang chủ
Benchmark
📊 Tất cả benchmark 🦖 Khủng long v1 🦖 Khủng long v2 ✅ Ứng dụng To-Do List 🎨 Trang tự do sáng tạo 🎯 FSACB - Trình diễn cuối cùng 🌍 Benchmark dịch thuật
Mô hình
🏆 Top 10 mô hình 🆓 Mô hình miễn phí 📋 Tất cả mô hình ⚙️ Kilo Code
Tài nguyên
💬 Thư viện prompt 📖 Thuật ngữ AI 🔗 Liên kết hữu ích
Advanced

Legacy System Refactorer

#refactoring #design-patterns #optimization

Guides the model through a step-by-step refactoring of messy legacy code into clean, modular architecture.

Analyze the provided legacy code snippet. Identify code smells and violations of SOLID principles. Propose a refactoring plan that introduces appropriate design patterns (e.g., Factory, Strategy, Observer) to decouple components. Provide the refactored code in [Language] and explain how each change improves maintainability and scalability. Code: [Insert Code]