Skip to content
Skill

Code quality audit

Audits code for smells, error-handling gaps and maintainability issues with fixes

Code quality audit is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About Code quality audit

This skill guides the agent through a read-only code-quality review of a codebase. It maps the project's stack and source directories first, then looks for complexity, duplication, coupling and naming smells, along with swallowed errors, over-broad catches, missing cleanup and user-facing error leaks. Complexity findings are weighted against existing coverage reports rather than judged on size alone, and the skill asks before running any test suite or installing tools.

The output is a severity-ranked report with file and line references for each finding, a metrics section and a list of positive patterns worth keeping. Changes are only made when the user explicitly asks for fixes. Unrelated issues are logged for later instead of acted on.

It works as a general pass and is meant to be used without project-specific rules. Architecture questions and test-quality measurement are handled by other skills, and security issues are flagged for separate review.

When your agent uses it

Audit code for smells, error-handling gaps, and maintainability issues with actionable fixes. Use for a general code-quality pass not tied to project rules. To audit against the project's golden-principles.yaml use /quality-audit instead.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (11 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-code-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kit

Or copy only this skill to ~/.claude/skills/code-quality-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/code-quality-audit &&
cp -R "$tmp/.claude/skills/code-quality-audit" ~/.claude/skills/code-quality-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/code-quality-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/code-quality-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/code-quality-audit &&
cp -R "$tmp/.claude/skills/code-quality-audit" ~/.agents/skills/code-quality-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/code-quality-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/code-quality-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/code-quality-audit &&
cp -R "$tmp/.claude/skills/code-quality-audit" ~/.cursor/skills/code-quality-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/code-quality-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/code-quality-audit

Or copy the folder to ~/.gemini/skills/code-quality-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/code-quality-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/code-quality-audit &&
cp -R "$tmp/.claude/skills/code-quality-audit" ~/.copilot/skills/code-quality-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/code-quality-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git

Then copy claude-code-kit/.claude/skills/code-quality-audit into your agent's skills folder as code-quality-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Code smell detection
Scans for complexity, duplication, coupling and naming problems in source files.
Error handling review
Checks for swallowed errors, over-catching, missing cleanup and leaked internal errors.
Coverage-weighted complexity
Weights complex functions by existing coverage reports instead of flagging size alone.
Maintainability assessment
Rates readability, testability, changeability and consistency across the codebase.
Severity-ranked report
Groups findings into critical, major and minor tables with file and line references.
Report-only by default
Reads code without editing it unless the user explicitly asks for fixes.

Good for

  • Review a codebase for code smells before a refactoring sprint
  • Assess the health of a project you are onboarding to
  • Run a general code-quality pass before a code review
  • Find accumulated technical debt after rapid development
  • Check error handling for swallowed or over-broad exceptions

Code quality audit FAQ

Does Code quality audit change my code?

No. It is report-only by default and only modifies files when the user explicitly asks to implement, fix, apply or refactor.

When should I use this instead of /quality-audit?

Use this skill for a general code-quality pass not tied to project rules. To audit against the project's golden-principles.yaml, the skill description directs you to /quality-audit.

Does Code quality audit run my test suite or install tools?

It does not generate coverage on its own. It reads existing coverage reports if present. Running the test suite or installing an analysis tool is opt-in and requires asking first.

Which languages does Code quality audit support?

The skill text does not list supported languages. Its optional computed-metrics tools cover Clojure, Java, Go, TypeScript, Rust and Python, but not C#.

How do I install Code quality audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/code-quality-audit to use it in all your projects, or to .claude/skills/code-quality-audit in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.

Does Code quality audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Code quality audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Code quality audit?

The closest alternatives to Code quality audit are Code review, Thermo nuclear code quality review, Go code review, Code review expert and Code quality analysis.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from tansuasici/claude-code-kit

  1. Audits UI code against WCAG 2.1 AA for semantics, keyboard use, contrast and ARIA

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Audits a codebase's structure for SOLID violations, coupling and module boundary issues

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Lists the skills, agents, hooks and modules installed in a kit-enabled project

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Guides the agent to write and extend a project's golden-principles.yaml rule file

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Finds unused functions, dead imports, orphan files and unreachable branches in a codebase

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Guides the agent through root-cause debugging with reproduction, hypotheses

    • Open source
    • 6 GitHub stars
    • Developer tools