# Test coverage gaps (/testing--test-coverage)

/testing--test-coverage is a Claude Code skill in the Code section. Finds which code your tests don't cover, ranks the gaps by risk and generates tests for the highest-priority ones.

- Web version: https://skills.sgomez.dev/en/s/testing--test-coverage
- Section: [Code](https://skills.sgomez.dev/en/code.md)
- Author: Santiago Gómez de la Torre
- License: MIT
- Source: https://github.com/sgomez-dev/claude-skills/blob/main/skills/testing/test-coverage.md
- Updated 26 Mar 2026

## How to ask for it

- `/testing--test-coverage what parts of my code have no tests?`
- `/testing--test-coverage generate tests to cover the payments module`
- `/testing--test-coverage improve this service's coverage above 80%`

## Install

macOS · Linux:

```
curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash
```

Windows:

```
irm https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.ps1 | iex
```

Claude Code plugin:

```
/plugin marketplace add sgomez-dev/claude-skills
/plugin install testing-skills@claude-skills-collection
```

## Permissions

- Reads: `**/*`
- Writes: `**/*.test.*`
- Runs: `npm test --coverage`, `pytest --cov`
- Network: No
- Destructive: No

## Author's description

Analyze test coverage gaps and generate tests to fill them

## Pairs well with

- [Pre-deployment checklist (/devops--deploy-check)](https://skills.sgomez.dev/en/s/devops--deploy-check.md): Runs a checklist before you ship, covering code quality, security, database and configuration, to catch problems before release.
- [Leaked secrets scan (/security--secrets-scan)](https://skills.sgomez.dev/en/s/security--secrets-scan.md): Scans your code, config files and recent git history for API keys, tokens, passwords and private keys, and explains how to remediate each.
- [Dependency vulnerability check (/security--dependency-vuln)](https://skills.sgomez.dev/en/s/security--dependency-vuln.md): Runs your package manager's audit and lists each vulnerable dependency with its CVE, severity, fixed version and a remediation plan.
- [Performance audit (/performance--perf-audit)](https://skills.sgomez.dev/en/s/performance--perf-audit.md): Audits your backend and frontend code for bottlenecks and lists each finding with its location, estimated impact and a specific fix.
- Recipe: [/pipeline--pre-deploy](https://github.com/sgomez-dev/claude-skills/blob/main/pipelines/pre-deploy.yaml): Pre-Deploy

- [How we review this](https://skills.sgomez.dev/en/methodology.md)
