code-cleanup
Comprehensive codebase cleanup across 11 quality dimensions — dead code, duplication, weak types, circular deps, defensive cruft, legacy code, AI slop, type consolidation, security, performance, and async patterns. Confidence scoring and build verification gates.
Installation
Open Claude Code and run this command:
/plugin install code-cleanup@claude-code-plugins-plus
Use --global to install for all projects, or --project for current project only.
What It Does
Comprehensive codebase cleanup across 11 quality dimensions with confidence scoring, build verification gates, and specialized agents.
Born from a real cleanup session — 25,000 lines removed, 4 bugs caught — packaged into a reusable Claude Code plugin.
Skills (1)
Comprehensive codebase cleanup across 11 quality dimensions: dead code, duplication, weak types, circular deps, defensive cruft, legacy code, AI slop, type consolidation, security, performance, and async patterns.
How It Works
- Safety checkpoint — verify clean git state, green tests, record baseline
- Scope determination — full codebase, directory, or changed files
- Dimensional scan — each dimension scans with tools + grep patterns
- Confidence scoring — HIGH (auto-apply), MEDIUM (flag with fix), LOW (flag only)
- Build verification — type check + tests after each auto-applied dimension
- Report generation — summary table, applied changes, flagged items