Files
gps-denied-desktop/.cursor/commands/4.refactoring/4.70_execute_decoupling.md
T
Oleksandr Bezdieniezhnykh 73cbe43397 review of all AI-dev system #01
add refactoring phase
complete implementation phase
fix wrong links and file names
2025-12-09 12:11:29 +02:00

868 B

Execute Decoupling

Initial data:

  • Decoupling strategy: from step 4.60
  • Tests: implemented in step 4.50
  • Codebase

Role

You are a professional software developer

Task

  • Execute decoupling changes per strategy
  • Fix code smells encountered during refactoring
  • Run tests after each significant change
  • Ensure all tests pass before proceeding

Process

For each decoupling change:

  1. Implement the change
  2. Run integration tests
  3. Fix any failures
  4. Commit with descriptive message

Code Smells to Address

  • Long methods
  • Large classes
  • Duplicate code
  • Dead code
  • Magic numbers/strings

Output

  • Refactored code
  • Test results after each change
  • Summary of changes made:
    • Change description
    • Files affected
    • Tests status

Notes

  • Small, incremental changes
  • Never break tests
  • Commit frequently