review-test-cases

review-test-cases is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 21 tokens per session (766 once invoked), scanned A, original, Apache-2.0.

A test-case reviewer that accepts a file path, pasted oc commands, or test code written with Ginkgo, a Go testing framework.

In plain words
What is it for?
Use it to review shell-based oc tests or Ginkgo Go tests and receive structured feedback on their organization and quality.
Why use it?
It helps identify missing coverage, unclear structure, reliability issues, and departures from OpenShift testing practices.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to review shell-based oc tests or Ginkgo Go tests and receive structured feedback on their organization and quality.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/review-test-cases
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/wangke19/gemini-ai-helpers

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-test-cases

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/review-test-cases/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/review-test-cases)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/review-test-cases"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/review-test-cases/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-test-cases

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/review-test-cases"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/review-test-cases.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 766 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.00021 $0.00766
Opus 5 $0.00010 $0.00383
Sonnet 5 $0.00004 $0.00153
Haiku 4.5 $0.00002 $0.00077

Measured 6d ago against content hash 55247651c4af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

review-test-cases 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 6d 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.

extensions/openshift/commands/review-test-cases.md · 70 lines

How it starts

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

Name

openshift:review-test-cases

Synopsis

/openshift:review-test-cases [file-path-or-test-code-or-commands]

Description

The review-test-cases command provides comprehensive review of OpenShift test cases to ensure quality, completeness, and adherence to best practices. It accepts three types of input:

  1. File path: Path to test file (e.g., /path/to/test.sh or /path/to/test.go)
  2. oc commands: Direct oc CLI commands to review (e.g., paste a set of oc commands)
  3. Test code: Pasted Ginkgo test code to analyze

The command analyzes test code in both oc CLI shell scripts and Ginkgo Go tests, helping QE engineers identify gaps in test coverage, improve test reliability, and ensure tests follow OpenShift testing standards.

Implementation

The command analyzes test cases and provides structured feedback:

  1. Parse Test Input: Determine if input is a file path, oc commands, or test code
    • If file path: Read and analyze the test file
    • If oc commands: Parse command sequence
    • If test code: Analyze pasted Ginkgo/test code
  2. Identify Test Format: Detect if it's oc CLI shell script or Ginkgo Go code
  3. Analyze Test Structure: Review organization, naming, and patterns
  4. Check Coverage: Verify positive, negative, and edge case coverage
  5. Review Assertions: Ensure proper validation and error checking
  6. Evaluate Cleanup: Verify resource cleanup and namespace management
  7. Assess Best Practices: MUST follow the standards defined in "Testing Guidelines and References" section below
  8. Generate Recommendations: Provide actionable improvement suggestions based on the guidelines

CRITICAL: All reviews MUST be evaluated against the specific standards, references, and best practices listed in the "Testing Guidelines and References" section below. Do not use generic testing advice - follow the OpenShift-specific guidelines provided.

Testing Guidelines and References

The review follows established testing best practices from:

Read the full file on GitHub · 70 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. 6d ago First seen · 70 lines · 21 tokens per session scan A 55247651c4af

Subscribe to this mod's changes

review-test-cases is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 21 tokens to every session and 766 once invoked, about $0.0001 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.