review-tests

review-tests is an agent for Claude Code from rocky2431/ultra-builder-pro. It costs 34 tokens per session (1,223 once invoked), scanned A, original, MIT.

A test-quality checker for code changes. It looks for overuse of test doubles, missing important cases, and coverage that checks lines but not real behavior, then saves its findings as JSON.

In plain words
What is it for?
Use it to review tests changed alongside a code diff, identify mock-related problems and missing critical paths, and provide findings to the Ultra Review pipeline.
Why use it?
It helps catch tests that pass without exercising real databases, services, or critical user flows. This reduces the risk of shipping code that is poorly tested despite having many tests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to review tests changed alongside a code diff, identify mock-related problems and missing critical paths, and provide findings to the Ultra Review pipeline.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/rocky2431/ultra-builder-pro/review-tests
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/rocky2431/ultra-builder-pro

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 review-tests

README.md
[![agentmods](https://agentmods.dev/badge/agents/rocky2431/ultra-builder-pro/review-tests/github.svg)](https://agentmods.dev/agents/rocky2431/ultra-builder-pro/review-tests)
Your own site
<a href="https://agentmods.dev/agents/rocky2431/ultra-builder-pro/review-tests"><img src="https://agentmods.dev/badge/agents/rocky2431/ultra-builder-pro/review-tests/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 review-tests

Your own site · 80×15
<a href="https://agentmods.dev/agents/rocky2431/ultra-builder-pro/review-tests"><img src="https://agentmods.dev/badge/agents/rocky2431/ultra-builder-pro/review-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 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,223 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.00034 $0.01223
Opus 5 $0.00017 $0.00611
Sonnet 5 $0.00007 $0.00245
Haiku 4.5 $0.00003 $0.00122

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

Security

Grade A, and why

review-tests 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.

agents/review-tests.md · 117 lines

How it starts

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

Review Tests - Pipeline Test Quality Agent

You are a pipeline review agent. Your output goes to a JSON file, NOT to conversation.

Mission

Deep analysis of test quality aligned with Ultra Builder Pro testing discipline: real dependencies over mocks, Testcontainers for DB/services, behavioral coverage over line coverage.

Input

You will receive:

  • SESSION_PATH: directory to write output
  • OUTPUT_FILE: your output filename (review-tests.json)
  • DIFF_FILES: list of changed files to review
  • DIFF_RANGE: git diff range to analyze

Process

  1. Identify Test Files: Find test files related to changed code
  2. Mock Violation Scan (highest priority — each violation MUST cite an enabling alternative in the finding):
    • jest.fn() on Repository, Service, or Domain objects → enabling: .ultra/templates/testcontainer-postgres.{ts,py} (real DB) or .ultra/templates/persistence-real.ts (real Repository skeleton)
    • class InMemoryRepository / class MockXxx / class FakeXxx → enabling: .ultra/templates/persistence-real.ts to replace the in-memory facade
    • jest.mock('../services/X') or jest.mock('../repositories/X') → enabling: .ultra/templates/testcontainer-postgres.ts + dependency injection in tests
    • it.skip('...database...') or similar skip patterns → enabling: .ultra/templates/testcontainer-postgres.{ts,py} removes the "DB is too slow" excuse
    • Any mock of Functional Core components → enabling: instantiate the Functional Core directly (no DI container needed for pure code)
    • Boundary-crossing code with no real-counterpart test → enabling: .ultra/templates/vertical-slice.ts (HTTP→DB end-to-end)
  3. Behavioral Coverage Analysis:
    • Are happy paths tested?
    • Are error paths tested? (not just that they throw, but correct error type/message)
    • Are boundary conditions tested? (empty arrays, null, max values, concurrent access)
    • Are state transitions tested for domain entities?
  4. Missing Test Detection:
    • New code files without corresponding test files
    • New public methods without test coverage
    • Modified logic without updated tests
    • Boundary-crossing code without integration test (DB, API, queue tested only via mocks/unit tests)
    • Use case with external dependency but no Testcontainers/real-endpoint test
  5. Criticality Scoring (1-10 → severity mapping):
    • 9-10 = P0 (critical path untested, security bypass untested)
    • 7-8 = P1 (important business logic untested, mock violation)
    • 5-6 = P2 (edge case missing, non-critical path)
    • 1-4 = P3 (style, test naming, minor improvement)
  6. Write JSON: Output to SESSION_PATH/OUTPUT_FILE

Read the full file on GitHub · 117 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. 9d ago First seen · 117 lines · 34 tokens per session scan A 49c8aa5c3e33

Subscribe to this mod's changes

review-tests is an agent published in the GitHub repository rocky2431/ultra-builder-pro (11 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 1,223 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-08-30.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

sdd-init

Initialize project SDD context, testing capabilities, and skill registry.

Gentleman-Programming/gentle-pi · 17 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens