refactor-dispatch
Installation
SKILL.md
Refactor Dispatch
The router behind /refactor. One job: pick the mode, resolve scope, delegate. It
holds no refactoring logic of its own — each engine below owns its rubric. Some modes
edit code, some only report; the mode table says which.
Contract
Inputs:
- A mode argument (
deslop/code/debt/perf/structure/stack), an optional scope flag (--changedfor branch-only,allfor whole monorepo), and a target (file, dir, or PR) forwarded to the engine.
Outputs:
- The delegated engine's output: applied edits (deslop / code / stack), a prioritized report (debt / perf), or a read-only finding list (structure).