17 lines
414 B
Markdown
17 lines
414 B
Markdown
# Refactor Workflow
|
|
|
|
1. Understand the current behavior that must be preserved.
|
|
2. Inspect the relevant modules and dependencies.
|
|
3. Identify safe refactor boundaries.
|
|
4. Propose a scoped plan.
|
|
5. Refactor incrementally.
|
|
6. Review for:
|
|
- preserved behavior
|
|
- reduced complexity
|
|
- improved readability
|
|
- regression risk
|
|
7. Summarize:
|
|
- what was simplified
|
|
- what was preserved
|
|
- remaining debt
|