/universal-agent-skills:refactorfrom universal-agent-skills
Simplify code without changing behavior: remove duplication, dead code and needless abstraction in small steps verified by tests. Use when the user asks to refactor, simplify, clean up or reduce complexity.
Ships in universal-agent-skills. 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.
Read when SKILL.md points to them.
Make this code simpler and easier to maintain without changing what it does. Every change must preserve behavior and be verifiable.
Text given with the skill invocation overrides these defaults.
auto target means: find the code that most needs it yourself. You can also name files, modules or functions. Write code and comments in the project's existing language, whatever the report language.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub 26zl/universal-agent-skills --plugin universal-agent-skills41 skills in this plugin
/accessibility-auditAudit a user interface against every WCAG 2.2 A and AA criterion with evidence, fix safe barriers, and produce a manual test plan. Use when the user asks about accessibility, WCAG, screen readers, keyboard use or contrast./ai-feature-reviewReview LLM, agent, retrieval and ML features for reliability, evaluation, safety, privacy, cost and user experience. Use when the user asks to review an AI feature, prompts, RAG, agents with tools or a trained model./api-design-reviewReview REST, GraphQL, gRPC, WebSocket, SSE, webhook and SDK interfaces for consistency, errors, pagination, versioning, compatibility and documentation. Use when the user asks for an API design review, an API consistency check or a breaking-change assessment./architecture-reviewAssess architecture and codebase health: boundaries, consistency, runtime qualities, evolvability, hotspots and technical debt, with ranked risks and a prioritized plan. Use when the user asks whether the architecture fits, how healthy the codebase is, or which technical debt to pay first./cli-and-scripts-auditAudit command-line tools, shell and PowerShell scripts, installers, setup scripts and dotfiles for safety, robustness, portability, testing and distribution, and fix the safe parts. Use when the user asks to review a CLI, a shell or PowerShell script, an installer or a setup tool./coding-styleKeep code comments and docstrings concise, neutral, human-authored in tone, and written in English unless another language is required. Use when writing, refactoring, or reviewing code where comments, identifiers, or docstrings may be added or changed; do not use to shorten required public API documentation, safety notes, or legal notices.