claude-code-boilerplate: Agent for Claude Code

.claude/agents/test-coverage-reviewer.md

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

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is levu304/claude-code-boilerplate's own configuration. It tells Claude Code how to work on claude-code-boilerplate itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-boilerplate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to levu304/claude-code-boilerplate. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/levu304/claude-code-boilerplate/main/.claude/agents/test-coverage-reviewer.md
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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-coverage-reviewer

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00053 $0.01148
Opus 5.5 $0.00021 $0.00459
Sonnet 5.5 $0.00011 $0.00230
Haiku 4.5 $0.00005 $0.00115

Measured 2mo ago against content hash 1746585ea599, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 6mo ago), licensed MIT. It adds 53 tokens to every session and 1,148 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other agents, from other repositories

ai-hygiene-auditor

Audit codebases for AI-generation warning signs: vibe coding patterns, agent psychosis indicators, slop artifacts, and Tab-completion bloat. Specialized complement to bloat-auditor.

athola/claude-night-market · 48 tokens

sap-test-plan-reviewer

Adversarial review of a test-case plan produced by design-cases. READS the actual ABAP source snapshot (plus findings.md, flow.md, units.md, and the TC-.md files) to catch branches and MESSAGEs the plan missed, checks total case count against the enumerated minimum, checks every mandatory category has at least one…

marcellourbani/vscode_abap_remote_fs · 161 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

karimo-coverage-reviewer

Analyzes coverage reports and adds explanatory PR comments. Spawned by /karimo:merge when coverage reports exist. Cross-references with task briefs to explain coverage gaps.

opensesh/KARIMO · 41 tokens

ring:qa

Senior QA Analyst for financial systems. Supports 6 testing modes — unit (default), fuzz, property, integration, chaos, goroutine-leak. Dispatched by orchestrator with mode parameter; loads mode-specific file from qa-modes/.

LerianStudio/ring · 52 tokens

Smart Exclude

Picks folders a SAST run doesn't need to scan (test directories, fixtures, docs, generated code, vendored deps) so the scan skips them.

agentgg-dev/agentgg · 36 tokens