From faaeae25b112af3759fc195e5544280dae2e15ab Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Thu, 15 Jan 2026 17:04:05 -0600 Subject: [PATCH] feat(14-02): add research-subagent-prompt.md template - Context-only template (92 lines) - Matches debug-subagent-prompt.md pattern - Research expertise lives in agent, not template --- .../templates/research-subagent-prompt.md | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 get-shit-done/templates/research-subagent-prompt.md diff --git a/get-shit-done/templates/research-subagent-prompt.md b/get-shit-done/templates/research-subagent-prompt.md new file mode 100644 index 000000000..ffe7fdbb0 --- /dev/null +++ b/get-shit-done/templates/research-subagent-prompt.md @@ -0,0 +1,92 @@ +# Research Subagent Prompt Template + +Template for spawning gsd-researcher agent. The agent contains all research expertise - this template provides research context only. + +--- + +## Template + +```markdown + +Research: {research_question} + +Mode: {research_mode} + + + +**Phase:** {phase_number} - {phase_name} +**Description:** {phase_description} + +**Requirements:** +{phase_requirements} + +**Constraints:** +{constraints_from_state} + +**Phase context (if available):** +{context_md_content} + + + +Write research findings to: {output_path} +Use RESEARCH.md template structure for phase research. + +``` + +--- + +## Placeholders + +| Placeholder | Source | Example | +|-------------|--------|---------| +| `{research_question}` | Phase description | `How to implement 3D visualization` | +| `{research_mode}` | Orchestrator sets | `ecosystem` | +| `{phase_number}` | From roadmap | `5` | +| `{phase_name}` | From roadmap | `3d-visualization` | +| `{phase_description}` | From roadmap | `Add interactive 3D model viewer` | +| `{phase_requirements}` | From REQUIREMENTS.md | `VIZ-01: Support GLB format` | +| `{constraints_from_state}` | From STATE.md decisions | `Using React, not Vue` | +| `{context_md_content}` | From CONTEXT.md | User's vision notes | +| `{output_path}` | Generated | `.planning/phases/5-viz/5-RESEARCH.md` | + +--- + +## Usage + +**From /gsd:research-phase:** +```python +Task( + prompt=filled_template, + subagent_type="gsd-researcher", + description="Research Phase {phase}" +) +``` + +--- + +## Continuation + +For checkpoints, spawn fresh agent with: + +```markdown + +Continue research for Phase {phase_number}: {phase_name} + + + +Research file: @{output_path} + + + +**Type:** {checkpoint_type} +**Response:** {user_response} + + + +Continue: {research_mode} + +``` + +--- + +**Note:** Research methodology, tool strategy (Context7 > Official > WebSearch), and verification protocols are baked into the gsd-researcher agent. This template only passes context.