cleanup-all

Solid

Run all 8 cleanup skills in sequence: unused → cycles → dedupe → types → weak-types → defensive → legacy → slop. Each step verifies before the next runs; halts on first failure. Produces one consolidated report. Use when the user asks to clean up the whole codebase, run all cleanup skills, do a full code-quality pass, or sweep the repo. Example queries — "clean up the whole codebase", "run a full code-quality pass", "sweep this repo", "do all the cleanups in order".

AI & Automation 78 stars 9 forks Updated today MIT

Install

View on GitHub

Quality Score: 87/100

Stars 20%
63
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

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 1. **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). 2. **Git state**: refuse on dirty working tree. Each child skill needs a clean baseline for its verify step. 3. **Create master report**: `.claude/cleanup-reports/cleanup-all-{YYYY-MM-DD}.md` — child skill reports will be linked from this. 4. **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. 1. **`cleanup-unused`** — delete dead code first. Less for everything downstream to scan. 2. **`cleanup-cycles`** — fix the dependency graph next. Other refactors are safer in an acyclic graph. 3. **`cleanup-dedupe`** — extract duplicates. Now that dead code is gone and graph is clean, real duplicates surface. 4. **`cleanup-types`** — consolid...

Details

Author
raintree-technology
Repository
raintree-technology/agent-starter
Created
7 months ago
Last Updated
today
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category