Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By flight505v1.0.0MITIn 1 marketplace
Comprehensive codebase cleanup across 11 quality dimensions with confidence scoring and build verification gates
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
code-quality, cleanup, refactoring, dead-code, deduplication, type-safety, performance, async ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
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.
# Install
claude /plugin marketplace add jeremylongshore/claude-code-plugins
# Run full cleanup
/cleanup
# Target specific dimensions
/cleanup --dimensions dead,types,security
# Scope to directory
/cleanup src/api/
# Changed files only
/cleanup --changed
Ordered by risk level (LOW → HIGH):
| # | Dimension | What It Finds | Risk |
|---|---|---|---|
| 1 | Dead Code | Unused exports, imports, variables, unreachable code | LOW |
| 2 | AI Slop | Low-value AI-generated comments restating obvious code | LOW |
| 3 | Weak Types | any, missing return types, overly broad generics | MED |
| 4 | Security | Hardcoded secrets, weak crypto, injection vectors | MED |
| 5 | Legacy Code | Deprecated APIs, old syntax, unnecessary polyfills | MED |
| 6 | Type Consolidation | Duplicate types, interfaces with 80%+ overlap | MED |
| 7 | Defensive Code | Unnecessary null checks, impossible error handling | MED |
| 8 | Performance | N+1 queries, blocking I/O, bundle bloat | MED |
| 9 | DRY Deduplication | Copy-pasted blocks (>=10 identical lines) | HIGH |
| 10 | Async Patterns | Floating promises, forEach+async, missing await | HIGH |
| 11 | Circular Deps | Module cycles causing init order issues | HIGH |
11 specialized agents, one per dimension:
dead-code-hunter — finds unreachable and unused codeslop-remover — identifies AI-generated comment noiseweak-type-eliminator — strengthens type annotationssecurity-scanner — flags secrets, injection vectors, weak cryptolegacy-code-remover — modernizes deprecated patternstype-consolidator — merges duplicate type definitionsdefensive-code-cleaner — removes unnecessary guardsperformance-optimizer — spots N+1 queries, blocking I/O, bloatdry-deduplicator — detects copy-paste code blocksasync-pattern-fixer — catches floating promises and race conditionscircular-dep-untangler — maps and resolves module cyclesPrimary: TypeScript, JavaScript, Python Secondary: Go, Rust (via grep patterns) Tool integrations: knip, madge, ruff, jscpd, dependency-cruiser, bandit, vulture
MIT
Jeremy Longshore — Intent Solutions
npx claudepluginhub flight505/skill-forge --plugin code-cleanupPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.