🏠 Início
Avaliações
📊 Todos os Benchmarks 🦖 Dinossauro v1 🦖 Dinossauro v2 ✅ Aplicações To-Do List 🎨 Páginas Livres Criativas 🎯 FSACB - Showcase Definitivo 🌍 Benchmark de Tradução
Modelos
🏆 Top 10 Modelos 🆓 Modelos Gratuitos 📋 Todos os Modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de Prompts 📖 Glossário de IA 🔗 Links Úteis
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.