egm-resolve
What it does
This skill takes a list of review findings about a document and resolves them. It is for people using the Elephant and Goldfish review process who want fixes applied carefully.
When to use it
- ✓When a reviewer has listed problems in a design document you want fixed.
- ✓When some review findings need your decision before a fix is made.
- ✓When you want fixes applied to a specific section of a document.
Skill link
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-resolve/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Here are the reviewer findings for section 3 of our design doc. Apply the clear fixes and ask me about the rest.”
5 new skills a week. 1 minute to read.
How it works
The AI checks each finding, keeps accurate design choices already made, applies text fixes for clear items and asks you to choose when a fix needs a decision. It then rechecks the changed lines.
Technical content (original SKILL.md)
Original text by the author, straight from 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
FAQ
Will it defend a choice I already made?
Yes. It keeps accurate design choices instead of changing them just because a reviewer disagreed.
Does it ask me before every change?
No. Clear fixes are applied automatically, and only items needing a decision are raised with you.
Where should I run it?
It works best in the same conversation that wrote the document, so earlier reasoning is available.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 10k
- Ranking position
- #11881
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
egm-bootstrap
10kHelps your agent add or fix README files across a project's folders, using a clear description of each part's job.
egm-brainstorm
10kHelps your agent turn a rough idea into a clear, reviewed concept summary through questions and critical review.
egm-draft
10kHelps your agent write a design document one section at a time, starting from an agreed concept summary or your notes.
egm-drift-report
10kChecks design documents against the code to find where the code no longer matches what the documents describe.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.