egm-draft
What it does
This skill guides the drafting of a technical design document from a concept summary or notes. It is for teams that have agreed on the problem and want the design written step by step.
When to use it
- ✓When you are ready to write a design document after agreeing on the problem.
- ✓When you have a concept summary and need it turned into a design document.
- ✓When you want a design draft saved as a file for review.
Skill link
https://github.com/google/elephant-goldfish-model/blob/main/distributions/claude/skills/egm-draft/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
“We agreed on the problem for our notifications feature. Now draft the design document one section at a time.”
5 new skills a week. 1 minute to read.
How it works
The AI works through the document section by section, asks you to confirm each part and saves the draft as a file for review. It writes in plain English and avoids promotional wording.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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. - Owner 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 owner to choose through a single-select gate. Do not rank the options, mark a default, or pick one. If the owner 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)
Aft
FAQ
Does it write the whole document at once?
No. It works section by section, with your review between parts.
Where is the draft saved?
It is saved as a design draft file in the working folder.
Does it use marketing language?
No. The skill asks for plain, direct wording without hype.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 10k
- Ranking position
- #11879
- 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-drift-report
10kChecks design documents against the code to find where the code no longer matches what the documents describe.
egm-resolve
10kHelps your agent work through review findings on a design document, applying clear fixes and asking you about the rest.
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.