Skip to content
Skill

Test efficacy audit

Measures test coverage for a repository and writes a dated audit report

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

Scripts
None
Platforms
Claude Code
GitHub stars
7
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Test efficacy audit

This skill runs the repository's unit and Testcontainers integration tests once, serially, and records line and branch coverage against a fixed threshold. It works in a temporary git worktree of HEAD, so the working tree is left unchanged, and it writes a single dated report under docs/audit.

Before any install or test command runs, the skill shows the commands and asks the user for approval. It picks install and test commands from the lockfile and manifest scripts, adds coverage and single-worker options for the detected runner, and excludes end-to-end tests and tests that need a live external service. If Docker is not running, it asks the user to start it or falls back to unit tests with partial coverage noted as a gap.

The report includes the measured commit, test counts, coverage per top-level folder, and a gaps section for warnings, failures and failing tests. It does not run mutation testing; that is handled by a separate audit skill.

When your agent uses it

Writes a dated test efficacy audit report for the current repository: one serial test run (unit tests and Testcontainers integration tests) with code coverage, and the line coverage against a fixed threshold. Runs in a temporary git worktree, so the working tree does not change. Works on any repository and any tech stack. Does not run mutation testing; use /mutation-audit for that. Writes only docs/audit/test-efficacy-audit/test-efficacy-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /test-efficacy-audit — never inferred from user messages.

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 (7 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 nexa-claude-audit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add nexadevapp/nexa-claude-skills-marketplace
/plugin install nexa-claude-audit@nexa-claude-marketplace

Or copy only this skill to ~/.claude/skills/test-efficacy-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/test-efficacy-audit &&
cp -R "$tmp/nexa-claude-audit/skills/test-efficacy-audit" ~/.claude/skills/test-efficacy-audit &&
rm -rf "$tmp"

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

Claude Code docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/test-efficacy-audit &&
cp -R "$tmp/nexa-claude-audit/skills/test-efficacy-audit" ~/.agents/skills/test-efficacy-audit &&
rm -rf "$tmp"

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

Codex docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/test-efficacy-audit &&
cp -R "$tmp/nexa-claude-audit/skills/test-efficacy-audit" ~/.cursor/skills/test-efficacy-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/test-efficacy-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/nexadevapp/nexa-claude-skills-marketplace.git --path nexa-claude-audit/skills/test-efficacy-audit

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

Gemini CLI docs on skills

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

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/test-efficacy-audit &&
cp -R "$tmp/nexa-claude-audit/skills/test-efficacy-audit" ~/.copilot/skills/test-efficacy-audit &&
rm -rf "$tmp"

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

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git

Then copy nexa-claude-skills-marketplace/nexa-claude-audit/skills/test-efficacy-audit into your agent's skills folder as test-efficacy-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Serial test run
Runs unit and integration tests one process at a time with single-worker options.
Coverage thresholds
Grades line coverage as pass, warn or fail against fixed cutoffs.
Testcontainers support
Includes integration tests that use Testcontainers in the coverage measurement.
Isolated worktree
Measures HEAD in a temporary git worktree so the working tree is untouched.
Folder breakdown
Reports line coverage for each top-level source folder.
Dated audit report
Writes one markdown report with environment, metrics, test results and gaps.

Good for

  • Check how much of the codebase the unit and integration tests actually exercise
  • Produce a dated test coverage report for a release review
  • Find which source folders have weak test coverage
  • Confirm integration tests run and count toward coverage

Test efficacy audit FAQ

Does Test efficacy audit run mutation testing?

No. The skill measures coverage only. Mutation testing is handled by the separate /mutation-audit skill.

Will Test efficacy audit change my working tree?

No. It runs in a temporary git worktree of HEAD and removes it at the end. The only file it writes in the repository is the report.

Can Test efficacy audit run without my approval?

No. It shows the install and test commands and asks for approval first. If you decline, it stops and writes no report.

What happens if Docker is not available?

The skill asks you to start Docker. If you decline, it runs unit tests only and records the coverage as partial in the gaps section.

How is Test efficacy audit invoked?

Only explicitly with the /test-efficacy-audit command, not inferred from ordinary messages.

How do I install Test efficacy audit in Claude Code?

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

Does Test efficacy 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 Test efficacy 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 Test efficacy audit?

The closest alternatives to Test efficacy audit are QA audit, Testing audit, Mutation audit, Test gap audit and Full test audit.

Where this comes from

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

More from nexadevapp/nexa-claude-skills-marketplace

  1. Writes a dated architecture audit report with Mermaid diagrams drawn from the code

    • Open source
    • 7 GitHub stars
    • Developer tools
  2. Writes a dated CI/CD audit report mapping pipelines, gates, and gaps in a repository

    • Open source
    • 7 GitHub stars
    • Developer tools
  3. Writes a dated static code metrics report with complexity, duplication, CBO and DIT

    • Open source
    • 7 GitHub stars
    • Developer tools
  4. Writes a dated report mapping a repository's infrastructure, environments and secret names

    • Open source
    • 7 GitHub stars
    • Developer tools
  5. Writes a dated mutation testing report for a repository's core business logic

    • Open source
    • 7 GitHub stars
    • Developer tools
  6. Writes a dated inventory of automated tests sorted into unit, integration, E2E and misc

    • Open source
    • 7 GitHub stars
    • Developer tools