Create a staged refactor plan for a module. Use when a mid-level developer needs a safe refactor path.
Install
npx skillscat add proflead/codex-skills-library/refactor-roadmap Install via the SkillsCat registry.
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.