cyberneticlibrary

Execute large-scale refactoring pipelines

refactor-at-scaleworkflowsetup L42
unfallenwill/batonjs
What it does

Large-scale refactor discovery, planning, execution, verification

Best for

Large codebase refactors where understanding scope before execution prevents rework.

Inputs
  • · pattern: string
  • · dir: string
Requires
  • · bash/CLI
  • · git-worktree
Failure modes
  • · Verification step catches regression, halts pipeline
  • · Agent output fails schema validation
Trust signals
  • · Structured agent output via JSON schema validation
  • · Independent verification phase before acceptance