# Test coverage analysis

> Test coverage analysis is an open-source agent skill for developer tools. Finds gaps in unit, integration and E2E test coverage before a release. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/aws-solutions/konductor/tree/main/skills/test-coverage-analysis
- **Repository:** https://github.com/aws-solutions/konductor
- **GitHub stars:** 12
- **License:** Apache-2.0
- **Skill name:** test-coverage-analysis
- **Collection:** https://github.com/aws-solutions/konductor
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

This skill compares implementation code against existing test suites to surface missing test scenarios. It maps tests to acceptance criteria and test plans, reports coverage by feature and test type, and recommends specific additional tests. It also supports a release readiness mode that checks whether a codebase looks ready to ship based on its test distribution and quality.

The workflow runs in staged passes: detecting a testing model suited to the application architecture, collecting requirements, test plans and NFR or design documents, running the project's test command for accurate counts, and then rating test quality and the value of individual tests. Output is written to a report file, and the skill can run a lighter path for a single module or PR.

The skill expects access to the codebase, its test directories, and acceptance criteria or test plan documents. It is written with a Kiro-style subagent in mind for parallel code analysis, and falls back to pattern-based discovery when that is unavailable.

## When your agent uses it

> Analyzes test coverage across unit, integration, and E2E tests to identify gaps. Use after implementation to find missing test scenarios before release. Has two modes: coverage analysis and release readiness.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/aws-solutions/konductor/tree/HEAD/skills/test-coverage-analysis)
- [License: Apache-2.0](https://github.com/aws-solutions/konductor/tree/HEAD/skills/test-coverage-analysis)

## Features

- **Coverage mapping:** Links existing tests to acceptance criteria and test plans to show which behaviours are covered.
- **Test distribution check:** Compares unit, integration and E2E counts against a recommended model for the architecture.
- **Gap severity ranking:** Sorts missing scenarios into critical, warning and suggestion levels with recommendations.
- **Non-functional coverage:** Checks that performance, security and reliability requirements have matching tests.
- **Test quality scoring:** Scores test structure, independence and assertions and flags anti-patterns and low-value tests.
- **Release readiness mode:** Assesses whether coverage and quality gates are met and lists risks with mitigations.

## Good for

- Find which acceptance criteria still lack automated tests
- Check whether the test suite is balanced across unit, integration and E2E
- Review coverage for one module or PR before merging
- Assess whether a codebase is ready for a production release
- List missing integration tests for external service dependencies

## Install

### Claude Code

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

```sh
/plugin marketplace add aws-solutions/konductor
/plugin install konductor@konductor
```

Or copy only this skill to `~/.claude/skills/test-coverage-analysis`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/test-coverage-analysis &&
cp -R "$tmp/skills/test-coverage-analysis" ~/.claude/skills/test-coverage-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/test-coverage-analysis` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/test-coverage-analysis` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/test-coverage-analysis &&
cp -R "$tmp/skills/test-coverage-analysis" ~/.agents/skills/test-coverage-analysis &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/test-coverage-analysis` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/test-coverage-analysis` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/test-coverage-analysis &&
cp -R "$tmp/skills/test-coverage-analysis" ~/.cursor/skills/test-coverage-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/test-coverage-analysis` inside it instead.

### Gemini CLI

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

```sh
gemini skills install https://github.com/aws-solutions/konductor.git --path skills/test-coverage-analysis
```

Or copy the folder to `~/.gemini/skills/test-coverage-analysis` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/aws-solutions/konductor.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/test-coverage-analysis &&
cp -R "$tmp/skills/test-coverage-analysis" ~/.copilot/skills/test-coverage-analysis &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/test-coverage-analysis` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/aws-solutions/konductor.git
```

Then copy `konductor/skills/test-coverage-analysis` into your agent's skills folder as `test-coverage-analysis`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should Test coverage analysis be used?

After implementation and before release, to find missing test scenarios and check coverage against acceptance criteria.

### Does Test coverage analysis write tests?

No. It analyzes existing coverage and recommends tests; writing tests is handled by other skills such as Cypress or Playwright implementation skills.

### What does Test coverage analysis need as input?

Access to the codebase and its tests, plus acceptance criteria, test plans, and optionally NFR and system design documents.

### Does Test coverage analysis run the project's tests?

Yes, it runs the project's test command to get accurate test counts, and falls back to counting test declarations if the suite cannot run.

### How do I install Test coverage analysis in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/test-coverage-analysis to use it in all your projects, or to .claude/skills/test-coverage-analysis in one project. Or install the konductor plugin, which includes it: /plugin marketplace add aws-solutions/konductor, then /plugin install konductor@konductor.

### Does Test coverage analysis 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 coverage analysis?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Test coverage analysis?

The closest alternatives to Test coverage analysis are Test gap audit, Run test, Testing audit, Test plan review and Testing strategy.

## Where this comes from

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

## Alternatives

- [Test gap audit](https://ai-powered.com/skills/test-gap-audit): Test gap audit is an open-source agent skill for developer tools.
- [Run test](https://ai-powered.com/skills/run-test): Run test is an open-source agent skill for developer tools.
- [Testing audit](https://ai-powered.com/skills/testing-audit): Testing audit is an open-source agent skill for developer tools.
- [Test plan review](https://ai-powered.com/skills/test-plan-review-ajyadav013): Test plan review is an open-source agent skill for developer tools.
- [Testing strategy](https://ai-powered.com/skills/testing-strategy): Testing strategy is an open-source agent skill for developer tools.
- [Test efficacy audit](https://ai-powered.com/skills/test-efficacy-audit): Test efficacy audit is an open-source agent skill for developer tools.
- [E2E test strategy](https://ai-powered.com/skills/e2e-test-strategy): E2E test strategy is an open-source agent skill for developer tools.
- [Vibe coverage enforcer](https://ai-powered.com/skills/vibe-coverage-enforcer): Vibe coverage enforcer is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/test-coverage-analysis
