pr-test-analyzer

pr-test-analyzer is a skill for Claude Code, Codex from kyto64/codex-pr-review-toolkit-minimal. It costs 25 tokens per session (811 once invoked), scanned A, original, Apache-2.0.

A pull-request review guide that checks whether tests cover the actual behavior of new or changed code. It looks for missing error cases, boundary values, important branches, asynchronous behavior, and integration points.

In plain words
What is it for?
Use it to review test coverage for a pull request and suggest concrete tests for unprotected behavior.
Why use it?
It helps find tests that look present but would not catch meaningful regressions, while also identifying fragile tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review test coverage for a pull request and suggest concrete tests for unprotected behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kyto64/codex-pr-review-toolkit-minimal/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 kyto64/codex-pr-review-toolkit-minimal --skill pr-test-analyzer
Clone the repo
git clone --depth 1 https://github.com/kyto64/codex-pr-review-toolkit-minimal

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/kyto64/codex-pr-review-toolkit-minimal/pr-test-analyzer/github.svg)](https://agentmods.dev/skills/kyto64/codex-pr-review-toolkit-minimal/pr-test-analyzer)
Your own site
<a href="https://agentmods.dev/skills/kyto64/codex-pr-review-toolkit-minimal/pr-test-analyzer"><img src="https://agentmods.dev/badge/skills/kyto64/codex-pr-review-toolkit-minimal/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/kyto64/codex-pr-review-toolkit-minimal/pr-test-analyzer"><img src="https://agentmods.dev/badge/skills/kyto64/codex-pr-review-toolkit-minimal/pr-test-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 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.00025 $0.00811
Opus 5 $0.00013 $0.00405
Sonnet 5 $0.00005 $0.00162
Haiku 4.5 $0.00003 $0.00081

Measured 10d ago against content hash 200568b9df74, 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.

docs/ja/skills/pr-test-analyzer/SKILL.md · 63 lines

What it actually says

PR Test Analyzer

新規・変更機能に対するテストの質とギャップをレビューする。行カバレッジの数値ではなく behavioral coverage(振る舞いと契約がテストされているか、回帰を捕まえられるか)を見る。pr-reviewtest-coverage 観点として使う。

レビュー手順

  1. PR の変更内容を読み、新規・変更された振る舞いを列挙する
  2. 対応するテストを読み、振る舞いとテストをマッピングする
  3. 壊れたら本番障害につながる未テスト経路を特定する
  4. テストの質を評価する(下記)
  5. 既存の統合テストでカバー済みの経路を除外する

ギャップの重点チェック

  • エラーハンドリング経路(サイレント障害の温床)
  • 境界値・バリデーションの negative case
  • 重要なビジネスロジック分岐
  • 非同期・並行の挙動(該当する場合)
  • 統合ポイント(外部 API、DB、他モジュールとの境界)

テストの質チェック

ギャップだけでなく、既存テストの brittleness も指摘対象。

  • 実装詳細ではなく振る舞い・契約をテストしているか
  • 妥当なリファクタリングに耐えるか(実装が変わっただけで落ちるテストは brittle)
  • 将来のコード変更による意味のある回帰で実際に落ちる
  • テスト名・構成が何を検証しているか読み取れるか

重要度の目安

状況 重要度
データ損失・セキュリティ・重大障害を見逃す P0–P1
ユーザー向けエラーや重要ロジックの欠落、brittle で回帰を捕まえないテスト P1
エッジケース・混乱を招く欠落 P2
completeness のための軽微な追加 P3(除外)

出力

### P1: [タイトル]
- File: `path/to/source.ts` (and `path/to/test.ts` if applicable)
- Lines: N-M
- Category: test-coverage
- Problem: [何がテストされていないか / なぜ brittle か]
- Impact: [このテストがあれば防げる障害・回帰の具体例]
- Suggested test: [何を入力し、何を検証するテストか具体的に]

ルール

  • DO: 各 Finding に「このテストが防ぐ具体的な障害」を書く(書けないなら指摘しない)
  • DO: 追加コストと得られる価値のバランスを考慮する
  • DO: よくテストされている部分は短く肯定的に言及してよい
  • DO NOT: getter/setter 等の自明なコードにテストを要求する
  • DO NOT: 100% カバレッジやメトリクスを目的にした指摘をする
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 · 63 lines · 25 tokens per session scan A 200568b9df74

Subscribe to this mod's changes

pr-test-analyzer is a skill published in the GitHub repository kyto64/codex-pr-review-toolkit-minimal (1 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 25 tokens to every session and 811 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-08-31.

Related

Other skills, from other repositories

mine-plan-review

Strictly review one implemented repository plan against AGENTS.md, architecture, the immutable plan, implementation commits, real runtime behavior, verification evidence, and downstream contracts. Use when the user invokes the host-specific mine-plan-review skill with a plan path, asks whether a plan can be accepted…

6ixGODD/mine · 100 tokens

done

Run the closeout ritual before handing back non-trivial work; full verification, revert-probe honesty, independent review, and scope reporting. Use before declaring completion, opening a PR, wrapping up a change, or "ปิดงาน".

ohm41321/luciazero · 50 tokens

reality-checker

Evidence-based readiness assessor — defaults to NEEDS WORK, refuses fantasy A+ ratings, demands overwhelming proof before declaring anything production-ready.

RaNDoM6913/claude-code-superkit · 30 tokens

vibe-quality-loop

Enforces the Implement→Review→Test→Fix→Loop cycle until work is clean. Use after any non-trivial implementation to prevent "good enough" exits.

ash1794/vibe-engineering · 38 tokens

dev-cli-tooling-workflow

Use to design, implement, review, or test CLI tools, flags, config precedence, terminal UX, errors, and docs.

BlueSkyXN/Codex-is-all-you-need · 33 tokens

adversarial-verification

Use when verifying implementation work and the failure mode is superficial approval, code-reading in place of execution, or over-trusting a passing test suite without trying to break the change.

chuanzige/claude-code-main-skills · 40 tokens