Skip to content

proflead/codex-skills-library / skills/planning/refactor-roadmap

refactor-roadmap

Unverified

Create a staged refactor plan for a module. Use when a mid-level developer needs a safe refactor path.

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

  1. Define current pain points and desired end state.
  2. Break into small, testable steps.
  3. 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.
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 318kUpdated Claude CodeCodexUnverifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 318kUpdated Claude CodeCodexUnverifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 318kUpdated Claude CodeCodexUnverifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 318kUpdated Claude CodeCodexUnverifiedInstall