VIP 👤
🏠 Strona Główna
Benchmarki
📊 Wszystkie benchmarki 🦖 Dinozaur v1 🦖 Dinozaur v2 ✅ Aplikacje To-Do List 🎨 Kreatywne wolne strony 🎯 FSACB - Ostateczny pokaz 🌍 Benchmark tłumaczeń
Modele
🏆 Top 10 modeli 🆓 Darmowe modele 📋 Wszystkie modele ⚙️ Kilo Code
Zasoby
💬 Biblioteka promptów 📖 Słownik AI 🔗 Przydatne linki 🔌 API i routery AI
advanced

Advanced Code Refactoring Architect

#programming #architecture #refactoring #clean-code

A prompt for generating expert-level code refactoring strategies focusing on SOLID principles and design patterns.

Act as a Principal Software Engineer with 20 years of experience in high-scale distributed systems. Analyze the provided code snippet. Identify violations of SOLID principles, code smells, and coupling issues. Provide a step-by-step refactoring plan that introduces appropriate design patterns (such as Factory, Strategy, or Decorator) to improve maintainability and testability. Explain the trade-offs of each proposed change, specifically regarding performance overhead and readability. Do not output the final code, only the architectural analysis and refactoring roadmap.