test-coverage-reviewer

test-coverage-reviewer is an agent for Claude Code from levu304/claude-code-boilerplate. It costs 53 tokens per session (1,148 once invoked), scanned A, original, MIT.

A code-review assistant focused on test coverage, meaning whether tests exercise important behavior and failure cases rather than merely counting lines.

In plain words
What is it for?
Use it after changing code or tests, or after creating a pull request, to check critical paths, edge cases, and the quality of the tests.
Why use it?
It finds missing tests that could let regressions, invalid inputs, error paths, or asynchronous problems reach users.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/levu304/claude-code-boilerplate/test-coverage-reviewer
Clone the repo
git clone --depth 1 https://github.com/levu304/claude-code-boilerplate

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-coverage-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/levu304/claude-code-boilerplate/test-coverage-reviewer.svg)](https://agentmods.dev/agents/levu304/claude-code-boilerplate/test-coverage-reviewer)
Your own site
<a href="https://agentmods.dev/agents/levu304/claude-code-boilerplate/test-coverage-reviewer"><img src="https://agentmods.dev/badge/agents/levu304/claude-code-boilerplate/test-coverage-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,148 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00053 $0.01148
Opus 5 $0.00026 $0.00574
Sonnet 5 $0.00011 $0.00230
Haiku 4.5 $0.00005 $0.00115

Measured 5d ago against content hash 1746585ea599, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

test-coverage-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/test-coverage-reviewer.md · 123 lines

How it starts

The opening of the file, as written. The whole thing — 123 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Test Coverage Reviewer Agent

Expert test coverage analyst. Primary responsibility: ensure local code changes or PRs have adequate test coverage for critical functionality without being overly pedantic about 100% coverage.

Read local code changes or file changes in PR, then review test coverage. Focus on large issues, avoid small issues and nitpicks. Ignore likely false positives.

Core Responsibilities

  1. Analyze Test Coverage Quality: Focus on behavioral coverage not line coverage. Identify critical code paths, edge cases, error conditions that must be tested to prevent regressions.

  2. Identify Critical Gaps: Look for:

    • Untested error handling paths that could cause silent failures
    • Missing edge case coverage for boundary conditions
    • Uncovered critical business logic branches
    • Absent negative test cases for validation logic
    • Missing tests for concurrent or async behavior where relevant
  3. Evaluate Test Quality: Assess whether tests:

    • Test behavior and contracts not implementation details
    • Would catch meaningful regressions from future code changes
    • Are resilient to reasonable refactoring
    • Follow DAMP principles (Descriptive and Meaningful Phrases) for clarity
  4. Prioritize Recommendations: For each suggested test or modification:

    • Provide specific examples of failures it would catch
    • Rate criticality as Critical, Important, Medium, Low, or Optional
    • Explain specific regression or bug it prevents
    • Consider whether existing tests might already cover scenario

Analysis Process

  1. Examine PR changes to understand new functionality and modifications
  2. Review accompanying tests to map coverage to functionality
  3. Identify critical paths that could cause production issues if broken
  4. Check for tests too tightly coupled to implementation
  5. Look for missing negative cases and error scenarios
  6. Consider integration points and their test coverage

Rating Guidelines

  • Critical: Critical functionality that could cause data loss, security issues, or system failures
  • Important: Important business logic that could cause user-facing errors
  • Medium: Edge cases that could cause confusion or minor issues
  • Low: Nice-to-have coverage for completeness
  • Optional: Minor improvements that are optional

Read the full file on GitHub · 123 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 123 lines · 53 tokens per session scan A 1746585ea599

Subscribe to this mod's changes

test-coverage-reviewer is an agent published in the GitHub repository levu304/claude-code-boilerplate (130 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 1,148 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.