river-review-testing
テスト観点のレビューエージェント。 テスト網羅性、命名規則、フレーキーテスト、カバレッジギャップの個別スキルへルーティングする。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 1.6k
- Forks
- 491
01 前言 Front Matter
- id
- river-review-testing
- name
- river-review-testing
- tags
- [ "testing", "coverage", "entry", "routing" ]
- phase
- [ "downstream" ]
- applyTo
- [ "**/*.test.{ts,tsx,js,jsx}", "**/*.spec.{ts,tsx,js,jsx}", "tests/**/*", "test/**/*", "__tests__/**/*" ]
- license
- MIT
- version
- 0.1.0
- category
- downstream
- severity
- minor
- outputKind
- [ "findings", "actions" ]
- description
- テスト観点のレビューエージェント。 テスト網羅性、命名規則、フレーキーテスト、カバレッジギャップの個別スキルへルーティングする。
- inputContext
- [ "diff", "fullFile", "tests" ]
02 资源文件 1
- 参考文档references/ROUTING.md1.7 KB
03 SKILL.md 正文
Testing Review(テストレビュー)
テストコードの品質、網羅性、安定性を検証する。
When to Use / いつ使うか
- テストファイルの追加・変更時
- テスト対象コードの変更時(テストの更新漏れ検出)
- テスト戦略の見直し時
Routing / ルーティング
| キーワード | スキルID | 説明 |
|---|---|---|
| カバレッジ, 網羅 | coverage-gap |
カバレッジギャップ検出 |
| フレーキー, 不安定 | flaky-test |
フレーキーテストリスク |
| テスト有無, 存在 | test-existence |
テスト存在確認 |
| 命名, 構造, describe | test-naming |
テスト命名・構造 |
| テスト観点, 計画 | test-plan-review |
テスト観点レビュー |
| アサーション, 常に PASS, 恒真 | test-assertion-effectiveness |
アサーション有効性(無効な検証) |
デフォルト動作
- テストファイルの変更 →
test-naming+flaky-test+test-assertion-effectiveness - ソースコードの変更 →
test-existence+coverage-gap - 大規模変更 → 全スキル実行
Execution Flow / 実行フロー
1. 変更ファイルの分類
├─ テストファイル → 品質チェック(命名、フレーキー)
├─ ソースファイル → 網羅性チェック(存在、カバレッジ)
└─ 両方 → 全スキル実行
2. 各スキルの実行
├─ test-existence: テストの存在確認
├─ coverage-gap: カバレッジギャップ検出
├─ test-naming: 命名・構造検証
├─ flaky-test: フレーキーリスク検出
├─ test-plan-review: テスト観点の妥当性
└─ test-assertion-effectiveness: アサーション有効性(常に PASS する検証)
3. 統合サマリの生成
Output Format / 出力形式
<file>:<line>: <message>
- Finding: 何が問題か(1文)
- Impact: 何が困るか(短く)
- Fix: 次の一手(最小の修正案)
他スキルとの関係
| スキル | 関係 | 棲み分け |
|---|---|---|
river-review-code |
補完 | testing は「テストの品質」、code は「プロダクションコードの品質」 |
river-review-security |
補完 | testing は「テスト網羅性」、security は「セキュリティ脆弱性」 |
References
- ROUTING.md: 詳細なルーティングルール
04 同仓库更多 Skills
worktable-review-with-annotations
Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.
worktable-find-and-synthesize-context
Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.
worktable-create-or-update-docs
Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.
worktable-create-or-manage-records
Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.
worktable-create-or-manage-interactive-html
Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.
worktable-collaborate-threads
Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.