cleanup-all
Installation
SKILL.md
Orchestrate the full cleanup pipeline. Runs each of the 8 cleanup skills in a deliberate order chosen so each step shrinks the surface for the next. Halts on first verify failure so you can investigate before the cascade continues.
Preflight
- Confirm intent: this will produce up to 8 separate commits and may touch many files. Show the user the planned order and ask confirmation if the working tree has any commits ahead of the upstream branch (might compound with their unpushed work).
- Git state: refuse on dirty working tree. Each child skill needs a clean baseline for its verify step.
- Create master report:
.claude/cleanup-reports/cleanup-all-{YYYY-MM-DD}.md— child skill reports will be linked from this. - Estimate baseline: capture LOC, file count, dependency count, knip findings, madge cycles count, weak-type count. Used for before/after comparison at the end.
Execution Order
Each child workflow is run by loading the matching local skill instructions for the current agent target. After each, run that skill's verify step. Halt the pipeline on any verify failure — do not proceed to the next step.