/codebase-maintenance:architecture-simplificationfrom codebase-maintenance
Removes unnecessary abstractions, layers, and redundant logic from codebases by inlining interfaces with single implementations, collapsing wrappers, and consolidating duplicate code paths.
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.
Over time, codebases accumulate "just in case" abstractions. This skill guides the safe removal of unnecessary complexity: remove the noise around the core logic without changing the core logic itself.
Identify the abstraction cost. Does this interface have only one implementation? Does this wrapper class just pass arguments straight through? Measure before cutting:
grep -rn "implements IUserRepository" src/ # count implementations
grep -rn "IUserRepository" src/ | wc -l # count references
Run the tests first. The affected area must be green before any removal — this is the behavioral baseline.
Inline the logic. Move the logic from the unnecessary abstraction directly into the caller.
Delete the dead code. Remove the interface, wrapper, or factory that is no longer needed.
Test verification. Re-run the same tests; the observable behavior of the system must not have changed.
Example: if a UserRepository implements IUserRepository but there is only ever one database, inline UserRepository and delete IUserRepository.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yeaight7/agent-powerups --plugin codebase-maintenance9 skills in this plugin
/ai-slop-cleanerUse when a working code path feels bloated, noisy, or over-abstracted, when asked to clean up or deslop AI-generated code, or when a reviewer-only anti-slop pass is requested./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.Other plugins' skills for the same job