discovery
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseDiscovery Workflow Skill
Discovery Workflow Skill(发现工作流技能)
A workflow type for tasks whose deliverable is a document, not code. Explicitly
exempt from the Iron Law (no failing test requirement) because there is nothing to test.
这是一种面向交付物为文档而非代码的任务的工作流类型。明确不受Iron Law(铁律)约束(无失败测试要求),因为没有可测试的内容。
When to Use
适用场景
- Competitive analyses and market research
- Architecture comparisons and ADR scaffolding
- Literature reviews and vendor evaluations
- Design research that does NOT feed into implementation planning
- 竞品分析与市场调研
- 架构对比与ADR框架搭建
- 文献综述与供应商评估
- 不直接为实施规划提供输入的设计研究
When NOT to Use
不适用场景
- If the deliverable includes code changes → use or
/exarchos:oneshot/exarchos:ideate - If you need TDD enforcement → use any other workflow type
- If the research feeds directly into implementation → use (which includes a design phase)
/exarchos:ideate
- 若交付物包含代码变更 → 使用 或
/exarchos:oneshot/exarchos:ideate - 若需要TDD强制要求 → 使用其他任何工作流类型
- 若研究结果直接为实施提供输入 → 使用 (包含设计阶段)
/exarchos:ideate
Phases
阶段划分
Phase 1: Gathering (initial)
阶段1:收集(初始阶段)
Collect sources, references, and raw material for the deliverable.
- Define the research question or deliverable scope
- Identify and collect sources (URLs, documents, code references)
- Record sources in workflow state:
typescript
mcp__exarchos__exarchos_workflow({
action: "set", featureId: "<id>",
updates: { "artifacts.sources": ["<source1>", "<source2>", "..."] }
})- Create an outline of the deliverable
Transition: When is a non-empty array →
artifacts.sourcessynthesizing为交付物收集来源、参考资料和原始素材。
- 定义研究问题或交付物范围
- 识别并收集来源(URL、文档、代码参考)
- 在工作流状态中记录来源:
typescript
mcp__exarchos__exarchos_workflow({
action: "set", featureId: "<id>",
updates: { "artifacts.sources": ["<source1>", "<source2>", "..."] }
})- 创建交付物的大纲
阶段转换: 当为非空数组时 → 进入阶段
artifacts.sources整合Phase 2: Synthesizing
阶段2:整合
Draft the deliverable document from gathered sources.
- Write the document based on gathered sources and outline
- Commit the document to the repo (typically under or
docs/research/)docs/designs/ - Record the report path:
typescript
mcp__exarchos__exarchos_workflow({
action: "set", featureId: "<id>",
updates: { "artifacts.report": "<path-to-document>" }
})Transition: When is set →
artifacts.reportcompleted根据收集到的来源起草交付文档。
- 基于收集的来源和大纲撰写文档
- 将文档提交到代码仓库(通常放在或
docs/research/目录下)docs/designs/ - 记录报告路径:
typescript
mcp__exarchos__exarchos_workflow({
action: "set", featureId: "<id>",
updates: { "artifacts.report": "<path-to-document>" }
})阶段转换: 当设置完成后 → 进入阶段
artifacts.report完成Optional: Escalation to Implementation
可选:升级至实施阶段
If discovery surfaces an implementation need:
- Note the finding in the report
- After completing the discovery workflow, start a new workflow:
Reference the discovery report as design input.bash
/ideate <implementation-topic>
若发现工作流揭示了实施需求:
- 在报告中记录该发现
- 完成发现工作流后,启动新的工作流:
将发现报告作为设计输入进行参考。bash
/ideate <implementation-topic>
Event Emissions
事件推送
Optionally emit events at key moments for observability:
typescript
mcp__exarchos__exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.sources_collected", data: { sourceCount: N } }
})typescript
mcp__exarchos__exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.report_committed", data: { path: "<report-path>" } }
})可在关键节点推送事件以实现可观测性:
typescript
mcp__exarchos__exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.sources_collected", data: { sourceCount: N } }
})typescript
mcp__exarchos__exarchos_event({
action: "append", stream: "<featureId>",
event: { type: "discovery.report_committed", data: { path: "<report-path>" } }
})