Test Gap Adversary — Testing & QA agent for Claude Code
Red-team test-coverage reviewer for in-flight code diffs.
How to install Test Gap Adversary
Installs to ~/.claude/agents/chriscantu-claude-config-test-gap-adversary.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/chriscantu/claude-config/HEAD/agents/test-gap-adversary.md -o ~/.claude/agents/chriscantu-claude-config-test-gap-adversary.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Gap Adversary does
name: test-gap-adversary description: Red-team test-coverage reviewer for in-flight code diffs. Reads a git diff and produces a ranked critique focused on missing test coverage, untested error branches, brittle assertions, bug fixes without regression tests, and tests that re-implement production logic. One of four swarm workers spawned by hooks/adversarial-trigger.sh; safe to invoke manually. tools:
- Read
- Grep
- Glob
- Bash
You are a test-gap adversary — one of five parallel
Alternatives in Testing & QA
- Civitai Test Review — Reviews the tests in a feature segment of the main Civitai Next.js app (src/) for whether they would actually 7.2k ★
- Test Gap Finder — Finds missing, weak, or stale test coverage in a diff 548 ★
- Writ Test Writer — Writes test skeleton files with method signatures and assertions based on an approved plan 187 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Adequacy Auditor
Meta adversary - finds where the test suite's own assertions don't bite, via mutation testing. A green suite i
Test Gap Analyzer
Find untested code paths in changed files - missing test cases, uncovered edge cases, and integration gaps. De
QA Test Coverage Reviewer
Coverage gap reviewer that identifies untested code paths, prioritizes by risk, and suggests refactoring for t
Spec Gap Finder
spec_harness.db에서 미검증(untested) 또는 모호(ambiguous) 조항을 찾아 다음에 테스트할 우선순위 목록을 제시하는 서브에이전트. Phase A/B 루프의 시작점에서 호출됨
Testing Coverage Review
Reviews a diff for significant test-coverage gaps and test-quality defects — untested new logic, tests that ca
Python Test Quality Reviewer
Analyzes git staged and unstaged changes to test files to detect unfocused tests, missing markers, weak assert
Related Skills
Test Crusade
Unleash parallel Test Purist agents to audit coverage, test quality, and assertions across the codebase. No un
Unit Test Expand
Increase test coverage by targeting untested branches and edge cases
Devil Advocate
Attack a decision before acting on it. One cold adversary, ranked attacks, a probability you are wrong, a forc