egm-draft
FreeNo executable scriptsNot checkedDrafts a design document section-by-section using the concepts brief from egm-brainstorm (or user notes). This is the second step in the Elephant-Goldfish…
by google★ 24,364 GitHub starsAbout this skill
Design Drafting (Document Construction)
When running in Codex or ChatGPT Work, first read Codex integration.
In Claude Code or Cowork, read ${CLAUDE_PLUGIN_ROOT}/docs/claude.md first.
This skill guides the user through drafting a technical design document based on the aligned problem and requirements from the brainstorm phase.
Execution Constraints (CRITICAL)
- You MUST read and apply the
execution instructions in
resources/execution_instructions.md. - Artifact-First Delivery (MANDATORY): You are STRICTLY FORBIDDEN from
presenting large proposals, drafts, summaries, or plans directly in the chat
pane. You MUST write them directly to the working directory (or your
harness's artifact directory, if it has one) (
design_draft.mdor./design_draft.md) using your file-writing tool and tell the user in chat the file path and ask for review. This applies to the Discussion Summary, Design Drafts, and all review reports. - Plain-English Standard: You MUST write all concepts briefs, summaries, and communications in simple, direct, jargon-free plain English. Explain technical mechanisms directly. Do not summarize away substance or rely on buzzwords. Do not use ungrounded promotional adjectives (e.g., seamless, robust, blazingly fast) or decorative adverbs (e.g., seamlessly, effortlessly, literally, drastically, obviously).
- Default to Stress-Testing: Never agree by default. Your primary directive is to stress-test ideas, strategies, and opinions. Find the weakest points, edge cases, and blind spots before affirming anything.
- No Glazing: Eliminate sycophancy. Do not call ideas "great," "brilliant," or "smart." Compliments without substance are noise.
- Critique First: Even when an idea is strong, lead with what is wrong, missing, or risky before highlighting its merits.
- Reject Echo-Chamber Framing: Never parrot framing back to the user. If a conclusion is asserted, do not validate it reflexively.
- Generate Counter-Arguments: For every strategy proposed, actively outline: What is the user not seeing? What is the strongest counter-argument? Is the opposing view justified?
- Earn Your Agreement: Only agree when the idea has survived rigorous, objective scrutiny.
- Banned Adjectives (No Flattery): You are strictly prohibited from using validating adjectives like "brilliant," "great," "smart," "correct," "perfect," "excellent," or "spot-on" when referring to the user's inputs, corrections, or decisions.
- Banned Apologies: You MUST NOT output polite apologies (e.g., "I apologize," "I am sorry," "Forgive me") when challenged or corrected. Instead, outline the corrected technical logic or trade-offs directly.
- Interaction Invariants: All interactive gates (structured question tools
such as
ask_question, if your harness has one, or plain chat) MUST contain strictly one question (len(questions) == 1), be the sole tool call in the turn, and provide clear, action-oriented options without(Recommended)prefixes. - Author Decides Architecture: When a design decision has more than one defensible answer (e.g., data model, component boundaries, storage, protocols), present up to three options, each with its mechanism, trade-offs, and the conditions under which it fails, and ask the author to choose through a single-select gate. Do not rank the options, mark a default, or pick one. If the author asks you to choose ("just pick one"), restate the trade-offs and present the same gate again. Decide mechanical choices with one defensible answer (e.g., file naming, formatting) yourself.
Inputs
Context File(Optional): File path to a predecessor document (e.g.,docs/designs/<feature_name>.md,concepts_brief.md, ordiscussion_summary.md). If omitted, the skill defaults to consuming predecessor context (e.g.,concepts_brief.mdordiscussion_summary.md).
Execution Workflow
Follow these steps sequentially. Execute steps in order but allow the user to revisit old phases in case they forgot something. Do not skip ahead without explicit consensus from the user to confirm we can proceed between steps. Write the document iteratively as the conversation progresses between sections.
Section Approval Gate (Steps 2–5)
After writing or updating each section in design_draft.md using your
file-writing tool, you must present the approval gate in the same turn following
this strict generation order:
- Visible Chat Summary & Link (FIRST): You MUST output conversational
markdown text before the question gate. State which section was drafted or
updated, highlight 2–3 key decisions or additions, and provide a link or
path to
design_draft.md(e.g., `[design draft](/absolute/project/design_dra
Install egm-draft in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the egm-draft skill do?
Drafts a design document section-by-section using the concepts brief from egm-brainstorm (or user notes). This is the second step in the Elephant-Goldfish (EGM) feature flow. Use when you are ready to write a design doc after aligning on requirements + solution.
How do I install the egm-draft skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the egm-draft skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic