cleanup-auditlisted
Install: claude install-skill Pythoughts-labs/pythinker-code
# Cleanup Audit
A read-only, whole-repo pass that hunts accidental complexity and over-engineering. The diff-scoped
version of this job already ships as `pythinker review diff --mode deslopify`; this skill is its
repo-wide complement — scan the whole tree, rank the biggest cut first.
Scope is complexity only. Correctness bugs, security holes, and performance belong to a normal
review or security pass — note them in one line if you trip over them, but do not chase them here.
## What to hunt
- Dead code, unused flexibility, and speculative features no caller needs.
- Hand-rolled logic the standard library already ships — name the function that replaces it.
- A dependency (or hand-written code) doing what the language, runtime, or framework already does.
- Single-implementation interfaces, one-product factories, wrappers that only delegate, a module
that exports one trivial thing, dead flags and config nobody sets.
- The same logic spelled out long-hand where a shorter, equally clear form exists.
## How to work
1. Map before judging: read the tree, the manifest/lockfile, and entry points; use `Grep`/`Glob`
(or `LSP` for references and call hierarchy) to confirm a thing is actually unused before
proposing its deletion. A deletion proposed without checking callers is a guess.
2. Rank findings biggest cut first.
3. Apply nothing. This is a report.
## Output
One line per finding, ranked, each tagged and citing a path:
- `delete:` — dead code / speculative feature. R