/codebase-maintenance:safe-refactorfrom codebase-maintenance
Restructures code in small, safe steps while preserving observable behavior. Requires existing tests and validates after each change.
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.
Restructure code in small, safe steps while preserving all externally observable behavior. Prevents refactor regressions where behavior silently changes.
Do not use this skill if there are no existing tests — write tests first.
Changed:
- <structural change 1>
- <structural change 2>
Behavior unchanged because: <reasoning>
Validated by: <test commands run>
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./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.Other plugins' skills for the same job