/codebase-maintenance:ai-slop-cleanerfrom codebase-maintenance
Reduces AI-generated code bloat through systematic cleanup of duplication, dead code, needless abstraction, and boundary violations. Use when code feels noisy or over-abstracted.
Ships in codebase-maintenance. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reduce AI-generated code bloat through systematic, smell-by-smell cleanup that preserves existing behavior and raises signal quality.
--review mode.This skill accepts an optional file list scope. If a changed-files list is provided, keep the cleanup strictly bounded to those files. Do not silently expand a changed-file scope.
Lock behavior with regression tests first
Create a cleanup plan before code
Categorize issues
Execute passes one smell at a time
Run quality gates
--review)If invoked with a --review flag, operate as a reviewer-only pass:
AI SLOP CLEANUP REPORT
======================
Scope: [files or feature area]
Behavior Lock: [targeted regression tests added/run]
Cleanup Plan: [bounded smells and order]
Passes Completed:
1. Dead code deletion - [concise fix]
2. Duplicate removal - [concise fix]
3. Naming/error handling cleanup - [concise fix]
4. Test reinforcement - [concise fix]
Quality Gates:
- Regression tests: PASS/FAIL
- Lint: PASS/FAIL
- Typecheck: PASS/FAIL
- Tests: PASS/FAIL
Changed Files:
- [path] - [simplification]
Remaining Risks:
- [none or short deferred item]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub yeaight7/agent-powerups --plugin codebase-maintenance9 skills in this plugin
/architecture-simplificationUse when a codebase carries over-engineered abstractions, unnecessary layers, or redundant logic that should be collapsed without changing behavior./context-retrieval-loopUse when about to refactor, rename, or remove code, assessing dead code before deletion, or unsure of the blast radius of a change./dead-code-removalUse when unused functions, classes, exports, or files need to be identified and safely deleted./dependency-cleanupUse when package manifests carry unused or redundant third-party dependencies that slow builds, widen the security surface, or complicate updates./incremental-migrationUse when migrating APIs, libraries, or patterns across a large codebase and a single mega-commit would be too risky to review or merge./naming-and-structure-cleanupUse when naming conventions or file structure drift across a project and need to be made consistent without changing business logic.Other plugins' skills for the same job