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 patrickdappolloniov1.8.0MITIn 1 marketplace
Simplifies working code by flattening nesting, splitting long functions and renaming unclear identifiers, one tested change at a time. Behavior is kept exact, and it asks before creating tests when none cover the code in scope.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A language-agnostic skill that reduces code complexity while preserving exact behavior. The goal is not fewer lines — it's code that is easier to read, understand, modify, and debug. Every change must pass one test: would a new team member understand this faster than the original?
It works on patterns, not on any one language's idioms:
appropriate-comments-code skill: comments on touched lines must carry information the code does not, in the present tense, in one or two lines, with no session-scoped identifiers and no counts of things that live elsewhereAnd it's disciplined about how, not just what:
This skill combines ideas from three sources into one language-agnostic process:
Claude Code:
/plugin marketplace add patrickdappollonio/claude-plugins
/plugin install code-simplification@patrickdappollonio
Any other agent — Cursor, Codex, Copilot, opencode, Gemini, and 70+ more — via npx skills:
npx skills add patrickdappollonio/claude-plugins --skill code-simplification
Add -g to install for your user instead of just this project, and -a <agent> to target one agent. Update later with npx skills update.
Ask your agent to simplify code when something works but reads heavier than it should:
Simplify what we just wrote using the code simplification skill.
Or invoke it explicitly with the slash command:
/code-simplification:code-simplification
By default it scopes itself to recently modified code (your session's edits or the working diff). Name a file, module, or the whole codebase to widen it.
SKILL.md carries the principles, the process, and a self-sufficient summary of every step; four sibling files carry the comprehensive version an agent reads when it reaches that step — cyclomatic-complexity.md (counting, tools, the split procedure), equivalent-functions.md (diff → callers → propose → merge), evidence-gathering.md (model-tier routing, handoff packets, verification), and comments.md (the comment digest). All live in the skill directory, so both install paths ship them. The skill requires the agent to read all four on first use in a session, before any other step, and again at the step that names each one.
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.
npx claudepluginhub patrickdappollonio/claude-plugins --plugin code-simplificationPlugins from other owners that cover similar ground