From agent-skills
Simplifies recently changed code to improve clarity and maintainability without altering behavior — reduces nesting, splits long functions, consolidates duplication, and removes dead code.
How this command is triggered — by the user, by Claude, or both
Slash command
/agent-skills:code-simplifycommands/The summary Claude sees in its command listing — used to decide when to auto-load this command
Invoke the agent-skills:code-simplification skill. Simplify recently changed code (or the specified scope) while preserving exact behavior: 1. Read CLAUDE.md and study project conventions 2. Identify the target code — recent changes unless a broader scope is specified 3. Understand the code's purpose, callers, edge cases, and test coverage before touching it 4. Scan for simplification opportunities: - Deep nesting → guard clauses or extracted helpers - Long functions → split by responsibility - Nested ternaries → if/else or switch - Generic names → descriptive names - Dupli...
Invoke the agent-skills:code-simplification skill.
Simplify recently changed code (or the specified scope) while preserving exact behavior:
If tests fail after a simplification, revert that change and reconsider. Use code-review-and-quality to review the result.
npx claudepluginhub ooccoob/google-agent-skills-copy72plugins reuse this command
First indexed Mar 22, 2026
Showing the 6 earliest of 72 plugins
/code-simplifySimplifies recently changed code to improve clarity and maintainability without altering behavior — reduces nesting, splits long functions, consolidates duplication, and removes dead code.
/simplifyAnalyzes code complexity then applies structural simplifications like early returns, extraction, and loop replacement, producing a before/after report.
/simplifyRefactors code to reduce complexity, eliminate duplication, and improve readability. Also supports a --delete-list mode that only produces a review of removable dead code.
/simplifySimplifies complex expressions, conditions, control flow, and variables in the specified file or range to reduce cognitive load without changing behavior. Produces a unified diff of all changes.
/simplifyReviews recent git changes for code simplifications: detects duplication, over-engineering, dead code, complex conditionals, and long functions, then applies improvements.
/simplifyPerforms an on-demand simplification review of code changes or a specified scope, detecting duplication, dead code, unnecessary complexity, and AI bloat.