跳到正文
Skillpedia
技术文档10k · #11882

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。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-review-loop/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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'"), or full 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) to agents/{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) to resources/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).

  1. Identify Missing Inputs: Determine which of the required parameters are missing.
  2. 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.
  3. Reviewer Recommendations:
    • Feature Specs: Recommend design_critic (mapped to resources/document_standards/feature-spec-standard.md) and structural (mapped to resources/document_standards/feature-spec-standard.md).
    • Implementation Plans: Recommend implementation_readiness (mapped to resources/document_standards/implementation-readiness-standard.md) and codebase_details.
  4. 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.

repo: google/elephant-goldfish-model

热度

GitHub 星标
10k
排名
#11882
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能