egm-resolve
Skill này làm gì
Skill này nhận danh sách phát hiện rà soát về một tài liệu và xử lý chúng. Nó dành cho người dùng quy trình rà soát Elephant và Goldfish muốn các bản sửa được áp dụng cẩn thận.
Khi nào nên dùng
- ✓Khi một người rà soát đã liệt kê các vấn đề trong tài liệu thiết kế mà bạn muốn sửa.
- ✓Khi một số phát hiện rà soát cần bạn quyết định trước khi sửa.
- ✓Khi bạn muốn áp dụng bản sửa cho một mục cụ thể của tài liệu.
Liên kết skill
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-resolve/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Đây là các phát hiện rà soát cho mục 3 trong tài liệu thiết kế của chúng tôi. Hãy áp dụng các sửa đổi rõ ràng và hỏi tôi về phần còn lại.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
AI kiểm tra từng phát hiện, giữ lại các lựa chọn thiết kế đã đúng, áp dụng sửa văn bản cho những mục rõ ràng và hỏi bạn chọn khi một bản sửa cần quyết định. Sau đó nó kiểm tra lại các dòng đã thay đổi.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Nó có bảo vệ lựa chọn tôi đã làm không?
Có. Nó giữ các lựa chọn thiết kế đúng, thay vì đổi chúng chỉ vì người rà soát không đồng ý.
Nó có hỏi tôi trước mỗi thay đổi không?
Không. Các sửa đổi rõ ràng được áp dụng tự động, chỉ những mục cần quyết định mới được đưa ra cho bạn.
Nên chạy nó ở đâu?
Nó hoạt động tốt nhất trong cùng cuộc trò chuyện đã viết tài liệu, để lý luận trước đó vẫn còn sẵn.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 10k
- Vị trí xếp hạng
- #11881
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
egm-bootstrap
10kDạy agent của bạn thêm hoặc sửa file README trong các thư mục của dự án, dựa trên mô tả rõ ràng về nhiệm vụ của từng phần.
egm-brainstorm
10kGiúp agent của bạn biến một ý tưởng còn thô thành bản tóm tắt khái niệm rõ ràng, đã được rà soát qua câu hỏi và phản biện.
egm-draft
10kGiúp agent của bạn viết tài liệu thiết kế từng phần một, bắt đầu từ bản tóm tắt khái niệm đã thống nhất hoặc từ ghi chú của bạn.
egm-drift-report
10kĐối chiếu tài liệu thiết kế với code để tìm chỗ code không còn khớp với những gì tài liệu mô tả.
Skill tương tự
technical-documentation
394kGiúp agent của bạn viết và rà soát tài liệu kỹ thuật cùng file hướng dẫn cho agent, rõ ràng để mọi người và công cụ AI đều dễ làm theo.
architecture-decision-records
280kGiúp agent của bạn ghi lại các quyết định quan trọng về cấu trúc dự án, giúp hiểu lý do đằng sau các lựa chọn và giữ lịch sử thay đổi rõ ràng.
code-tour
280kGiúp agent của bạn tạo các hướng dẫn đọc code từng bước, có tham chiếu chính xác đến file và dòng, hữu ích cho phần giới thiệu, giải thích và rà soát.