# Refactor Plan

> Produce a safe step-by-step refactor plan before touching code. Use when the user wants to restructure, clean up, or modernize a module.

- Skill: `archit-13028/refactor-plan` (Agent Skill)
- Install (CLI): `npx skillmds@latest add archit-13028/refactor-plan`
- Raw SKILL.md: https://api.skillmd.com/api/skills/archit-13028/refactor-plan/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Archit-13028 (https://skillmd.com/u/archit-13028)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/archit-13028/refactor-plan

---


# Refactor Plan

## Instructions

1. Map the current structure: entry points, public API, call sites.
2. State the target shape in one paragraph.
3. Break the work into steps that each keep the test suite green.
4. Flag risky steps and say exactly how to verify them.

## Rules

- Never mix behavior changes with moves or renames in one step.
- Each step must be independently revertable.
- Estimate risk, not time.

