Standard Review Policy for Midstream

Standard Review Policy for Midstream is a skill for Claude Code from s977043/river-review. It costs 23 tokens per session (1,095 once invoked), scanned A, original, MIT.

A standard review policy for implementation changes that focuses on bugs, security risks, reliability, and maintainability.

In plain words
What is it for?
Use it for ordinary pull-request reviews where you need concise findings, priorities, evidence, and questions for unclear design decisions.
Why use it?
It keeps review comments tied to changed lines, supported by evidence, and limited to issues important enough to act on.

Skill for Claude Code

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

Part of the river-review plugin — 138 skills, 18 commands, 5 agents, 3 hooks shipped together

Good fit Use it for ordinary pull-request reviews where you need concise findings, priorities, evidence, and questions for unclear design decisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/s977043/river-review/review-policy-standard-midstream
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 s977043/river-review --skill review-policy-standard-midstream
Clone the repo
git clone --depth 1 https://github.com/s977043/river-review

Made for: Claude Code.

Or install river-review, the plugin that ships this one along with the rest of its 138 skills, 18 commands, 5 agents, 3 hooks.

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 Standard Review Policy for Midstream

README.md
[![agentmods](https://agentmods.dev/badge/skills/s977043/river-review/review-policy-standard-midstream/github.svg)](https://agentmods.dev/skills/s977043/river-review/review-policy-standard-midstream)
Your own site
<a href="https://agentmods.dev/skills/s977043/river-review/review-policy-standard-midstream"><img src="https://agentmods.dev/badge/skills/s977043/river-review/review-policy-standard-midstream/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 Standard Review Policy for Midstream

Your own site · 80×15
<a href="https://agentmods.dev/skills/s977043/river-review/review-policy-standard-midstream"><img src="https://agentmods.dev/badge/skills/s977043/river-review/review-policy-standard-midstream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,095 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.00023 $0.01095
Opus 5 $0.00012 $0.00548
Sonnet 5 $0.00005 $0.00219
Haiku 4.5 $0.00002 $0.00110

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

Security

Grade A, and why

Standard Review Policy for Midstream 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 8d 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.

skills/midstream/review-policy-standard-midstream/SKILL.md · 91 lines

What it actually says

Goal / 目的

  • 実装フェーズの差分に対して、バグ・安全性・保守性のリスクを短く指摘する。

Non-goals / 扱わないこと

  • 差分にないコードや仕様を断定しない(推測は “可能性” として扱う)。
  • 重要度の低い “nit” を濫発しない(本質的なリスクを優先する)。
  • プロジェクトの前提が不明なまま大規模リファクタを押し付けない。

False-positive guards / 抑制条件

  • 変更がコメント・フォーマットのみで、挙動変更が見当たらない場合は深入りしない。
  • リスクが不確実で根拠が薄い場合は、断定ではなく質問として扱う。

Rule / ルール

  • 差分に紐づく指摘だけを出す(根拠は <file>:<line>)。
  • 優先度は「壊れる/漏れる/回復できない」ものから(例: 入力検証不足、例外握りつぶし、認可漏れ、型安全性の破壊)。
  • 可能なら “次の一手” を最小で添える(過剰な提案は避ける)。

Evidence / 根拠

  • 指摘は必ず <file>:<line> で追える形にする。
  • 差分外の推測に依存する場合は、その旨を明示する。

Output / 出力

  • 各指摘を 1 行で出力する: <file>:<line>: <message>
  • <message> は日本語で簡潔に(目安: 200 文字以内)。
  • PR の本文(説明)と PR コメント(レビューコメント)は日本語で書く。
  • 最大 8 件。指摘がなければ NO_ISSUES のみ。

Heuristics / 判定の手がかり(例)

  • I/O・外部 API のエラー処理不足(タイムアウト、例外伝播、再試行の意図が不明)
  • 入力バリデーション不足(URL/ボディ/環境変数/外部レスポンスのノーチェック使用)
  • 例外の握りつぶし(ログ無し、戻り値で隠蔽、cause が失われる)
  • 競合・リソースリーク(接続/ファイルハンドルの close 忘れ、共有状態の競合)
  • ハードコード値の増加(環境差異で壊れる設定値)

評価指標(Evaluation)

  • 合格基準: 指摘が差分に紐づき、根拠と次アクションが説明されている。
  • 不合格基準: 差分と無関係な指摘、根拠のない断定、抑制条件の無視。

人間に返す条件(Human Handoff)

  • 仕様や意図が不明確で解釈が分かれる場合は質問として返す。
  • 影響範囲が広い設計判断やトレードオフは人間レビューへ返す。

レビュー姿勢(Standard of Code Review)

  • 完璧なコードを求めず、「PR を入れることでコードベース全体の健全性が改善するか」を判断軸にする (google/eng-practices の "Improve the overall code health" 原則)。
  • 完璧主義的な書き直し要求や、好みベースの reformat 要求はしない。
  • nit / 好み相当の指摘は severity: minor 以下に留め、major / critical は実害ベースの指摘に限定する。詳しい対応表は docs/development/google-eng-practices-mapping.md を参照する。
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. 8d ago First seen · 91 lines · 23 tokens per session scan A 321561ded181

Subscribe to this mod's changes

Standard Review Policy for Midstream is a skill published in the GitHub repository s977043/river-review (3 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 1,095 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.

Related

Other skills, from other repositories

logic-health

Sweep a directory, module, or full codebase for logic correctness and produce a scored health dashboard with systemic patterns. Trigger when the user requests a health view — "audit the whole codebase", "health check", "health overview", "logic health overview", "audit src/", "audit auth and payments modules", "where…

hyhmrright/logic-lens · 180 tokens

logic-diff

Compare two code versions for semantic equivalence via semi-formal tracing of both versions side-by-side. Trigger when the user shares a refactor, rewrite, migration, or A/B implementation and wants to confirm behavior is unchanged — "did I break anything", "is this equivalent", "are these equivalent", "semantically…

hyhmrright/logic-lens · 192 tokens

deep-review

Multi-angle code review that adapts to what is being reviewed — a mid-flight worktree increment, a full PR before production, a merge-window integration sweep, or a security-only pass. Findings are scored, adversarially refuted, widened to the same defect elsewhere in the codebase, and reported to the native review…

Jmosier69/refute · 97 tokens

review-loop

Run a bounded cross-model peer review and fix loop, or report findings in read-only mode.

stone16/harness-engineering-skills · 22 tokens

harness

Plan or execute complex tasks through the harness checkpoint, evaluation, and retro workflow.

stone16/harness-engineering-skills · 19 tokens

release

Cut a brooks-lint release: set the version in package.json, propagate it across all four plugin manifests and every version-bearing text file (README badges, docs site metadata), write the CHANGELOG entry, validate, then commit, push, tag, and publish the GitHub release. Triggers when the maintainer asks to "release"…

hyhmrright/brooks-lint · 135 tokens