egm-resolve
它能做什么
这个技能接收关于某份文档的审阅意见列表,并逐一解决。适合使用 Elephant and Goldfish 审阅流程、并希望仔细应用修改的人。
适用场景
- ✓当审阅者在你想修改的设计文档中列出了问题的时候。
- ✓当某些审阅意见在修改之前需要你做决定的时候。
- ✓当你希望把修改应用到文档的特定章节时。
技能链接
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-resolve/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这是我们设计文档第 3 节的审阅意见。请应用明确的修改,其余问题先问我。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会检查每条意见,保留已经做出的准确设计选择,对明确的条目应用文字修改,并在修改需要决定时请你选择。然后它会重新检查被改动的行。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Goldfish Review: Resolve
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 instructs the agent on how to operate within the primary Elephant context window to parse flat deficiency reports from concurrent Goldfish reviewers. It defends accurate design choices, applies automated textual repairs, and manages interactive negotiation checkpoints.
Prerequisites & Context Strategy
- Context Recommendation (Elephant Memory): This skill should be run in the persistent conversation session that generated the target document (the Elephant) to recall earlier reasoning and craft higher-quality fixes.
Inputs
The caller or orchestration driver provides exactly these parameters:
TargetFile: Absolute or relative path to target document.LineRange: Exact line numbers (orfull file).FindingsList: Aggregated flat list of findings from Goldfish reviewers.
Execution Workflow
Step 1: Intake Validation & Gather Context
Hybrid Execution UX: Detect if execution arguments are present:
- Automated Mode: If all parameters are provided, execute silently as a subprocess.
- Standalone Human Mode: If parameters are omitted, trigger a friendly onboarding flow. Prompt for one piece of input at a time, waiting for the user's response after each turn. Once all inputs are specified, display the final setup and verify the user is ready to continue.
Read
TargetFileatLineRangeby reading it and parse theFindingsList.
Step 2: Evaluate & Categorize
Give each finding exactly one category:
- CONTEST: The critique is inaccurate or relies on a misunderstanding of the codebase. Cite evidence that the reviewer could read: a file and symbol, or a decision recorded in the document.
- ESCALATE: The critique is inaccurate, but the evidence is outside every file the reviewer could read (for example, a team convention or a verbal decision). State that fact. Do not fix the finding. Give it to the user.
- PROPOSE FIX: The critique is valid. Define precise textual replacements or structural formatting adjustments to resolve the gap.
- DECLINE: The finding is a Nit. Record it. Do not fix it. You can use PROPOSE FIX for a Nit if the fix is worth it.
Apply these rules:
- A contest must be checkable. "This was intentional" is not evidence. If you cannot cite evidence the reviewer could read, use ESCALATE or PROPOSE FIX.
- Do not add context only to satisfy a reviewer. Add context when a human reader of the document needs it. If only a zero-context subagent needs it, use ESCALATE.
- Do not contest a comprehension gap. If a fresh reader could not follow the document, the document is missing context.
- Do not change a severity. If you think a Blocker is a Nit, CONTEST it and state the reason.
- You wrote the document under review. A wish to contest is not evidence that the reviewer is wrong.
Step 3: Report Fixes
Construct the final report and save it named
goldfish_review_report.md in the working directory (or your harness's artifact directory, if it has one)
using your file-writing tool. Use this layout:
# Goldfish Annotated Review Report
**Target:** `[TargetFile]` (`[LineRange]`)
## Prioritized Findings & AI Suggestions
{{range findings, ordered by Severity}}
### [Issue 1] [`[ReviewerPersona]`] - Severity: [High | Medium | Low]
* **Affected Scope:** [Lines Start-End]([RelativePath]#L[Start]-L[End]) ([Sub-header])
* **Discrepancy Description:** [copied from FindingsList]
* **Rationale:** [copied from FindingsList]
* ***AI Suggestion:*** [CONTEST | ESCALATE | PROPOSE FIX | DECLINE]
* ***Justification:*** [Detailed reason]
* ***Proposed Edit:***
* Location: [Line/Header]
* Change: [Precise replacement string or deletion note]
{{end}}
Step 4: Interactive Resolution Gate
If any finding is ESCALATE, list those findings first in the chat message.
They need the user's knowledge, not only approval.
Before proceeding, output a visible chat message to the user: *"I have compiled
the audit findings into goldfish_review_report.md. Please review the findings there and choose how you would like to
proceed:
- **Comment directly on the
常见问题
它会坚持我已经做出的选择吗?
会。它会保留准确的设计选择,而不会仅仅因为审阅者不同意就改动。
每次修改前它都会问我吗?
不会。明确的修改会自动应用,只有需要决定的条目才会请你决定。
我应该在哪里运行它?
它最适合在撰写该文档的同一个对话中运行,这样之前的推理过程仍然可用。
详情
作者的原始描述
The Elephant resolution skill. Ingests flat deficiency reports from concurrent Goldfish reviewers, applies automated fixes for PROPOSE FIX items via UI multiple-choice gates, and presents interactive negotiation/re-sync checkpoints.
热度
- GitHub 星标
- 10k
- 排名
- #11881
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …