Skip to content
Skill

Testing audit

Audits a test suite for coverage gaps, weak tests, flakiness and strategy fit

Testing 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 Testing audit

This skill gives the agent a read-only audit procedure for an existing test suite. It maps the test landscape first, then checks critical-path coverage, edge and error paths, and whether assertions actually test behavior. A falsification check asks, for each critical-path test, which production line would make it fail, and counts tests that would still pass against a do-nothing implementation.

The audit also reviews test quality for readability, flakiness, shared state, over-mocking and duplication, and assesses the overall strategy such as test pyramid balance and CI feedback speed. Findings are separated into test gaps and flaky or churn issues, and the report ends with prioritized recommendations, with file and line references for each finding.

An optional mutation phase runs only when a mutation tool is already installed and the user asks for a score. The skill expects a project with a readable codebase and its existing tests, and it reads configuration files such as package manifests and CI configs to identify the framework.

When your agent uses it

Audit the test suite for coverage gaps, test quality, flaky tests, and strategy alignment. Use when assessing test health before a release, or when tests feel weak, slow, or flaky.

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 4 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/testing-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/testing-audit &&
cp -R "$tmp/.claude/skills/testing-audit" ~/.claude/skills/testing-audit &&
rm -rf "$tmp"

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

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/testing-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/testing-audit &&
cp -R "$tmp/.claude/skills/testing-audit" ~/.agents/skills/testing-audit &&
rm -rf "$tmp"

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

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/testing-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/testing-audit &&
cp -R "$tmp/.claude/skills/testing-audit" ~/.cursor/skills/testing-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/testing-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/testing-audit

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

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/testing-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/testing-audit &&
cp -R "$tmp/.claude/skills/testing-audit" ~/.copilot/skills/testing-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/testing-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/testing-audit into your agent's skills folder as testing-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Coverage gap detection
Finds modules and critical paths such as auth or payments that have no tests or lack error-path checks.
Falsification check
Asks which production line would break each critical-path test, flagging tests that assert nothing meaningful.
Flaky test review
Looks for timing, external service, random data and execution-order dependencies in tests.
Test quality review
Evaluates naming, arrange-act-assert structure, over-mocking, brittle assertions and duplication.
Strategy assessment
Judges test pyramid balance, missing test types and how tests run in CI.
Optional mutation scoring
Runs a mutation tool only if already installed and requested, reporting surviving mutants by file and line.

Good for

  • Check test health before a release
  • Find why tests feel slow or flaky
  • Identify untested critical paths in the codebase
  • Review test quality after fast feature development
  • Get a prioritized list of testing improvements

Testing audit FAQ

When does Testing audit trigger?

It is meant for assessing test health before a release or when tests feel weak, slow or flaky, and can be invoked with /testing-audit.

Does Testing audit change my code?

No. By default it is report-only and only modifies files when the user explicitly asks for fixes or refactoring.

Does Testing audit run mutation testing automatically?

No. The mutation phase runs only when a mutation tool is already on PATH and the user requests a mutation score; otherwise it is reported as not measured.

How do I install Testing audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/testing-audit to use it in all your projects, or to .claude/skills/testing-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 Testing 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 Testing 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 Testing audit?

The closest alternatives to Testing audit are Test gap audit, Axiom audit testing, Mutation audit, Code quality audit and Full test audit.

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. Audits code for smells, error-handling gaps and maintainability issues with fixes

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

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

    • Open source
    • 6 GitHub stars
    • Developer tools