test-gap-finder

test-gap-finder is an agent for Claude Code from HoangNguyen0403/agent-skills-standard. It costs 37 tokens per session (320 once invoked), scanned A, original, MIT.

A code-review helper that checks a change for missing, weak, or outdated tests.

In plain words
What is it for?
Use it during review to assess unit, component, integration, end-to-end, or mobile test coverage and suggest specific test cases.
Why use it?
It helps reveal behavior, error paths, and edge cases that a diff may have changed without properly testing. It also flags tests whose assertions do not meaningfully verify the result.

Agent for Claude Code

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

Good fit Use it during review to assess unit, component, integration, end-to-end, or mobile test coverage and suggest specific test cases.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hoangnguyen0403/agent-skills-standard/test-gap-finder
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.

Clone the repo
git clone --depth 1 https://github.com/HoangNguyen0403/agent-skills-standard

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-gap-finder

README.md
[![agentmods](https://agentmods.dev/badge/agents/hoangnguyen0403/agent-skills-standard/test-gap-finder/github.svg)](https://agentmods.dev/agents/hoangnguyen0403/agent-skills-standard/test-gap-finder)
Your own site
<a href="https://agentmods.dev/agents/hoangnguyen0403/agent-skills-standard/test-gap-finder"><img src="https://agentmods.dev/badge/agents/hoangnguyen0403/agent-skills-standard/test-gap-finder/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-gap-finder

Your own site · 80×15
<a href="https://agentmods.dev/agents/hoangnguyen0403/agent-skills-standard/test-gap-finder"><img src="https://agentmods.dev/badge/agents/hoangnguyen0403/agent-skills-standard/test-gap-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 320 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.00037 $0.00320
Opus 5 $0.00018 $0.00160
Sonnet 5 $0.00007 $0.00064
Haiku 4.5 $0.00004 $0.00032

Measured 9d ago against content hash 862b924b194f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

test-gap-finder 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 9d 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-gap-finder.md · 50 lines

What it actually says

Specialist: Test Gap Finder

Priority: P1 (HIGH)

Role

Review code diffs for missing tests, weak assertions, untested edge cases, and broken test assumptions.

Budget

  • Tool cap: <= 12 calls.
  • Read test files only to verify assertion quality.
  • Run tests before claiming an existing test fails.
  • No sub-agents.
  • If no diff or changed files are supplied, return BLOCKED instead of guessing scope.

Checklist

  1. Identify changed behavior, public APIs, branches, and error paths.
  2. Locate related unit, component, integration, E2E, or mobile tests.
  3. Verify meaningful assertions; reject smoke-only coverage for real logic.
  4. Exempt pure visual pass-through and deprecated code with machine-verifiable deprecation signal.
  5. Suggest concrete test case names and layer, not full unverified code.

Output

### Test Coverage Findings

#### Missing Tests
- [Severity] [file] - [gap + suggested test]

#### Test Quality Issues
- [Severity] [test_file:line] - [issue]

#### What Looks Good
- [observation]

Severity: Major, Minor, Suggestion.

Anti-Patterns

  • No duplicate UI tests when lower-layer logic already covered.
  • No failing-test claim unless executed.
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. 9d ago First seen · 50 lines · 37 tokens per session scan A 862b924b194f

Subscribe to this mod's changes

test-gap-finder is an agent published in the GitHub repository HoangNguyen0403/agent-skills-standard (565 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 320 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

uds-feature-implementer

Use to implement a feature whose goal and integration points are already defined, refactor a module toward a stated target structure, or write integration tests for a specified subsystem. Use when most steps are settled and only a bounded set of local choices remains. Do NOT use when the target structure itself is…

AsiaOstrich/universal-dev-standards · 74 tokens

testing-engineer

Use this agent when implementing comprehensive Flutter test suites with unit tests, widget tests, integration tests, golden tests, mocktail mocking, Riverpod testing, GoRouter testing, test coverage enforcement, and CI test pipeline optimization.

altmemy/claude-code-templates · 48 tokens

qa-engineer

QA engineer. Establishes test strategies, writes unit/integration/E2E tests, and verifies code quality and functional correctness.

revfactory/harness-100 · 29 tokens

pr-test-analyzer

Review a set of changes for test coverage quality and completeness. Use after changes are made to ensure tests adequately cover new functionality and edge cases. Triggers include checking whether tests on fresh changes are thorough, analyzing coverage after new logic is added, and a final pre-merge double-check.

ronaknnathani/relay · 62 tokens

test-specialist

A testing specialist for planning software tests and assessing how thoroughly code is tested.

AsiaOstrich/universal-dev-standards · 74 tokens

refactor-engineer

Behavior-preserving refactoring specialist. Hotspot repayment, characterization-test safety nets, atomic refactor-only commits. Never changes observable behavior.

first-fluke/fullstack-starter · 32 tokens