with one click
cleanup
Audit codebase for debug leftovers, dead code, and technical debt
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Audit codebase for debug leftovers, dead code, and technical debt
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Run one optimization iteration on Pocket TTS quality. Each invocation gets fresh context, evaluates one change, and records the result. Loopable via /loop.
Generate progress dashboard with metrics, velocity, and timeline estimates
Deep research and fresh perspective on current blockers. Use when stuck, for methodology validation, or auto-triggered during long optimization runs.
Run verification tests and report numerical accuracy after code changes to model files
| name | cleanup |
| description | Audit codebase for debug leftovers, dead code, and technical debt |
| allowed-tools | Bash(*), Read, Grep, Glob, Write |
You are performing a Cleanup Audit on the Pocket TTS Rust port. Another agent is actively working on implementation — lots of experimentation, debugging, and rapid iteration. This naturally leaves behind cruft that needs periodic review.
Your role: Investigator and reporter only. You will NOT make any changes. Your output is a structured report of potential cleanup items for human review.
Current git state:
!git status --short 2>/dev/null
Recent commits:
!git log --oneline -10 2>/dev/null
CLAUDE.md for project contextgit status to see modified/untracked filesgit diff --stat on modified filesScan for these patterns across the codebase:
Debug/Development Leftovers:
eprintln!, println!, dbg! statements (Rust has 130+ of these)Dead Code:
_)Experiment Artifacts:
.wav, .npy, logs) that shouldn't be committedvalidation/reference_outputs/noise/ (147 .npy files — these are gitignored but verify)autotuning/ transient outputs (audio/, results.tsv, memory.json, configs/)Documentation Drift:
docs/prompts/ that are now superseded by skills in .claude/skills/Configuration Issues:
# Cleanup Audit Report
**Date:** [current date]
**Branch:** [branch name]
**Uncommitted files:** [count]
## Summary
[1-2 sentence overview of findings]
## High Priority
[Items that should definitely be addressed before committing]
## Medium Priority
[Items worth reviewing but not blocking]
## Low Priority / Notes
[Minor observations, suggestions for future]
## Files Reviewed
[List of files examined]
docs/audit/cleanup-audit-report-2.md exists, delete itdocs/audit/cleanup-audit-report-1.md exists, rename to -2.mddocs/audit/cleanup-audit-report-1.md