Synthesize discovery findings into a consolidated analysis document with proposed tickets
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-claude-skills-b1b901a430f2 ,按照其中的说明把「synthesize-discovery」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Arguments: $ARGUMENTS
Parse the arguments to extract:
{Source_URLs} - One or more Confluence document URLs (space-separated){Target_Epic} - Optional target implementation epic (via --target=CC-XX)Examples:
/synthesize-discovery https://confluence/doc1 → Single source, auto-detect target epics/synthesize-discovery https://confluence/doc1 https://confluence/doc2 → Multiple sources/synthesize-discovery https://confluence/doc1 --target=CC-62 → Single source, specific target epic/synthesize-discovery doc1-url doc2-url doc3-url --target=CC-62 → Multiple sources, specific targetSupported Source Types:
/create-epic-discovery)/create-epic-discovery <epic-key> → Discovery Document
↓
[Manual research, interviews, experiments]
↓
/synthesize-discovery <doc-urls...> → Synthesis Document (YOU ARE HERE)
↓
/approve-synthesis <synthesis-url> → Creates Jira Tickets
↓
/create-implementation-plan <overview-doc> → Implementation planning continues
Fetch all source documents from the provided URLs
Extract from each source:
Identify target implementation epics:
--target specified, use that epicFAILURE CONDITION - Missing Information:
If sources cannot be fetched or no target epics identified:
STOP and prompt the user:
I was unable to retrieve required information.
Sources Retrieved: [count]/[total]
Failed Sources: [list URLs that failed]
Target Epics Found: [list or "None"]
Please provide:
1. Confirm source URLs are accessible
2. Target implementation epic(s): [e.g., CC-62, CC-60]
DO NOT PROCEED until confirmed.
MANDATORY CHECKPOINT - Sources Confirmation:
Please confirm before I proceed:
Sources to Synthesize:
1. [URL] - [Document Title] ([type])
2. [URL] - [Document Title] ([type])
...
Target Implementation Epic(s): [list]
Is this correct? (Yes / No / Correct)
DO NOT PROCEED without explicit user confirmation.
Consolidate findings across all sources:
Create findings inventory:
| Finding ID | Source(s) | Category | Finding | Confidence | Actionable |
|---|---|---|---|---|---|
| F1 | Doc1, Doc2 | User Need | Users want X | High | Yes |
| F2 | Doc1 | Technical | API supports Y | Med | Yes |
| F3 | Doc3 | Business | ROI is Z | Low | Needs validation |
Identify patterns:
Catalog remaining unknowns:
Generate feature recommendations: For each actionable finding, determine:
Create recommendation matrix:
| Rec ID | Based On | Title | Type | Target Epic | Priority | Dependencies |
|---|---|---|---|---|---|---|
| R1 | F1, F2 | Implement X feature | Story | CC-62 | High | None |
| R2 | F3 | Validate ROI assumption | Spike | CC-60 | Med | R1 |
| R3 | F1 | Design user flow for X | Task | CC-62 | High | None |
Identify scope decisions needed:
Create a comprehensive synthesis document:
| ID | Original Hypothesis | Validation Status | Evidence | Implications |
|---|---|---|---|---|
| H1 | [statement] | Validated | [sources] | [what this means] |
| H2 | [statement] | Partially Validated | [sources] | [caveats] |
| H3 | [statement] | Invalidated | [sources] | [pivot needed] |
| ID | Question | Answer | Confidence | Source(s) |
|---|---|---|---|---|
| Q1 | [question] | [answer] | High/Med/Low | [docs] |
Narrative summary of the most important learnings, organized by theme:
User/Customer Insights:
Technical Insights:
Business Insights:
| ID | Unknown | Impact | Recommendation | Priority |
|---|---|---|---|---|
| U1 | [what we don't know] | [why it matters] | [next step] | High/Med/Low |
For each target implementation epic:
Recommended Tickets:
| # | Title | Type | Priority | Story Points | Dependencies | Based On |
|---|---|---|---|---|---|---|
| 1 | [title] | Story | High | 5 | None | F1, F2 |
| 2 | [title] | Task | Med | 3 | #1 | F3 |
Scope Recommendations:
Risk Adjustments:
Decisions that need to be made before implementation:
| Decision | Options | Recommendation | Rationale | Owner | Deadline |
|---|---|---|---|---|---|
| [decision] | A, B, C | B | [why] | [who] | [when] |
Status: [Pending Resolution / All Resolved]
Decisions that MUST be resolved before tickets can be created:
| ID | Decision | Options | Status | Resolution | Resolved By | Date |
|---|---|---|---|---|---|---|
| D1 | [decision question] | A, B, C | Pending | - | - | - |
Impact: Tickets [T1, T3, T5] are blocked until all decisions are resolved.
Note: Use /approve-synthesis to resolve these decisions and create tickets.
Map findings back to sources:
| Source | Key Contributions | Findings Referenced |
|---|---|---|
| [Doc1 URL] | [what this doc contributed] | F1, F2, F5 |
| [Doc2 URL] | [what this doc contributed] | F3, F4 |
Complete list of all findings extracted from sources with full detail.
Status: Pending Approval Last Updated: [timestamp]
{
"version": "1.0",
"synthesis_url": "[this document URL]",
"discovery_epic": "[Discovery Epic Key]",
"blocking_decisions": [
{
"id": "D1",
"question": "[decision question]",
"options": ["A", "B", "C"],
"status": "pending",
"resolution": null,
"blocks_tickets": ["T1", "T3"]
}
],
"proposed_tickets": [
{
"id": "T1",
"title": "[Ticket title]",
"type": "Story",
"target_epic": "CC-62",
"priority": "High",
"story_points": 5,
"dependencies": [],
"blocked_by_decisions": ["D1"],
"based_on_findings": ["F1", "F2"],
"description": "[Full ticket description]",
"acceptance_criteria": [
"Criterion 1",
"Criterion 2"
],
"notes_from_discovery": "[Relevant insights]"
}
],
"approval_status": "pending",
"approved_by": null,
"approved_date": null
}
This section is machine-readable and used by /approve-synthesis command.
MANDATORY CHECKPOINT - Synthesis Review:
## Synthesis Document Preview
[Full synthesis document content]
---
Summary:
- Sources Analyzed: [count]
- Findings Extracted: [count]
- Hypotheses Validated: [count] / Invalidated: [count]
- Proposed Tickets: [count]
- Blocking Decisions: [count] pending
- Target Epics: [list]
Ready to publish synthesis document? (Yes / No / Modify)
DO NOT PROCEED without explicit approval.
Publish synthesis document to Confluence:
/epics/Discovery/{Discovery_Epic_Key}/Synthesis/Update discovery document with link to synthesis
Update target epic(s) with:
When complete, you MUST provide:
## Discovery Synthesis Complete!
**Synthesis Document:** {Synthesis_Document_URL}
### Sources Analyzed
1. [Doc1 Title]({url})
2. [Doc2 Title]({url})
...
### Summary
- Total Findings: [count]
- Validated Hypotheses: [count]
- Invalidated Hypotheses: [count]
- Remaining Unknowns: [count]
### Proposed Tickets Summary
**Total Proposed:** [count] tickets, [sum] story points
**Blocking Decisions:** [count] pending
#### By Epic:
- {Epic_Key_1}: [count] tickets ([sum] points)
- {Epic_Key_2}: [count] tickets ([sum] points)
### Blocking Decisions
1. [D1: Decision needing resolution]
2. [D2: Decision needing resolution]
### Next Steps
1. Review the synthesis document
2. Resolve blocking decisions
3. Run ticket approval:
/approve-synthesis {Synthesis_Document_URL}
| Condition | Action |
|---|---|
| Source URL not accessible | List failed URLs, ask for alternatives |
| No target epic specified or found | Ask user to specify target epic(s) |
| Conflicting findings across sources | Document conflicts, ask user to resolve |
| Confluence publish fails | Provide document content for manual publishing |
Before synthesis:
During document creation: