Loading...
Loading...
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.
npx skill4agent add google/elephant-goldfish-model egm-draft${CLAUDE_PLUGIN_ROOT}/docs/claude.mdresources/execution_instructions.mddesign_draft.md./design_draft.mdask_questionlen(questions) == 1(Recommended)Context Filedocs/designs/<feature_name>.mdconcepts_brief.mddiscussion_summary.mdconcepts_brief.mddiscussion_summary.mddesign_draft.mddesign_draft.md[design draft](/absolute/project/design_draft.md)ask_questionlen(questions) == 1is_multi_select: false[!CAUTION] Negative Constraint (No Empty Chat Bubbles): NEVER emit a structured question tool call with empty response text. Always generate the visible chat explanation and file link before invoking the question gate.
{
"questions": [
{
"question": "Drafted [Section Name] in design_draft.md. Please review. How would you like to proceed?",
"options": [
"Approve [Section Name] and proceed to next section",
"Request revisions to [Section Name] (via inline comments or write-in)"
],
"is_multi_select": false
}
]
}Approve [Section Name] and proceed to next sectiondesign_draft.mddesign_draft.mdRequest revisions to [Section Name] (via inline comments or write-in)design_draft.mddesign_draft.md"Please specify the adjustments or additions needed for [Section Name] (either via inline comments on design_draft.md or here in chat) so I can revise the draft."Context Fileconcepts_brief.mdconcepts_brief.md./concepts_brief.mdscratch/concepts_brief.mddiscussion_summary.mdconcepts_brief.mddiscussion_summary.md./discussion_summary.mdscratch/discussion_summary.md/egm-brainstorm/egm-brainstormreferences/design_doc.mddesign_draft.mddesign_draft.mdOverview & Goalsdesign_draft.mddesign_draft.mdTechnical PlanAlternatives Weigheddesign_draft.mddesign_draft.mdAlternatives Considered./sub/README.md../sibling/README.mddesign_draft.mddesign_draft.mdDetailed Implementation/egm-reviewdesign_draft.mdContext Filedocs/designs/<project>/docs/designs/[DiscoveredPath]docs/designs/ask_questionlen(questions) == 1is_multi_select: false{
"questions": [
{
"question": "Where should the design be saved?",
"options": [
"Save to detected directory: [DiscoveredPath]",
"Specify custom target directory"
],
"is_multi_select": false
}
]
}<DESIGN_DIR>[DiscoveredPath]<DESIGN_DIR>"Please specify the custom target directory path where you would like to save the design document."<DESIGN_DIR>/SITEMAP.mddesign_draft.md<DESIGN_DIR>/<FEATURE>.md`egm-review` <DESIGN_PATH>