ワンクリックで
research
Use when running or re-running discovery research for the active spec.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when running or re-running discovery research for the active spec.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when a spec has tasks.md and should enter autonomous task execution.
Use when starting curdx-flow, creating a spec, resuming work, or routing intent.
Use when handling curdx-flow flags, state files, delegation, execution loops, or skill entrypoint rules.
Use when curdx-flow needs user decisions after codebase facts are discovered.
Use when a spec has design.md and needs implementation tasks.
Use when showing curdx-flow slash skills, options, workflow, or troubleshooting.
| name | research |
| description | Use when running or re-running discovery research for the active spec. |
| argument-hint | [spec-name] |
| allowed-tools | Read Write Edit Bash Agent AskUserQuestion |
| disable-model-invocation | true |
Run parallel research for the active spec. You are a coordinator, not a researcher -- delegate ALL work to subagents.
Complete these coordination steps in order; do not create user-facing implementation tasks from this checklist:
--quick)--quick)curdx-flow snapshot --spec "$ARGUMENTS" when $ARGUMENTS begins with a spec name; otherwise run curdx-flow snapshot.snapshot.active is false, error: "No active spec. Run /curdx-flow:new first."snapshot.spec.fsPath as $SPEC_PATH.snapshot.state, snapshot.topology, and .progress.md to understand the goal.references/workflow-contract.md, references/agent-output-contract.md, and references/context-and-dispatch-policy.md.Check if --quick appears in $ARGUMENTS. If present, skip to Step 3.
Read .progress.md and parse:
Intent-Based Question Counts:
Apply adaptive dialogue from ${CLAUDE_PLUGIN_ROOT}/skills/interview-framework/SKILL.md. Ask context-driven questions one at a time, adapting to prior answers.
Research Exploration Territory (hints, not a script):
After dialogue, propose 2-3 research strategies. Examples (illustrative only):
Append to .progress.md under "Interview Responses":
### Research Interview (from research.md)
- [Topic 1]: [response]
- Chosen approach: [name] -- [brief description]
Pass combined context to subagent delegation as "Interview Context".
Read ${CLAUDE_PLUGIN_ROOT}/references/bounded-parallel-dispatch.md and follow the full dispatch pattern described there.
Key rules:
Pre-Step: Identify and output research topics before spawning:
Research topics identified for parallel execution:
1. [Topic name] - [Agent type: research-analyst/Explore]
2. [Topic name] - [Agent type: research-analyst/Explore]
...
Default to direct Agent(...) calls. Agent Teams are experimental and disabled by default in Claude Code; use the team lifecycle only when CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set and the TeamCreate / TaskCreate / TaskList / SendMessage tools are visible. If team tools are unavailable or fail, continue with direct Agent dispatch; this is normal, not degraded.
Direct path:
TaskCreate for each research topic. If unavailable or failing, continue without it.Agent(...) calls in ONE message, without team_name.Optional Agent Teams path:
TeamDelete() once -> TeamCreate(team_name: "research-$spec") -> optional TaskCreate per topic.team_name: "research-$spec" and unique name values.TaskList check, send shutdown_request to teammates, collect results, then TeamDelete().
After ALL parallel tasks complete, merge into unified ./specs/$spec/research.md.
Read ${CLAUDE_PLUGIN_ROOT}/references/bounded-parallel-dispatch.md "Merging Results" section for the exact merge structure and process.
After merge, delete partial files: rm ./specs/$spec/.research-*.md
If NOT --quick, skip to Step 6.
Invoke spec-reviewer via Agent tool to validate research.md. Follow the standard review loop:
Review delegation: Include full research.md content, iteration count, and prior findings. Upstream: none (research is first artifact).
Revision delegation: Re-invoke research-analyst with reviewer feedback. Focus on specific issues flagged.
Error handling: Reviewer no signal = REVIEW_PASS. Agent failure during revision = retry once, then use original.
Read ./specs/$spec/research.md and display:
Research complete for '$spec'.
Output: $PWD/specs/$spec/research.md
## What I Found
**Summary**: [1-2 sentences from Executive Summary]
**Key Recommendations**:
1. [First recommendation]
2. [Second recommendation]
3. [Third recommendation]
**Feasibility**: [High/Medium/Low] | **Risk**: [High/Medium/Low] | **Effort**: [brief plain-language estimate]
If --quick, skip to Step 7.
Ask ONE question: "How do you want to proceed?" with these options via AskUserQuestion:
If "Approve": proceed to Step 7. If "Run review": Invoke spec-reviewer via Agent tool with full research.md content (upstream: none). Display findings table. If REVIEW_PASS, note it. If REVIEW_FAIL, show feedback. Then loop back to this same 3-choice question (user decides next action). If "Request changes" or "Other": Ask what to change, invoke subagents with feedback, re-merge, re-display walkthrough, ask again with same 3 choices. Loop until approved.
.curdx-state.json (preserve all existing fields). $RELATED_SPECS_JSON is a JSON array literal (e.g. '[{"name":"foo","path":"./specs/foo"}]'):
PATCH=$(node -e 'const s=process.argv[1]||"[]"; process.stdout.write(JSON.stringify({phase:"research",awaitingApproval:true,relatedSpecs:JSON.parse(s)}))' "$RELATED_SPECS_JSON")
curdx-flow state merge \
"$SPEC_PATH/.curdx-state.json" "$PATCH"
.progress.md with research completionRead commitSpec from .curdx-state.json. If true:
git add ./specs/$spec/research.md
git commit -m "spec($spec): add research findings"
git push -u origin $(git branch --show-current)
If commit or push fails, display warning but continue.
(Does not apply in --quick mode.)
-> Next: Run /curdx-flow:requirements/curdx-flow:requirements