Create a discovery document for research/customer discovery epics
Generates a structured discovery document for research epics with hypotheses, questions, and research plans.
/plugin marketplace add Jeffallan/claude-skills/plugin install fullstack-dev-skills@fullstack-dev-skills<epic-key>project/discovery/Epic Key: $ARGUMENTS
This command creates a discovery document for research and customer discovery epics:
/create-epic-discovery <epic-key> → Creates Discovery Document (YOU ARE HERE)
↓
[Manual research, interviews, experiments]
↓
/synthesize-discovery <doc-urls...> → Synthesizes findings into actionable tickets
↓
Creates tickets in target implementation epics
Fetch the epic from Jira using {Epic_Key}
Extract from epic:
{Epic_Title} - The epic title/name{Jira_Project} - The Jira project URLDetermine Confluence location:
/Epics/Discovery/{Epic_Key}/FAILURE CONDITION - Missing Information:
If epic cannot be found or has no linked tickets:
STOP and prompt the user:
I was unable to retrieve epic {Epic_Key}.
Issue: [epic not found / no linked tickets / access denied]
Please provide:
1. Confirm the epic key is correct
2. Jira Project URL: [paste link]
3. Confluence publish location: [paste link or confirm default]
DO NOT PROCEED until confirmed.
MANDATORY CHECKPOINT - Epic Confirmation:
Please confirm before I proceed:
Epic Key: {Epic_Key}
Epic Title: {Epic_Title}
Linked Tickets: [count] tickets found
Publish Location: [Confluence path]
Is this correct? (Yes / No / Correct)
DO NOT PROCEED without explicit user confirmation.
Read all Jira tickets linked to epic {Epic_Key}
Parent = {Epic_Key} to find all child ticketsCategorize questions into themes:
Identify research methods needed for each question:
Create a discovery document with these sections:
For each major feature/capability in the epic:
| Hypothesis ID | Statement | Confidence | Validation Method | Status |
|---|---|---|---|---|
| H1 | "Users need X because Y" | Low/Med/High | Interview/Data/Spike | Open |
| H2 | "We can integrate with Z" | Low/Med/High | Technical spike | Open |
Organize questions by category and priority:
| ID | Question | Priority | Method | Owner | Status |
|---|---|---|---|---|---|
| Q1 | Who are the primary users? | High | Interviews | [TBD] | Open |
| Q2 | What pain points exist today? | High | Interviews + Data | [TBD] | Open |
| ID | Question | Priority | Method | Owner | Status |
|---|---|---|---|---|---|
| T1 | Can we integrate with X API? | High | Spike | [TBD] | Open |
| T2 | What are the performance implications? | Med | Benchmark | [TBD] | Open |
| ID | Question | Priority | Method | Owner | Status |
|---|---|---|---|---|---|
| B1 | What's the expected ROI? | High | Analysis | [TBD] | Open |
| B2 | How does this compare to competitors? | Med | Research | [TBD] | Open |
| ID | Question | Priority | Method | Owner | Status |
|---|---|---|---|---|---|
| S1 | What's the MVP vs full vision? | High | Discussion | [TBD] | Open |
| S2 | What's explicitly out of scope? | High | Discussion | [TBD] | Open |
For each high-priority question, outline:
**Activity:** [Interview/Spike/Analysis/etc.]
**Questions Addressed:** Q1, Q2, T1
**Method:** [Detailed approach]
**Participants/Resources:** [Who/what is needed]
**Expected Duration:** [Time estimate]
**Output:** [Deliverable format]
Define how findings will be evaluated:
| Decision Point | Options | Criteria | Owner |
|---|---|---|---|
| Build vs Buy for X | Build, Buy, Partner | Cost, Time, Control | [TBD] |
| Target user segment | Segment A, B, Both | Market size, Fit | [TBD] |
| Risk | Likelihood | Impact | Mitigation | Owner |
|---|---|---|---|---|
| Users don't want this feature | Med | High | Early validation interviews | [TBD] |
| Technical integration too complex | Low | High | Spike before commitment | [TBD] |
List epics where findings may generate tickets:
| Epic | Title | Relationship |
|---|---|---|
| CC-60 | [Title] | [How discoveries might feed into this] |
| CC-62 | [Title] | [How discoveries might feed into this] |
Discovery Epic: {Epic_Key} - {Epic_Title}
| Key | Summary | Type | Discovery Focus |
|---|---|---|---|
| TICKET-123 | Ticket summary | Task | [Which questions this addresses] |
MANDATORY CHECKPOINT - Discovery Document Review:
## Discovery Document Preview for {Epic_Key}
[Full discovery document content]
---
Research Questions Identified: [count]
Hypotheses to Validate: [count]
High-Priority Questions: [count]
Target Implementation Epics: [list]
Ready to publish this discovery document to Confluence? (Yes / No / Modify)
DO NOT PUBLISH without explicit user approval.
Publish to Confluence at: /epics/Discovery/{Epic_Key}/
Verify the document was published successfully
Get the published document URL ({Discovery_Document})
| Condition | Action |
|---|---|
| Epic key not found | Error message, ask user to verify epic key |
| No linked tickets | Warn user, ask if they want to continue with minimal document |
| Confluence location invalid | Ask user for correct location |
| Missing Jira/Confluence access | Provide instructions for credential setup |
When complete, you MUST provide:
## Discovery Document Complete!
**Discovery Document:** {Discovery_Document}
### Summary
- Epic: {Epic_Key} - {Epic_Title}
- Research Questions: [count]
- Hypotheses to Validate: [count]
- High-Priority Items: [count]
- Target Implementation Epics: [list epic keys]
### Immediate Actions Needed
1. [First research activity to start]
2. [Stakeholders to schedule]
3. [Data to gather]
### Next Steps
After completing discovery research, run:
/synthesize-discovery {Discovery_Document} [additional-source-urls...]
This will synthesize findings and create actionable tickets in target implementation epics.
CRITICAL: The Discovery Document URL is required for the synthesis step.