---
name: refactor
description: Use for behavior-preserving restructuring, extraction, simplification, modernization, or cleanup of one decided code seam.
---

Root loads `references/root.md`; Worker loads only `references/subagent.md`. Lock behavior and interfaces before editing; keep the diff cohesive and tested.
