Language-agnostic guidance for detecting code smells, selecting behavior-preserving refactorings, and choosing or rejecting classic Refactoring.Guru design patterns. Use for requests like “review this for code smells,” “how should I refactor this long method?”, or “should I use Adapter, Strategy, or direct code?” Apply during code review, architecture, refactoring, and general application-code design when pressure, variation, coupling, lifecycle, or object structure must be evaluated. Do not replace Python-specific, frontend, backend, infrastructure, or other domain-owned pattern guidance.
Ships in core. 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.
Choose the smallest design that solves demonstrated pressure. A smell is evidence to investigate, a refactoring is a behavior-preserving move, and a pattern is a named trade-off—not a quality badge.
python-design-patterns. Frontend, backend/API, persistence, distributed, infrastructure, and UI patterns remain with their owning domain skills. Use clean-code for naming, duplication, size, comments, and ordinary behavior-preserving cleanup.For each finding, report:
Do not treat a numeric rule of thumb as an automatic violation. Prefer one high-confidence finding over a catalog dump.
Before editing, record the behavior that must remain true. Select one technique from the smallest applicable group, check variable scope, public API, ownership, error semantics, concurrency, serialization, and performance. After editing, run the narrowest proof that would fail if the transformation changed behavior. Stop when the pressure is gone; do not stack techniques or patterns speculatively.
For every pattern recommendation, report:
Combine patterns only when each answers a separate pressure and has separate proof. If explanation needs more pattern names than pressures, delete patterns first.
What SKILL.md sets; muted values are Claude Code's defaults
/core:code-design-patternsfrom core
npx claudepluginhub dxta/claude-code-skills --plugin core23 skills in this plugin
/agent-selectionSelect Pi agents from compact local agent index./anti-patternsCommon mistakes to avoid with explanations and correct alternatives/clean-codeApply Robert C. Martin Clean Code principles and the clean-code-skills rule catalog when code quality is explicit or when an agent is reviewing, simplifying, refactoring, or cleaning touched code. Use for clean code, code smells, maintainability, readability, naming, small functions, comments/docstrings, DRY, duplication, magic numbers, boundary conditions, Boy Scout cleanup, refactor review, PR review, code quality review, test readability, boundary test coverage, test maintainability, pytest monkeypatch rejection, fixture/conftest cleanup, or requests like "make this cleaner", "review for maintainability", "is this clean code", "simplify this", "remove code smells", "rename this", "split this function", "clean up comments", "clean up tests", or "review tests for clarity". For Python or TypeScript, load only the matching language reference file for files in active scope.Other plugins' skills for the same job