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
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
Intent Cartographer
Scans repo-local security documentation (SECURITY.md, README, docs/, threat-model files, inline pragmas) and p
Feature Crew Security
Security reviewer. Spawned with fresh context. Reads spec.md, design.md, and the diff. Produces security-revie
Waymarker
Use this agent when you need to systematically review files for waymark coverage, find opportunities for new w
Related Skills
Coverage Audit
Risk-prioritised test coverage analysis — find the most dangerous untested code
Six
Use this skill to run test coverage analysis and write tests for uncovered code. Run it when asked to improve
Cfn Pseudo
SPARC Pseudocode phase. Trace logic, enumerate branches, find failure paths, verify branch coverage BEFORE wri