egm-review-loop
できること
このスキルは、複数のレビュー担当による文書の繰り返しのレビューを調整し、承認された修正を適用します。設計文書、READMEや計画を、書かれていない前提や網羅性の観点から確認したいチーム向けです。
使う場面
- ✓設計文書、README、計画を、複数のレビュー担当に確認させたいとき。
- ✓文書が完全で明確かどうかを確かめたいとき。
- ✓承認されたレビューの修正を、ループの中で自動的に適用したいとき。
スキルのリンク
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-review-loop/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“設計文書にレビューの流れを実行してください。確信のある修正は適用してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは文書を別々のレビュー担当に送り、それぞれ新しい文脈で動かして、指摘を集めます。主の文脈が、どの修正を適用するかを決め、変更した行を再確認して、必要に応じてループを繰り返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Goldfish Review: Loop (Orchestration Driver)
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
Overview
This skill acts as the central orchestration engine driving the multi-agent review loop. It coordinates two distinct agent memory models:
- The Goldfish (Adversarial Auditors): Subagents spawned in isolated, fresh context windows to catch unstated assumptions without historical bias.
- The Elephant (Persistent Resolver): The primary agent context holding institutional knowledge to evaluate findings and apply approved repairs.
The driver manages argument intake, resolves paths for reviewers and standards, unconditionally re-parses target line ranges before every iteration, spawns concurrent specialized Goldfish auditors based on configuration, and coordinates with the Elephant context to resolve findings.
Delegation
A Goldfish runs in a fresh context with no conversation history. Spawn each
subagent with your harness's subagent tool (Antigravity: invoke_subagent; Claude Code: Agent; Codex: spawn_agent). Each subagent is defined in agents/<file>.md, and its
frontmatter name (for example egm-zoom-out) is the subagent type to request
where your harness registers named subagents. Otherwise spawn a general-purpose
subagent and tell it to read that persona file first. Pass the prompt verbatim
and wait for the report. If your harness cannot nest subagents,
use direct dispatch instead of the synthesizer. See docs/harnesses.md.
If your harness has no subagent tool, stop and tell the user: a review in the same
context is not a Goldfish review.
Inputs
The caller or user provides exactly these parameters:
TargetFile: Absolute or relative path to target document.SemanticTarget: Descriptive targeting string (e.g., "Target the H4 block with SS-ID 'S1.12'"), orfull file.Reviewers: List of reviewer names (shortnames or paths).Standards: Mapping of reviewer names to standard names (shortnames or paths).GoldfishContext: A reading list (source files, directories, or documentation URLs) fed to reviewers to establish their baseline.
Path & Standard Resolution Logic
When resolving names in Reviewers and Standards:
- Reviewer Shortnames: Map reviewer shortname (e.g.,
design_critic,structural,style,implementation_readiness,codebase_details,comprehension,zoom_out) toagents/{name}.md. The persona file defines the reviewer's core mandates, audit vectors, and output format. - Standard Shortnames: Map standard shortname (e.g.,
feature-spec-standard,implementation-readiness-standard,zoom-out-standard,heilmeier-standard,re-implementation-standard) toresources/document_standards/{name}.md. - Custom Paths: If the name contains a slash (
/), treat it as an absolute or workspace-relative path and read it directly.
Execution Workflow
Step 1: Intake & Configuration UX
Evaluate the provided inputs (TargetFile, SemanticTarget, Reviewers,
Standards, GoldfishContext).
- Identify Missing Inputs: Determine which of the required parameters are missing.
- Interactive Onboarding:
- If all inputs are present, proceed to Step 2.
- If some or all inputs are missing, interactively prompt the user only for the missing inputs, one at a time via chat messages.
- Reviewer Recommendations:
- Feature Specs: Recommend
design_critic(mapped toresources/document_standards/feature-spec-standard.md) andstructural(mapped toresources/document_standards/feature-spec-standard.md). - Implementation Plans: Recommend
implementation_readiness(mapped toresources/document_standards/implementation-readiness-standard.md) andcodebase_details.
- Feature Specs: Recommend
- Confirm Configuration: Display the consolidated plan (Target, Reviewers, and mapped Standards) and ask the user to confirm before proceeding.
Step 2: The Sharpening Loop (Iterative Cycle)
Execute the following sequence in a continuous loop:
2.1 Unconditional Target Resolution
Before every iteration, unconditionally re-scan TargetFile by reading it
and using the stable SemanticTarget string (e.g., locating the target header) to
dynamically determi
よくある質問
なぜ新しいレビュー担当を使うのですか?
新しいレビュー担当は作成者の経緯を共有しないため、書かれていない前提に気づきやすくなります。
どの修正を適用するかは誰が決めますか?
主の作業文脈が指摘を評価し、承認された修正だけを適用します。
どんな文書をレビューできますか?
設計文書、README、機能仕様、実装計画、文書の網羅性などをレビューできます。
詳細
作者による元の説明
Executes the Antagonistic-Review process from the Elephant-Goldfish Model (EGM) via an automated multi-agent review loop to audit documents against qualitative standards and structural templates, and automatically apply approved fixes. Use when reviewing design docs, READMEs, feature specifications, implementation plans, or verifying document completeness and tone.
人気
- GitHubのスター
- 10k
- ランキング
- #11882
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
egm-bootstrap
10kエージェントが、プロジェクトのフォルダ全体にREADMEファイルを追加・修正し、各部分の役割を明確に説明できるよう支援します。
egm-brainstorm
10kエージェントが、あいまいなアイデアを質問と批判的なレビューを通じて、明確で検証された概念の要約に変えられるよう支援します。
egm-draft
10kエージェントが、合意された概念の要約やあなたのメモを基に、設計文書を1つのセクションずつ書けるよう支援します。
egm-drift-report
10k設計文書とコードを照らし合わせ、コードが文書の記述から外れている箇所を見つけます。
似ているスキル
technical-documentation
394k明確な技術ドキュメントやエージェントの指示ファイルを書いて確認し、人やAIツールが簡単に従えるようエージェントを支援します。
architecture-decision-records
280kエージェントがプロジェクト構成に関する重要な決定を記録できるようにします。選択の理由を把握しやすくし、変更履歴を明確に残すのに役立ちます。
code-tour
280kエージェントが正確なファイル名と行番号を示しながら、コードを段階的に解説できるようにします。紹介、説明、レビューに役立ちます。