refactor
Architecture refactor mode: set a concrete improvement goal, refactor until the architecture is simpler and coherent, live-test after each significant step, autoreview, commit green milestones, and track progress in /tmp/refactor-{project}.md. Use when: "refactor this", "clean up the architecture", "make the design better", "refactor until you're happy", "pay down design debt", "simplify this subsystem". Trigger: /refactor.
/refactor
Source: skills/refactor/SKILL.md
What to verify
- The source file exists and carries valid frontmatter.
- The primitive has one generated reference page.
- Claims trace back to the linked source.