cyberneticlibrary

Plan refactoring with risk mitigation

refactoring-plannersubagentsetup L123
burnjohn/quick-blog
What it does

Plan and execute code refactoring

Best for

Systematic refactoring with minimal behavior change and high test coverage

Inputs
  • · configuration parameters
  • · project/repo path
Outputs
  • · refactored code
  • · migration guide
Requires
  • · File I/O
  • · Bash/CLI
Preconditions

Source code readable

Failure modes
  • · Missing input
  • · Invalid configuration
  • · Execution timeout
Trust signals
  • · Open-source repo
  • · Clear documented workflow
  • · Role-specific scope