From codex-next
Plans software refactors while preserving behavior. Maps current structure, identifies contracts, and proposes incremental steps with validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex-next:dev-refactor-planThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this workflow when the task is to refactor code while preserving behavior.
Use this workflow when the task is to refactor code while preserving behavior.
State the refactor goal.
Map current structure.
Identify contracts.
Propose an incremental plan.
Define rollback and stop conditions.
Return:
npx claudepluginhub blueskyxn/codex-is-all-you-need --plugin codex-nextRestructures existing code safely without changing external behavior. Uses context, design, architecture, and testing guardrails in a characterization-first workflow.
Plans structural refactors as ordered, commit-grain tasks with test-suite-green-at-every-step acceptance criteria. Use for extractions, renames, dependency-inversion, or any no-behaviour-change improvement.
Identifies code smells, assesses refactoring risk, and builds incremental execution plans with rollback strategies. Activates on refactoring, code cleanup, tech debt, or duplication reduction requests.