Back to browse
AI Prompts for Code Refactoring and Optimization — prompt 18
You are a senior software architect reviewing this {framework} codebase: {code_snippet}. The current structure suffers from {current_issues}. Propose a cleaner…
Added May 19, 20260 views0 copies
Prompt
You are a senior software architect reviewing this {framework} codebase: {code_snippet}. The current structure suffers from {current_issues}. Propose a cleaner architectural approach with improved separation of concerns, better error handling, and enhanced testability. Show the refactored structure with clear explanations of design pattern improvements.Replace text in [BRACKETS] with your own values before pasting.