What problem does it solve? Coordinating code purification and refactoring passes manually is error-prone and can interleave concerns. This Skill automates the orchestration of purify and refactor subagents in strict sequence, looping until no further changes are needed. ## Core Features & Use Cases - Sequential Subagent Orchestration: Runs purification loops to completion before starting refactoring loops, never interleaving or parallelizing them. - Status-Driven Looping: Repeats each subagent pass until it returns a No Changes status, and halts immediately on any Failed status or process error. - Read-Only Safety: The orchestrator never edits code, tests, or documentation itself; all changes come from the spawned subagents. - Use Case: Point the Skill at a legacy module with accumulated code smells, and it will drive repeated purify passes followed by refactor passes until the code stabilizes, then report a terse execution summary. ## Quick Start Ask the agent to run the clean skill on a target file or folder, for example: clean the src/legacy module using the purify and refactor agents.