Files
gps-denied-desktop/.roo/commands/4.70_execute_decoupling.md
T
Oleksandr Bezdieniezhnykh 8a284eb106 organize structure for .roo and for ai in general
rework rulels
2025-12-10 19:59:13 +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