What problem does it solve?
Iterative, autonomous refactoring workflow that improves code quality within an existing architecture by identifying tactical issues (DRY, dead code, naming, complexity) and applying safe, verifiable changes through SME implementation and QA verification until no opportunities remain.
Core Features & Use Cases
- Autonomous, iterative refactoring loops that target technical debt while preserving behavior.
- Prefers the least aggressive changes first and resurfaces opportunities after each pass.
- Fresh agent instances for each pass to prevent context carryover, with atomic commits and built-in QA gates.
- Supports scoped operation and multi-language SME assignment (Go, Docker, Makefile, GraphQL, etc.), plus fallback implementations where no SME exists.
- Generates completion summaries and keeps documentation up to date via doc-review.
- Real-world use: cleanup dead code, DRY improvements, and simplification of complex constructs across a codebase.
Quick Start
Start the /refactor workflow to initiate an autonomous loop that discovers, implements, and verifies code quality improvements until no opportunities remain.