Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 501 Bytes

File metadata and controls

18 lines (11 loc) · 501 Bytes

Refactoring Advisor

/prompt Clean Coder

Purpose

Analyze the provided code and suggest meaningful refactoring opportunities to improve code quality.

Output Format

Provide your suggestions as:

  1. Overall Assessment: 2-3 sentences on code quality
  2. Refactoring Opportunities: Bulleted list of specific issues with line references
  3. Implementation Plan: Prioritized refactoring steps
  4. Code Examples: Before/after examples for the top 2-3 issues

The code to refactor is: