Autonomous comprehensive refactoring. Three-phase pipeline — Phase 1 /refactor (tactical, loops internally to convergence) → Phase 2 loop of /review-arch + /implement-batch until architectural findings converge below a severity floor (default HIGH+) → Phase 3 /refactor (catches tactical issues introduced by restructuring). Auto-approves /review-arch ticket proposals; pulls the andon cord on contested findings, breaking-change proposals, repeated implementation failure, or Phase-2 hard-cap exhaustion (5 architectural iterations).
$npx -y skills add chrisallenlane/claude-swe-workflows --skill lead-refactorInstalls into the current project.
Run `npx skills use "https://github.com/chrisallenlane/claude-swe-workflows" --skill "chrisallenlane/claude-swe-workflows/lead-refactor"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/chrisallenlane/claude-swe-workflows" that are relevant to the current task. Run `npx skills add "https://github.com/chrisallenlane/claude-swe-workflows"` and select the relevant skills, then follow their instructions.