review-tests-rspec

review-tests-rspec is an agent for Claude Code from hoblin/claude-ruby-marketplace. It costs 65 tokens per session (710 once invoked), scanned A, original, MIT.

A reviewer for RSpec tests, the Ruby testing framework used to describe and check program behavior. It examines both the tests and the production code they claim to cover.

In plain words
What is it for?
Use it in pull-request audits for Ruby projects that use RSpec, especially when judging whether new or changed tests provide meaningful coverage.
Why use it?
It helps catch test suites that pass without checking the behavior the ticket requires. It looks for weak assertions, missing edge cases, and coverage that exists only in descriptions or comments.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the rpi plugin — 13 skills, 12 agents shipped together

Good fit Use it in pull-request audits for Ruby projects that use RSpec, especially when judging whether new or changed tests provide meaningful coverage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/hoblin/claude-ruby-marketplace/review-tests-rspec
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/hoblin/claude-ruby-marketplace

Made for: Claude Code.

Or install rpi, the plugin that ships this one along with the rest of its 13 skills, 12 agents.

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-rspec

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/hoblin/claude-ruby-marketplace/review-tests-rspec"><img src="https://agentmods.dev/badge/agents/hoblin/claude-ruby-marketplace/review-tests-rspec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 710 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.00065 $0.00710
Opus 5 $0.00032 $0.00355
Sonnet 5 $0.00013 $0.00142
Haiku 4.5 $0.00006 $0.00071

Measured yesterday against content hash ae324b86244c, 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-rspec 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 yesterday.

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.

plugins/rpi/agents/review-tests-rspec.md · 57 lines

How it starts

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

You are the test reviewer for an RSpec codebase. Review the PR for test quality and coverage: what you protect is trust in green — a passing suite that doesn't test the behavior is worse than a missing one.

Use any read-only instrument you need — file reads, grep, shell inspection, skills. You are not authorized to make any changes: no edits, no writes, no commits. You report; the orchestrator decides.

Critical: Before reviewing, activate the rspec:rspec skill and read its main references — they are your best-practices baseline. Activate rpi:document-code too — it is the standard for comments in specs.

Principles

The code is the only source of truth

Read the changed specs and the production code they exercise fully — not grep/sed excerpts. Asserting around a code path is not covering it; only the whole file tells you what is actually exercised.

Hunt altitude, not just anti-patterns

Ask what the ticket's behavior demands be tested, not only whether the written specs are clean.

Distrust narration

Spec descriptions and the PR description are claims to verify against the assertions, never facts. An it "handles the edge case" block proves nothing until you read its expectations.

Precedent is not authority

A precedent does not legitimize an antipattern — it locates another instance of it. When "a sibling does the same" tempts you to accept, first ask whether the sibling is itself a finding worth reporting.

Self-refute before reporting

Before emitting any finding or pass, try to refute it. Before accepting coverage as sufficient, name the edge case that would break it.

Focus Areas

  • Missing test coverage for new code paths
  • Flaky test patterns (time-dependent, order-dependent)
  • Factory usage (proper traits, avoiding create when build suffices)
  • Test isolation issues (shared state, missing cleanup)
  • Assertion quality (testing behavior vs implementation)
  • Bogus tautologies (tests that restate the implementation's logic and can never fail)
  • Surfacing universal properties when possible (assert invariants over cherry-picked examples)
  • Missing edge case coverage
  • Missing coverage for authorization boundaries (cross-org access denial, role-based access denied, unauthenticated request rejected)

Read the full file on GitHub · 57 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. yesterday Changed ae324b86244c
  2. 9d ago First seen · 57 lines · 65 tokens per session scan A cd37069fa075

Subscribe to this mod's changes

review-tests-rspec is an agent published in the GitHub repository hoblin/claude-ruby-marketplace (37 stars, last pushed yesterday), licensed MIT. It adds 65 tokens to every session and 710 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.

Related

Other agents, from other repositories

certification-verifier

Independent two-stage verification agent that reviews the migrator's checklist and is the sole authority permitted to certify migrated codebase slices. Trigger with "verify slice certification", "run two-stage verification", "is slice certified", or automatically during slice migration.

richfrem/agent-plugins-skills · 54 tokens

coverage-check

Read-only agent that checks whether changed production files have corresponding test coverage.

greglas75/zuvo · 17 tokens

refactoring-agent

Improves code structure, readability, and maintainability without changing observable behavior — applying proven refactoring patterns with disciplined, test-backed transformations.

The-AI-Directory-Company/agents-and-skills · 31 tokens

code-quality-reviewer

Use this agent when you need comprehensive manual quality review, integration testing, and user experience validation. USE PROACTIVELY for quality gates - automated tools (lint/typecheck) are handled by hooks, this agent focuses on manual QA that requires human-level assessment. Examples: Context: User has just…

bwads001/claude-code-agents · 264 tokens

pr-test-analyzer

Review pull request test coverage quality and completeness, with emphasis on behavioral coverage and real bug prevention.

affaan-m/ECC · 24 tokens

consistency-qa

The brooks-lint verification gate. Runs npm run validate, npm test, and npm run evals, then cross-checks the documents the validator can't fully diff — the four plugin manifests, all six README badges, the docs landing-page JSON-LD, CHANGELOG, AGENTS.md, GEMINI.md, and the derived book count — for drift. Reports…

hyhmrright/brooks-lint · 123 tokens