<Skill Name>
Free<What this skill does>
The English summary is being prepared. Showing the original description.
River Review のメインエントリポイント。
レビュー依頼の intent classification → 専門 skill 選択 → 実行 → finding verification → feedback classification → fixture / reference / suppression への還元までを束ねる improvement-loop orchestrator。
The English summary is being prepared. Showing the original description.
Run score Not tested
See how to installReview the instructions the agent will receive before you install.
River Review は「流れに寄り添う」AI レビューエージェントです。 単にレビューを実行するだけでなく、レビュー結果を検証し、フィードバックを分類して fixture / reference / suppression / routing へ還元する継続改善ループ を担います。
このエントリ skill は以下を担う。順序は実行フローと一致する。
AGENTS.md などの作業規則は、レビュー作業の進め方に適用する。.river/rules.md はレビュー基準として扱い、明示されたユーザーの観点を狭めない。未検証 として区別し、finding の根拠に使わない。review 実行プランを組むときに参照する入力は、以下の優先順で扱う。 上位の入力が下位を上書きする。
plan / diff / test-cases / junit / coverage / review-self / review-external.river/rules.md — リポジトリ固有のレビュー規則.river/risk-map.yaml — リスクマップ.river/ 系が見つからない場合は .claude/rules/ を fallback として使う。
入力に応じて、以下の専門スキルへ案内します。詳細な優先度規則は ROUTING.md。
| キーワード | 専門スキル | 説明 |
|---|---|---|
| 設計, アーキテクチャ, ADR | river-review-architecture | 設計・アーキテクチャレビュー |
| セキュリティ, 脆弱性 | river-review-security | セキュリティ観点レビュー |
| パフォーマンス, 最適化 | river-review-performance | パフォーマンス観点レビュー |
| テスト, カバレッジ | river-review-testing | テスト観点レビュー |
| UI, フロントエンド, アクセシビリティ, a11y, デザインシステム, コンポーネント | river-review-frontend | フロントエンド観点レビュー |
| 敵対的, 壁打ち, バイアス | adversarial-review | 敵対的レビュー(3手法統合) |
| ドキュメント, README, i18n | river-review-docs | ドキュメント整合性レビュー |
| (上記以外) | river-review-code | 一般コード品質レビュー |
デフォルト動作: キーワードがどれにも当てはまらない場合は一般コードレビュー (river-review-code) にフォールバックします。
複数カテゴリ該当時: severity重み → キーワード数 → 入力内位置の順で優先度を解決します。同点時は併用実行します。
1. 入力の intent classification
├─ 明示的なキーワード指定あり → 該当する専門スキルへルーティング
├─ 複数カテゴリに該当 → severity重み → キーワード数 → 入力内位置で優先度解決
└─ キーワードなし → river-review-code(デフォルト)へフォールバック
2. 専門スキルの実行
├─ river-review-architecture: 設計・アーキテクチャ観点
├─ river-review-security: セキュリティ観点
├─ river-review-performance: パフォーマンス観点
├─ river-review-testing: テスト観点
├─ river-review-frontend: フロントエンド観点
├─ adversarial-review: 敵対的レビュー(3手法統合)
├─ river-review-docs: ドキュメント整合性観点
└─ river-review-code: 一般コード品質(フォールバック)
3. Finding verification
└─ VERIFICATION.md の 8 項目 self-check を全件通過したものだけ出力
4. Unknown Coverage 合成(finding verification 後のメタ観点)
└─ 検証済み finding + artifact を横断し、unknown-coverage-review へ委譲して残存 Unknown / 証拠不足を合成(report-only・マージは止めない・plan 欠損時は skippedSkills でデグレード)
5. Feedback classification(人間/エージェント返答受領後)
└─ FEEDBACK.md の 7 type で分類
6. Improvement loop handoff
└─ IMPROVEMENT_LOOP.md の 9 ステップに従って fixture / reference / suppression / routing を更新
Finding は以下のフィールドを満たすこと。詳細条件は VERIFICATION.md。
| フィールド | 内容 |
|---|---|
| Finding | 何が問題か(1 文) |
| Evidence | file:line か artifact 参照。差分外の推測は不可 |
| Impact | 何が壊れる / 誰が困るか(具体的に) |
| Fix | 次の最小一手。1 ファイル / 1 関数 / 1 設定値の粒度を起点に |
| Confidence | high / medium / low / unknown |
| Severity | critical / major / minor / info(出力スキーマでは critical→major→minor→info に正規化) |
| Skill ID | どの専門 skill が出した finding か(routing 透明化) |
シンプルな出力フォーマット:
<file>:<line>: <Finding>
Impact: <Impact>
Fix: <Fix>
Severity: <severity> / Confidence: <confidence> / Skill: <skill-id>
以下 8 つの入口名は Flow Entry であり、専門 skill ではない。 入口名から Flow id を引くだけの薄い配線であり、判断ロジックはここに持たせない。
| 入口名 | Flow id | 問い | 起動 trigger |
|---|---|---|---|
review-plan | plan-review | この計画で安全に実行を開始できるか | artifact-ready |
review-replan | replan-review | 計画変更は合理的で、上流の契約を壊していないか | artifact-ready |
review-task | task-completion-review | この Task を DONE と宣言できる Evidence があるか | task-checkpoint |
review-final | final-review | 全 Task の終了ではなく、Goal / Requirement を満たしたか | before-publish / before-merge |
review-research | research-review | この調査結果を要件・設計・計画の根拠として使ってよいか | artifact-ready |
review-requirements | requirements-review | この要件から設計・実装へ進んでよいか | artifact-ready |
review-design | design-review | この設計から実装へ進んでよいか | artifact-ready |
review-technical | technical-review | 宣言された技術的前提は Evidence 上成立するか | artifact-ready |
flows/entry-map.json であり、上表はその写しにあたるflows/entry-map.json の triggers である(#2054 PR-1)。trigger は host 名を持たない中立の工程イベント名であり、after-change は入口を起動しない(entries: [])ため上表に行を持たないflows/*.flow.json、Review Intent は flows/intents/*.intent.json を読むevidence[].onMissing に従うinputs[].required と step の onUnsatisfied にも現れる。両者の一致はテストが検査するstage はレビューの局面、phase は skill 選択の段階であり別軸とする。上流 4 本は stage が 4 種類で phase は upstream に揃うselectSkills が決める。Flow は skill を名指ししない詳細はリポジトリ本体の docs/development/flow-contract.md(#2016)と docs/development/upstream-review-flows.md(#2017)にある。
どちらもこの skill の配布パッケージには同梱されないため、リンクではなくパス名で示す。
agents/river-review.md)Claude Code プラグインとしてインストールされている場合、river-review エージェントがこのスキルを読み込んで実行する。
エージェントは薄いラッパーであり、すべての手順・ルーティング・検証ロジックはこのスキルが SSoT となる。
利用可能なツール: Read, Grep, Glob, Bash
スキルのパス解決:
echo "$CLAUDE_PLUGIN_ROOT" を実行し、出力された絶対パスに /skills/agent-skills/river-review/SKILL.md を連結して Read する。Read ツールが環境変数を展開するとは限らないため、${CLAUDE_PLUGIN_ROOT} を含むパスをそのまま渡さない。./skills/agent-skills/river-review/SKILL.md を使ってよいのは、river-review リポジトリ内で動かす場合だけである。リポジトリ内かどうかは、カレントディレクトリに ./skills/agent-skills/river-review/SKILL.md と ./agents/river-review.md の両方があるかで判定する(例: Bash で test -f ./skills/agent-skills/river-review/SKILL.md && test -f ./agents/river-review.md && echo in-repo)。Codex では skills/agent-skills/ 配下のスキルとして直接利用できる。
このスキルを読み込み、手順に従ってレビューを実行する。
river CLI が PATH 上にある場合、構造化 finding のブートストラップに使える:
river run . --reviewers auto --output json
JSON には findings / autoSelectedRoles / score が含まれる。
CLI は必須でない。absent または失敗した場合はスキル駆動のレビューで継続すること。
この節は Claude Code エージェント・Codex スキル・CLI アクセラレータのどの経路で動かす場合にも適用する。
PR の差分は、利用者のリポジトリに名前付きの ref を残さない方法で取得する。
gh pr diff <N> を使う。または git fetch origin pull/<N>/head だけを実行し、FETCH_HEAD で扱う。git fetch origin pull/<N>/head:pr<N> のように、名前付きの ref やブランチを作らない。origin が fork を指している、または GitHub 以外の remote であるなどの理由で git fetch origin pull/<N>/head が失敗したら、PR の base リポジトリを指す remote(例: upstream)で同じ fetch を試す。それでも取れなければ gh pr diff <N> の出力だけでレビューを続ける。どちらの場合も名前付きの ref は作らない。git branch -D pr<N>)をレポートに書く。No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
<What this skill does>
The English summary is being prepared. Showing the original description.
画像・ボタン・フォーム要素に適切なアクセシブルネームがあるか確認する。
The English summary is being prepared. Showing the original description.
Ensure ADRs capture context, decision, alternatives, tradeoffs, and follow-ups in a way that prevents future drift.
The English summary is being prepared. Showing the original description.
敵対的分析手法を統合したレビューの entry skill。認知バイアス対策の3手法 (Pre-mortem / War Game / Logic Torturing)と、宣言・主張と実態の乖離を突く claim-vs-actual 検出3パターン(Self-Contradiction / Refactor-Claim Audit / Cross-File Leakage)へルーティングし、通常のレビューでは見えない設計の盲点・ 防御の穴・論理の弱点・宣言と実装のズレを可視化する。
The English summary is being prepared. Showing the original description.
Review changes to the Agent Skills import/export bridge for path safety, round-trip fidelity, and validation correctness.
The English summary is being prepared. Showing the original description.
Checks whether AI-assisted work defines review criteria, accessible context, explicit review loop, human judgment boundary, and feedback capture before delegating to an agent.
The English summary is being prepared. Showing the original description.