| name | refactor-roadmap |
|---|---|
| description | Create a staged refactor plan for a module. Use when a mid-level developer needs a safe refactor path. |
Create a staged refactor plan for a module.
- Current pain points and target state.
- Test coverage and risk tolerance.
- Dependencies and release constraints.
- Define current pain points and desired end state.
- Break into small, testable steps.
- Add guardrails: tests, feature flags, or metrics.
- Refactor sequence with checkpoints.
- Ensure each step is reversible.
- Tie steps to tests or metrics.