pr-test-analyzer

pr-test-analyzer is a skill for Claude Code, Codex from jasmedia/cc-pr-reviewer. It costs 67 tokens per session (763 once invoked), scanned A, original, MIT.

A pull-request review guide for checking whether tests cover the important behavior of a code change. A pull request is a proposed code change for review before it is merged.

In plain words
What is it for?
Use it to review tests added with a pull request, prioritize the most important missing cases, and judge whether tests would catch real regressions while surviving reasonable refactoring.
Why use it?
It finds missing error cases, boundary cases, business rules, validation failures, and relevant concurrent or asynchronous behavior that simple line-count coverage can miss. It also flags tests that depend too closely on implementation details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to review tests added with a pull request, prioritize the most important missing cases, and judge whether tests would catch real regressions while surviving reasonable refactoring.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jasmedia/cc-pr-reviewer/pr-test-analyzer
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.

Any agent
npx skills add jasmedia/cc-pr-reviewer --skill pr-test-analyzer
Clone the repo
git clone --depth 1 https://github.com/jasmedia/cc-pr-reviewer

Made for: Claude Code, Codex.

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 pr-test-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/jasmedia/cc-pr-reviewer/pr-test-analyzer/github.svg)](https://agentmods.dev/skills/jasmedia/cc-pr-reviewer/pr-test-analyzer)
Your own site
<a href="https://agentmods.dev/skills/jasmedia/cc-pr-reviewer/pr-test-analyzer"><img src="https://agentmods.dev/badge/skills/jasmedia/cc-pr-reviewer/pr-test-analyzer/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 pr-test-analyzer

Your own site · 80×15
<a href="https://agentmods.dev/skills/jasmedia/cc-pr-reviewer/pr-test-analyzer"><img src="https://agentmods.dev/badge/skills/jasmedia/cc-pr-reviewer/pr-test-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 763 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.00067 $0.00763
Opus 5 $0.00034 $0.00381
Sonnet 5 $0.00013 $0.00153
Haiku 4.5 $0.00007 $0.00076

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

Security

Grade A, and why

pr-test-analyzer 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 10d 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.

cc_pr_reviewer/skills/pr-test-analyzer/SKILL.md · 71 lines

How it starts

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

PR Test Analyzer

You are an expert test coverage analyst specializing in pull request review. Your primary responsibility is to ensure that the current PR has adequate test coverage for critical functionality without being overly pedantic about 100% coverage.

Core Responsibilities

  1. Analyze Test Coverage Quality: Focus on behavioral coverage rather than line coverage. Identify critical code paths, edge cases, and 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 rather than 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 from 1-10 (10 being absolutely essential)
    • Explain the specific regression or bug it prevents
    • Consider whether existing tests might already cover the scenario

Analysis Process

  1. First, examine the PR's changes to understand new functionality and modifications.
  2. Review the accompanying tests to map coverage to functionality.
  3. Identify critical paths that could cause production issues if broken.
  4. Check for tests that are too tightly coupled to implementation.
  5. Look for missing negative cases and error scenarios.
  6. Consider integration points and their test coverage.

Rating Guidelines

  • 9-10: Critical functionality that could cause data loss, security issues, or system failures
  • 7-8: Important business logic that could cause user-facing errors
  • 5-6: Edge cases that could cause confusion or minor issues
  • 3-4: Nice-to-have coverage for completeness
  • 1-2: Minor improvements that are optional

Read the full file on GitHub · 71 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. 10d ago First seen · 71 lines · 67 tokens per session scan A a126780a7b71

Subscribe to this mod's changes

pr-test-analyzer is a skill published in the GitHub repository jasmedia/cc-pr-reviewer (5 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 763 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-31.

Related

Other skills, from other repositories

verify-implementation

A workflow that runs a project’s verification skills to produce a report on coding patterns, architecture rules, and project conventions. It is intended for work after implementation, before a pull request, or during code review.

sangrokjung/claude-forge · 37 tokens

verification-engine

Use when verifying build/test/lint before commit, PR, or completion claims. Runs verification pipeline in fresh subagent context with auto-repair. Triggers on /handoff-verify, pre-commit check, build verification, test validation.

sangrokjung/claude-forge · 52 tokens

review-loop

Run the adversarial verification loop — implement, then hand the change to a fresh checker that did not write it, fix what it finds, and re-dispatch until APPROVE. Use before claiming any behavioural change is done, and on requests like "review loop", "adversarial review", "independent review", "get this verified"…

sangrokjung/claude-forge · 100 tokens

frontend-code-review

Trigger when the user requests a review of frontend files (e.g., .tsx, .ts, .js). Support both pending-change reviews and focused file reviews while applying the checklist rules.

sangrokjung/claude-forge · 42 tokens

semgrep-rule-variant-creator

Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.

waybarrios/opencode-power-pack · 50 tokens

ln-21-documentation-auditor

Audits documentation and comments for trustworthy claims, coverage, and discoverability. Not for code, test, or architecture audits.

levnikolaevich/claude-code-skills · 34 tokens