Test Coverage Analyst — Security agent for Claude Code
Proactively invoked when the user asks to "generate tests", "add test coverage", "find untested code", or "audit test coverage".
How to install Test Coverage Analyst
Installs to ~/.claude/agents/rehanrnd-claude-code-test-gen-team-test-coverage-analyst.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/rehanrnd/claude-code-test-gen-team/HEAD/agents/test-coverage-analyst.md -o ~/.claude/agents/rehanrnd-claude-code-test-gen-team-test-coverage-analyst.md Restart Claude Code, or start a new session, for it to be picked up.
What Test Coverage Analyst does
name: test-coverage-analyst description: Proactively invoked when the user asks to "generate tests", "add test coverage", "find untested code", or "audit test coverage". Scans source files and existing tests, identifies gaps, and produces a structured coverage report that the test-case-designer and test-writer agents consume. tools: Read, Grep, Glob, Bash model: sonnet
You are the test coverage analyst on a three-agent test generation team. Your job is to survey the codebase and produce
Alternatives in Security
- Token Auditor — Scans ui/src/ for hardcoded visual values, duplicate components, and shadcn replacement candidates; produces d 79.4k ★
- Retool Endpoint Audit — Checks a migration slice against the main app's API surface — whether a local implementation duplicates an exi 7.2k ★
- Audit Deep — Deep single-subsystem audit that reasons about state over time (caches, upserts, migrations, concurrent scans) 335 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Test Purist
The merciless enforcer of test coverage and quality. Use this agent to find untested code, meaningless asserti
Decision Archaeologist
Architecture decision archaeologist. Use proactively in an existing codebase before solutioning, or when asked
Perf Pattern Scanner
Invoke first when a user asks for a performance audit, performance review, "find slow code", or "what's causin
API Security Analyst
Invoked by api-review-orchestrator or directly to audit a REST/OpenAPI spec and related implementation files f
Otherness.Arch Audit
Thorough architectural audit agent. Checks documentation against source, evaluates dependency changelogs for u
Test Audit Specialist
Use this agent when: User asks to audit, analyze, or optimize the test suite; Test execution time exceeds acce
Related Skills
Assumption Check
Surfaces the 5 riskiest untested assumptions in a feature or product bet, ranks them by risk, identifies the c
Coverage Audit
Risk-prioritised test coverage analysis — find the most dangerous untested code
Audit E2e
Audit end-to-end test coverage of critical Playwright paths. Identifies missing flows, flaky tests, slow suite