Slash Command
Community

/create-epic-discovery

Install
1
Install the plugin
$
npx claudepluginhub jeffallan/claude-skills --plugin fullstack-dev-skills

Want just this command?

Then install: npx claudepluginhub u/[userId]/[slug]

Description

Create a discovery document for research/customer discovery epics

Argument
<epic-key>
Namespace
project/discovery/
Command Content

Epic Discovery Document Generator

Epic Key: $ARGUMENTS


Workflow Chain

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

Phase 0: Context Retrieval

  1. Fetch the epic from Jira using {Epic_Key}

  2. Extract from epic:

    • {Epic_Title} - The epic title/name
    • {Jira_Project} - The Jira project URL
    • Linked tickets
  3. Determine Confluence location:

    • Default: /Epics/Discovery/{Epic_Key}/
    • If location unclear, ask user
  4. 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.

  5. 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.


Phase 1: Question Extraction

  1. Read all Jira tickets linked to epic {Epic_Key}

    • Use JQL query: "Epic Link" = {Epic_Key} to find all child tickets
    • Extract acceptance criteria from each ticket
    • Identify ticket dependencies and relationships
    • Note any technical constraints mentioned
    • Extract explicit questions from ticket descriptions
    • Identify implicit questions from ambiguous requirements
    • Note assumptions that need validation
    • Catalog unknowns and uncertainties
  2. Categorize questions into themes:

    • Customer/User Discovery (who, what problems, what workflows)
    • Technical Feasibility (can we build it, how complex)
    • Business Viability (is it worth it, what's the ROI)
    • Integration Points (external systems, APIs, data sources)
    • Scope Boundaries (what's in, what's out)
  3. Identify research methods needed for each question:

    • User interviews
    • Data analysis
    • Technical spikes/POCs
    • Competitive research
    • Expert consultation
    • Prototyping

Phase 2: Discovery Document Creation

Create a discovery document with these sections:

1. Discovery Overview

  • Epic: Link to epic with title
  • Discovery Goal: What are we trying to learn?
  • Success Criteria: How do we know discovery is complete?
  • Timeline: Expected discovery duration (if known)
  • Stakeholders: Who needs to be involved?

2. Hypothesis Map

For each major feature/capability in the epic:

Hypothesis IDStatementConfidenceValidation MethodStatus
H1"Users need X because Y"Low/Med/HighInterview/Data/SpikeOpen
H2"We can integrate with Z"Low/Med/HighTechnical spikeOpen

3. Research Questions Matrix

Organize questions by category and priority:

Customer/User Discovery

IDQuestionPriorityMethodOwnerStatus
Q1Who are the primary users?HighInterviews[TBD]Open
Q2What pain points exist today?HighInterviews + Data[TBD]Open

Technical Feasibility

IDQuestionPriorityMethodOwnerStatus
T1Can we integrate with X API?HighSpike[TBD]Open
T2What are the performance implications?MedBenchmark[TBD]Open

Business Viability

IDQuestionPriorityMethodOwnerStatus
B1What's the expected ROI?HighAnalysis[TBD]Open
B2How does this compare to competitors?MedResearch[TBD]Open

Scope & Boundaries

IDQuestionPriorityMethodOwnerStatus
S1What's the MVP vs full vision?HighDiscussion[TBD]Open
S2What's explicitly out of scope?HighDiscussion[TBD]Open

4. Dependencies & Blockers

  • External dependencies (third-party APIs, vendor decisions)
  • Internal dependencies (other teams, systems)
  • Information blockers (data access, stakeholder availability)
  • Timeline dependencies (seasonal, market timing)

5. Research Plan

For each high-priority question, outline:

Research Activity Template

**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]

6. Decision Framework

Define how findings will be evaluated:

Decision PointOptionsCriteriaOwner
Build vs Buy for XBuild, Buy, PartnerCost, Time, Control[TBD]
Target user segmentSegment A, B, BothMarket size, Fit[TBD]

7. Risk Register

RiskLikelihoodImpactMitigationOwner
Users don't want this featureMedHighEarly validation interviews[TBD]
Technical integration too complexLowHighSpike before commitment[TBD]

8. Target Implementation Epics

List epics where findings may generate tickets:

EpicTitleRelationship
CC-60[Title][How discoveries might feed into this]
CC-62[Title][How discoveries might feed into this]

9. Linked Tickets

Discovery Epic: {Epic_Key} - {Epic_Title}

KeySummaryTypeDiscovery Focus
TICKET-123Ticket summaryTask[Which questions this addresses]

Phase 3: Review & Publish

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.


Phase 4: Publish & Output

  1. Publish to Confluence at: /epics/Discovery/{Epic_Key}/

    • Page title: "{Epic_Key} Discovery - {Epic_Title}"
  2. Verify the document was published successfully

  3. Get the published document URL ({Discovery_Document})


Failure Conditions

ConditionAction
Epic key not foundError message, ask user to verify epic key
No linked ticketsWarn user, ask if they want to continue with minimal document
Confluence location invalidAsk user for correct location
Missing Jira/Confluence accessProvide instructions for credential setup

Output

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.

Stats
Stars5729
Forks368
Last CommitFeb 5, 2026