What problem does it solve?
Helps teams and engineers systematically plan, scope, and execute code refactors while minimizing regressions and hidden complexity by guiding discovery, impact assessment, and implementation planning.
Core Features & Use Cases
- Explore the problem space: restate goals (Feynman Echo), ask clarifying questions, challenge assumptions, and reframe scope.
- Investigate the codebase: map architecture, trace dependencies, find integration points, and surface hidden complexity.
- Compare options: brainstorm approaches, evaluate tradeoffs, and recommend an implementation path with verification criteria.
- Visualize and document: produce ASCII diagrams for before/after architecture, dependency graphs, and module boundaries.
- Risk & test planning: identify risks, propose spike investigations, and define test strategies and acceptance checks.
- Delegation for research: route technology or API research to a researcher subagent when precise external details are required.
- Verification checklist: includes stress-test questions and a Zero-Fog checklist to make refactor goals objectively verifiable.
Quick Start
Ask the refactor skill to explore a proposed change by describing the target module, the desired improvement, and any constraints or non-negotiables.