Refactor Roadmap
Create a staged refactor plan for a module
install path
~/.claude/skills/refactor-roadmap/SKILL.md command
/refactor-roadmap SKILL.md
Refactor Roadmap
Purpose
Create a staged refactor plan for a module.
Inputs to request
- Current pain points and target state.
- Test coverage and risk tolerance.
- Dependencies and release constraints.
Workflow
- Define current pain points and desired end state.
- Break into small, testable steps.
- Add guardrails: tests, feature flags, or metrics.
Output
- Refactor sequence with checkpoints.
Quality bar
- Ensure each step is reversible.
- Tie steps to tests or metrics.
Copy this into ~/.claude/skills/refactor-roadmap/SKILL.md to use it as a slash command in Claude Code.