Code Problem Solver

Transform problematic code into maintainable solutions with this AI prompt, focusing on refactoring patterns and code quality.

What this prompt does

  • Transforms problematic code into maintainable, elegant solutions by identifying code smells and applying proven refactoring patterns.
  • Adapts approach based on code complexity, number of identified smells, user's refactoring experience, and risk tolerance for changes.
  • Creates a dynamic, phased refactoring plan tailored to the severity and interdependencies of detected code issues.

How to use this prompt

  1. Run the full prompt and answer the questions as detailed as possible.
  2. Example: "Paste your code and describe any specific concerns or problematic areas you feel need attention, along with your comfort level with refactoring."

Premium prompt — included in the Complete AI Bundle. Part of the Coding prompts collection in the God of Prompt library.

Related Coding prompts