orch-refine-code
Orchestrate a behavior-preserving refactor — confirm tests are green, restructure without changing behavior, keep tests green, review, and gated commit. Use when the structure should improve but behavior must not change.
- installs 8w
- 1,648
- 30-day movement
- starts with the next reading
- Related entries
- 2
- Connections
- 0
orch-refine-code is an agent skill that orchestrates a behavior-preserving refactor: it confirms tests are green, restructures code without changing behavior, keeps tests green, reviews, and makes a gated commit. It is a thin wrapper over the shared orch-pipeline engine, configured with phase mask 0→2→4→5→6 and delegating dead-code and duplication sweeps to the refactor-cleaner agent.
Reach for it when you want code structure improved through a test-gated workflow that explicitly prevents behavior changes.
Use it to
- Extract modules from tangled code
- Remove duplication across files
- Kill dead code via refactor-cleaner sweeps
- Reduce nesting depth in complex functions
- Rename identifiers for clarity without behavior change
For Developers using AI coding agents who need safe refactoring
- Host repository
- affaan-m/ECC
- Installs, lifetime
- 2,300
- Installs, 8 weeks
- 1,648
- Host stars
- 259k
- Host language
- JavaScript