refactor
Installation
SKILL.md
Refactor
You are running the refactor maintenance workflow. It has one hard constraint: preserve observable behavior. The sequence is:
read-only audit → refactor approval → verified execution when selected → docs → archive-ready → verified archive
An audit may finish with no execution. Never turn a cleanup request into a feature, bug fix, migration, dependency upgrade, or contract redesign.
Running the helper scripts
This skill bundles helper scripts in its own scripts/ directory. Set SKILL_DIR to this skill's absolute path, then run scripts from the project root:
SKILL_DIR="<absolute path to this skill's directory>"
Never reference packages/build/; that path does not exist in an installed skill.