# Audit Tests

Audit whether tests earn their maintenance cost and which suite owns each contract.

- Repository: https://github.com/dzhng/skills (1394 stars)
- Category: Testing
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add dzhng/skills --skill audit-tests -g -a claude-code -y`
Codex: `npx skills add dzhng/skills --skill audit-tests -g -a codex -y`
Cursor: `npx skills add dzhng/skills --skill audit-tests -g -a cursor -y`
Gemini CLI: `npx skills add dzhng/skills --skill audit-tests -g -a gemini-cli -y`

## Description

Audit whether tests earn their maintenance cost and which suite owns each contract. Use when pruning redundant tests, investigating implementation coupling or test-only production hooks, reviewing the value of proposed coverage, or auditing an entire subsystem. Use write-tests to implement the resulting test changes.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Audit Tests

Audit **independent proof**: what bug would escape if this test disappeared?
The result is a map of contracts to their surviving tests, with evidence for
what to keep, repair, combine, or remove. Fewer tests is not the objective;
less maintenance for the same or better confidence is.

[write-tests](../write-tests/SKILL.md) owns how to write and falsify a test.
This skill owns whether that test adds proof and where that proof belongs.
[review](../review/SKILL.md) owns closing out the resulting changes.

## Workflow

The rest: https://github.com/dzhng/skills/blob/HEAD/skills/engineering/audit-tests/SKILL.md
