Advanced Code Quality
Use when going beyond basic linting to enforce advanced Python code quality gates. Triggers on: cognitive complexity, code duplication detection, architectural enforcement, import boundaries, dependency hygiene, test quality beyond coverage, mutation testing, docstring coverage, type coverage, AI-generated code detection, AI slop detection, complexipy, jscpd, import-linter, deptry, diff-cover, mutmut, interrogate, sloppylint, refurb, pylint design checks, wily, radon maintainability, pytestarch, griffe, "bulletproof Python", "tighten quality gates", "advanced quality checks", "beyond ruff and
Install
/plugin marketplace add sam-dumont/claude-skillsThe repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.
npx skills add sam-dumont/claude-skills --skill advanced-code-qualitygit clone --depth 1 https://github.com/sam-dumont/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/plugins/advanced-code-quality/skills/advanced-code-quality ~/.claude/skills/advanced-code-qualityPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Advanced Python Code Quality Goes beyond the basic stack (ruff, mypy, xenon, vulture, pre-commit) to cover every remaining quality dimension. Each section maps a gap to specific tools with exact configuration and thresholds. **Core insight**: AI-generated code doesn't need different tools — it needs **tighter thresholds on existing tools**. --- ## Quick Reference: Tool Inventory | Gap | Tool | Install | Threshold | |-----|------|---------|-----------| | Cognitive complexity | **complexipy** | `pip install complexipy` | ≤10 per function | | Complexity trends | **wily** | `pip install wily` | No regression vs base branch | | Maintainability Index | **radon mi** | Already installed (via xenon) | MI ≥ 20 (rank A) | | Code duplication | **jscpd** | `npm install -g jscpd` | ≤5% duplication | | Pylint design checks | **pylint** | `pip install pylint` | max-args=6, max-branches=10 | | Modernization | **refurb** | `pip install refurb` | Zero warnings | | Custom lint rules | **fixit** | `pip install fixit` | Project-specific | | Architectural boundaries | **import-linter** | `pip install import-linter` | Zero contract violations | | Architecture tests | **pytestarch** | `pip install pytestarch` | All tests pass | | Dependency hygiene | **deptry** | `pip install deptry` | Zero DEP001–DEP005 | | Dependency conflicts | **pipdeptree** | `pip install pipdeptree` | `--warn fail` | | Diff coverage | **diff-cover** | `pip install diff-cover` | ≥95% on changed lines |
Details
- Skill name
advanced-code-quality- Repository
- sam-dumont/claude-skills
- Path
plugins/advanced-code-quality/skills/advanced-code-quality/SKILL.md- License
- MIT
- Repo updated
- 3 November 2026
FAQ
What does the Advanced Code Quality skill do?
Use when going beyond basic linting to enforce advanced Python code quality gates. Triggers on: cognitive complexity, code duplication detection, architectural enforcement, import boundaries, dependency hygiene, test quality beyond coverage, mutation testing, docstring coverage, type coverage, AI-generated code detection, AI slop detection, complexipy, jscpd, import-linter, deptry, diff-cover, mutmut, interrogate, sloppylint, refurb, pylint design checks, wily, radon maintainability, pytestarch, griffe, "bulletproof Python", "tighten quality gates", "advanced quality checks", "beyond ruff and
How do I install the Advanced Code Quality skill?
Claude Code plugin: /plugin marketplace add sam-dumont/claude-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Advanced Code Quality popular?
It lives in sam-dumont/claude-skills, which has 38 GitHub stars and 4 forks.
Related skills
Code Quality
38sam-dumont/claude-skills
Automatically triggered when setting up Python code quality tooling, configuring linters, adding type checking, improving code standards, running code quality checks, setting up pre-commit hooks, or auditing Python code for quality issues. Applies when discussing: ruff setup, mypy configuration, code formatting, linting rules, cyclomatic complexity, dead code detection, file length limits, pre-commit hooks, Makefile targets for quality, uv-based workflows, pyproject.toml configuration, or "check my code quality". Also triggers on: "set up linting", "add type checking", "configure ruff", "forma
Code Security
38sam-dumont/claude-skills
Automatically triggered when running security scans, auditing code for vulnerabilities, checking dependencies for CVEs, reviewing code for security issues, or hardening Python applications. Applies when discussing: security audit, vulnerability scan, bandit, pip-audit, dependency vulnerabilities, OWASP, injection, path traversal, secrets detection, insecure deserialization, auth bypass, or "is this code secure?". Also triggers on: "run security checks", "find vulnerabilities", "security review", "check for CVEs", "audit dependencies", "security lint", "pen test this code", "harden this applica
Outcome Engineering
38sam-dumont/claude-skills
Use when starting significant features, evaluating build-vs-buy decisions, reframing failed approaches, or when the user mentions "outcome engineering", "o16g", "outcome-first", "what's the outcome", or "frame this as an outcome". Also use proactively when a task description focuses on implementation ("build X", "add Y") without defining the desired outcome or verification criteria.
Battle Plan
62ElliotJLT/Claude-Skill-Potions
Before ANY significant development task (new feature, refactor, integration, migration), run a complete planning ritual by orchestrating other skills in sequence: rubber-duck (clarify scope) -> pre-mortem (assess risks) -> eta (estimate time) -> final confirmation. Do not start coding until the battle plan is approved.
Schizotech
44Jakeschincariol/unhinged-claude-skills
Connects the dots nobody asked for — wild, lateral architecture ideas linking things you'd never pair on purpose; invoke via /schizotech when you want unconventional cross-domain inspiration, with the explicit understanding that you must filter it heavily.
Brainstorming Ideas Into Designs
43obra/clank
Interactive idea refinement using Socratic method to develop fully-formed designs
Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.