egm-resolve
ما الذي تفعله
تأخذ هذه المهارة قائمة ملاحظات مراجعة على وثيقة وتعالجها. وهي مناسبة لمن يستعملون منهجية Elephant وGoldfish للمراجعة ويريدون تطبيق الإصلاحات بعناية.
متى تستخدمها
- ✓عندما يكون مراجع قد سرد مشكلات في وثيقة تصميم تريد إصلاحها.
- ✓عندما تحتاج بعض ملاحظات المراجعة إلى قرارك قبل الإصلاح.
- ✓عندما تريد تطبيق إصلاحات على قسم محدد من وثيقة.
رابط المهارة
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-resolve/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هذه ملاحظات المراجعين على القسم الثالث من وثيقة التصميم. طبّق الإصلاحات الواضحة واسألني عن الباقي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتحقق الذكاء الاصطناعي من كل ملاحظة، ويحتفظ بخيارات التصميم الصحيحة التي اتُّخذت من قبل، ويطبّق إصلاحات النص للبنود الواضحة، ويطلب منك الاختيار عندما يحتاج الإصلاح إلى قرار. ثم يعيد فحص الأسطر التي تغيّرت.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
egm-bootstrap
10kيساعد وكيلك على إضافة ملفات README أو إصلاحها في مجلدات المشروع كله، مع وصف واضح لمهمة كل جزء.
egm-brainstorm
10kيساعد وكيلك على تحويل فكرة أولية إلى ملخص مفهوم واضح ومراجَع، عبر أسئلة ومراجعة نقدية.
egm-draft
10kيساعد وكيلك على كتابة وثيقة تصميم قسمًا بعد قسم، انطلاقًا من ملخص مفهوم متفق عليه أو من ملاحظاتك.
egm-drift-report
10kيقارن وثائق التصميم بالشيفرة ليجد أين لم تعد الشيفرة مطابقة لما تصفه الوثائق.
مهارات مشابهة
technical-documentation
394kيساعد وكيلك على كتابة الوثائق التقنية ومراجعتها، وملفات التعليمات الخاصة بالوكلاء، لتكون سهلة المتابعة للناس وأدوات الذكاء الاصطناعي.
architecture-decision-records
280kيساعد وكيلك على تسجيل قرارات بنية المشروع المهمة، فيفهم سبب كل اختيار ويحتفظ بتاريخ واضح للتغييرات.
code-tour
280kيتيح لوكيلك إنشاء جولات شيفرة خطوة بخطوة مع مراجع دقيقة للملفات والأسطر، ويفيد للتعريف بالمشروع والشرح والمراجعة.