# Plan Refactor

> Create a detailed refactor plan with tiny commits via user interview. Writes the plan to a local REFACTORPLAN<short-name.md file. Use when the user asks to "plan a refactor", "create a refactor plan", "plan how to refactor", "restructure" existing code, "extract" a module, or wants tiny-commit decomposition of an existing module without changing behavior. For NEW features or phased additions, use plan-implementation instead. If Claude Code is in plan mode, plan mode itself already produces an in-conversation plan via ExitPlanMode — use review-plan on that draft instead of invoking this skill.

## Facts
- Page: https://tashan.sh/capability/skill-sontek-plan-refactor
- tashan id: skill:sontek/plan-refactor
- Source: https://github.com/sontek/sontek-skills
- Type: skill
- Category: devtools
- tashan score: not scored (catalogued only — too little public evidence)
- Adoption: 9.0
- Upkeep: 59.0
- Freshness: 89.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: MPL-2.0
- Official: no

## Install

```sh
cp -r plan-refactor ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-14 by tashan (https://tashan.sh) from public evidence. Scorer s5.
