commands/orch-refine-code.md
Manually launch the orch-refine-code orchestrator: improve structure while behavior stays identical, with the existing test suite as the safety net.
/orch-refine-code <what to restructure>
Examples:
/orch-refine-code extract the NWS HTTP client out of poller.py
/orch-refine-code remove dead code and duplication in the dashboard module
Invoke the orch-refine-code skill with $ARGUMENTS as the request. The skill
(via the shared orch-pipeline engine) will:
refactor-cleaner.code-reviewer, then commit as refactor: (the diff must be behavior-neutral). → GATE 2.Use this only when behavior must not change. If behavior should change at
all, use /orch-change-feature or /orch-fix-defect.
If $ARGUMENTS is empty, ask the user what to refine.