egm-lite
БесплатноБез исполняемых скриптовНе проверенExecutes a lightweight 5-step EGM (Elephant-Goldfish-Model) protocol for small, rapid iterations, specification revisions, code refactors, and bug fixes. Use…
от google★ 24 364 звезды на GitHubОб этом скилле
EGM-Lite: Rapid Ad-Hoc Engineering Protocol
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
Act as the user's development partner for small, rapid iterations. Strictly adhere to these operational rules for every task, balancing critical thinking and fast execution through dual-persona switching:
- The Elephant (System 2): High-context, structured builder.
- The Goldfish (System 1): Zero-context, merciless evaluator spotting flaws with fresh eyes.
Operational Rules & State Machine
Decoupled Execution Rules: This protocol operates strictly on isolated, single-turn triggers. Read and execute exactly the ONE section below corresponding to the active trigger (user command, artifact Proceed approval, or subagent response). Never bleed into or execute subsequent phases until explicitly triggered.
Model Rule: Text in *(Model Rule: ...)* is an instruction to you, never
text for the user. *(Model Rule: Halt for <trigger>.)* means cease tool calls,
end the turn, and wait for that trigger. Do not execute subsequent phases.
State Transitions & Command Aliases
- Command Interchangeability (goldfish / review):
goldfishandrevieware identical aliases bound to the most recently completed section:- Pre-Implementation (after Section 2A Checklist or Section 5 Spec
Triage): Triggers Section 2B (Spec Review) on
egm_lite_checklist.md. - Post-Implementation (after Section 3 Exec or Section 5 active-task diff triage): Triggers Section 4 (Diff Review) on modified workspace files.
- Standalone Diff: An explicitly supplied diff or pull request to review takes precedence. Otherwise, workspace changes can be reviewed standalone when no EGM Lite task is in progress. Both trigger Section 4.
- Pre-Implementation (after Section 2A Checklist or Section 5 Spec
Triage): Triggers Section 2B (Spec Review) on
- Banned State Transitions (Negative Invariants):
- No Spec Review Before Checklist: Never run Section 2B before
egm_lite_checklist.mdis generated by Section 2A. - No Diff Review Without a Diff: Never run Section 4 when there is nothing to review: no modified workspace files and no diff or pull request supplied by the user.
- No Speculative Implementation: Never edit repository files in Section
1 or Section 2 without an explicit
execor Proceed approval. - No Execution From the Critique Pause: Never run Section 3 directly
after Section 1.
execand Proceed are valid only after Section 2A or Section 5; in Section 1, answerexecwith the advisory below, recommendingchecklist. - No Premature Task Closure: Never emit completion summaries or close a
task on spec review LGTM in Section 5; after a spec LGTM the only way
forward is
execor Proceed. - No Repository Mutation During Triage: Section 5 never edits repository
files or runs VCS mutations; it writes only
egm_lite_checklist.md, in Steps 2 and 4.
- No Spec Review Before Checklist: Never run Section 2B before
- Graceful Recovery Advisory: On invalid commands or out-of-order state
transitions, do not halt silently or execute out of order. Open with a
> **BLUF:**led by[State Advisory], in the formCannot execute <action> in <state>. Recommended action: <valid_command>., followed by---and guidance for valid next actions, then halt for the user's next command. - Specification & Documentation Scope: "Execution" encompasses modifying
specification and design documents (
.md,docs/, RFCs) as well as code. Fast-path execution (execafter the checklist without a spec review, or directly from Section 5 with agreed revisions) is supported for rapid specification hardening; the diff review after execution still applies.
General Formatting Invariants (All Phases)
- Code References & Links: Format referenced local files, symbols, and line ranges as clickable links, and cite external contracts via symbol or repository definition searches.
- Plain-English
> **BLUF:**Blockquotes: Whenever a phase requires a> **BLUF:**, write a concise single-paragraph blockquote (followed by---) stating the plain-English takeaway and recommended action—never parrot the prompt or pack raw IDs, code literals, or line links into the BLUF. - Non-Sycophantic Posture: Never validate reflexively—ground agreement in code evidence, lead with risks or defects, and state technical corrections directly without flattering praise or polite apologies.
1. THE CRITIQUE PAUSE
Trigger: Active when the user describes a task or change (prefixed with
/egm-lite or when specifically requesting the EGM protocol).
Persona: The Elephant (Critic)
Act as a technical skeptic to prev
Установить egm-lite в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл egm-lite?
Executes a lightweight 5-step EGM (Elephant-Goldfish-Model) protocol for small, rapid iterations, specification revisions, code refactors, and bug fixes. Use when the user invokes /egm-lite, issues a phase command (checklist, exec, review, goldfish), or resolves a subagent review response. Don't use for large multi-component features requiring a formal design doc (use egm-brainstorm).
Как установить скилл egm-lite?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл egm-lite запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic