From code-simplifier
Audits and refines recently modified code for clarity, consistency, maintainability, security and extensibility while preserving exact functionality. Use when the user says "simplify this code", "audit the code", "refactor for maintainability", "make this more secure", "clean up", "improve readability", "reduce complexity", "is this maintainable", or wants a code-simplification pass after changes. Inspired by Anthropic's official code-simplifier plugin (Apache-2.0, anthropics/claude-plugins-official/plugins/code-simplifier) and adopted into the canonical skill-development marketplace so opencode, claude-code, and codex harnesses can all consume it through a single canonical source.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-simplifier:code-simplifieropusThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill is a **canonical marketplace adoption** of Anthropic's official
This skill is a canonical marketplace adoption of Anthropic's official
code-simplifier plugin
(https://github.com/anthropics/claude-plugins-official/tree/main/plugins/code-simplifier,
Apache-2.0). The agent prompt body is preserved verbatim under
references/agent-prompt.md; this SKILL.md is the marketplace wrapper that
adapts it for multi-harness consumption and adds the audit rubric below.
Modern AI agents tend to ship code that works but accumulates:
function, missing return typescode-simplifier exists to surface these issues with a functionality-preserving
audit, and to refactor only what the user approves. It never changes behaviour.
Load
references/agent-prompt.md— the canonical Anthropic-authored system prompt for the simplifier. It defines the four non-negotiable guarantees: preserve functionality, apply project standards, enhance clarity, maintain balance, focus scope.
When invoked with an explicit "audit" or "review" trigger (rather than auto-refine-after-write), the agent applies this five-axis rubric in addition to the four guarantees above:
as any / @ts-ignore without a // reason: commentlocalStorage/sessionStorage and never loggeddangerouslySetInnerHTML only with explicit, sanitised contentswitch (provider) laddersif/else or switch for ≥3 branchescatch {}src/ tree.AGENTS.md, CLAUDE.md, package.json (lint/format/prettier config)file:line — axis — finding — proposed change (preserves behaviour).references/agent-prompt.md).references/agent-prompt.md — the Anthropic-authored agent prompt (verbatim).checklists/audit-checklist.md — per-axis checklist for self-review.MANIFEST.yaml — marketplace manifest (single-skill plugin, isolated).Apache-2.0. Original work © Anthropic. Marketplace adoption © Claudius / iurFriend.
See LICENSE.
Generates brand assets: logos (55+ styles, Gemini AI), CIP mockups, HTML slides (Chart.js), banners (22 styles), SVG icons (15 styles), and social media photos. Routes to sub-skills for design tokens and UI styling.
npx claudepluginhub cmgramse/skill-development --plugin code-simplifier