Code Refactoring Use this skill when the job is to improve structure without changing intended behavior . The center of the skill should stay small and repeatable: 1. identify the cleanup packet you actually have, 2. choose one refactor mode, 3. make the behavior guardrail explicit, 4. stage the work in reviewable slices, 5. verify and route remaining work honestly. Read these support docs before handling unfamiliar cleanup work: - references/intake-packets-and-route-outs.md - references/refactor-modes.md - references/handoff-boundaries.md - references/safe-refactor-checklist.md When to use t…