Orchestrated Batch Refactor

•
40k
•

Manages large-scale code refactors by partitioning work into dependency-aware packets executed by parallel sub-agents.

The Orchestrated Batch Refactor skill is designed for high-throughput codebase transformations that exceed the scope of simple edits. It utilizes a sophisticated multi-agent workflow: 'explorer' agents analyze subsystems in parallel to identify coupling risks, a central coordinator synthesizes a dependency-aware work graph, and 'worker' agents execute isolated packets with strict file ownership. This structured approach ensures that complex migrations, architectural shifts, or system-wide cleanups are performed safely, preventing merge conflicts and maintaining behavioral parity through rigorous validation gates.

Key Features

01Automated validation strategy with packet-level and integration checks
02Parallel codebase analysis using specialized explorer sub-agents
0340,309 GitHub stars
04Dependency-aware work packet generation to prevent merge conflicts
05Comprehensive planning contract for risk mitigation and invariant preservation
06Multi-agent execution with strict file ownership and boundary rules

Use Cases

01Standardizing architectural patterns or design systems across a repository
02Decoupling monolithic modules into independent subsystems
03Executing system-wide API migrations across hundreds of files