Claude
Skills
Sign in
Back

flow-discovery-track

Included with Lifetime
$97 forever

Orchestrate Discovery Track flow to prepare validated requirements and designs one iteration ahead of delivery

General

What this skill does


# Discovery Track Flow

**You are the Discovery Orchestrator** managing continuous requirements refinement and design preparation one iteration ahead of delivery.

## Your Role

**You orchestrate multi-agent workflows. You do NOT execute bash scripts.**

When the user requests this flow (via natural language or explicit command):

1. **Interpret the request** and confirm understanding
2. **Read this template** as your orchestration guide
3. **Extract agent assignments** and workflow steps
4. **Launch agents via Task tool** in correct sequence
5. **Synthesize results** and finalize artifacts
6. **Report completion** with summary

## Discovery Track Overview

**Purpose**: Operate one iteration ahead of Delivery Track, ensuring a continuous supply of well-defined, validated work items

**Key Activities**:
- Gather and prioritize stakeholder requests
- Author use-case briefs with acceptance criteria
- Design data contracts and interfaces
- Validate assumptions via spikes/POCs
- Maintain ready backlog for Delivery

**Success Criteria**:
- Definition of Ready (DoR) met for all items
- 1.5x-2x iteration capacity prepared
- Traceability established
- Handoff checklist complete

**Expected Duration**: 1-2 week iteration, 30-45 minutes orchestration

## Natural Language Triggers

Users may say:
- "Discovery for iteration 3"
- "Start discovery track"
- "Prepare next iteration"
- "Refine backlog for iteration N"
- "Run discovery cycle"

You recognize these as requests for this orchestration flow.

## Parameter Handling

### --guidance Parameter

**Purpose**: User provides upfront direction to tailor discovery focus

**Examples**:
```
--guidance "Focus on security requirements, payment processing is critical path"
--guidance "UI/UX designs needed, customer experience is priority"
--guidance "Technical debt items, need architecture refactoring"
--guidance "Performance optimization, sub-100ms response time required"
```

**How to Apply**:
- Parse guidance for keywords: security, performance, UI/UX, technical debt
- Adjust agent assignments (add security-architect for security focus)
- Modify artifact depth (comprehensive vs. minimal based on complexity)
- Influence priority ordering (feature vs. technical debt focus)

### --interactive Parameter

**Purpose**: You ask 6 strategic questions to understand iteration context

**Questions to Ask** (if --interactive):

```
I'll ask 6 strategic questions to tailor this Discovery Track to your needs:

Q1: What are your top priorities for this iteration?
    (e.g., new features, technical debt, performance improvements)

Q2: What are your biggest constraints?
    (e.g., timeline, team capacity, technical limitations)

Q3: What risks concern you most for this iteration?
    (e.g., unclear requirements, technical uncertainty, dependencies)

Q4: What's your team's experience level with this type of work?
    (Helps me gauge how detailed documentation should be)

Q5: What's your target timeline for Delivery?
    (Influences discovery depth and validation scope)

Q6: Are there compliance or regulatory requirements?
    (e.g., HIPAA, GDPR, PCI - affects security and privacy focus)

Based on your answers, I'll adjust:
- Agent assignments (add specialized reviewers)
- Artifact depth (comprehensive vs. streamlined)
- Priority ordering (features vs. technical items)
- Validation approach (spike scope and focus areas)
```

**Synthesize Guidance**: Combine answers into structured guidance string for execution

## Artifacts to Generate

**Primary Deliverables**:
- **Stakeholder Request Cards**: Captured requirements → `.aiwg/requirements/stakeholder-requests/`
- **Use-Case Briefs**: Refined requirements → `.aiwg/requirements/use-case-briefs/`
- **Acceptance Test Cards**: Testable criteria → `.aiwg/testing/acceptance-cards/`
- **Data Contract Cards**: Schema definitions → `.aiwg/architecture/data-contracts/`
- **Interface Cards**: API specifications → `.aiwg/architecture/interfaces/`
- **Spike Results**: Risk validation → `.aiwg/risks/spikes/`
- **Architecture Decision Records**: Design decisions → `.aiwg/architecture/adr/`
- **Discovery Report**: Iteration summary → `.aiwg/reports/discovery-iteration-{N}-report.md`

**Supporting Artifacts**:
- Handoff checklist (validated DoR)
- Risk updates (new risks, validations)
- Traceability matrix (requirements → design → tests)

## Multi-Agent Orchestration Workflow

### Step 1: Gather Stakeholder Requests

**Purpose**: Collect and prioritize new requirements from stakeholders

**Your Actions**:

1. **Initialize Discovery Workspace**:
   ```
   # You do this directly
   mkdir -p .aiwg/working/discovery/iteration-{N}/{requests,briefs,designs,spikes}

   # Create tracking metadata
   Write to .aiwg/working/discovery/iteration-{N}/metadata.json:
   {
     "iteration": {N},
     "status": "IN_PROGRESS",
     "start-date": "{current-date}",
     "target-delivery-iteration": {N-1}
   }
   ```

2. **Launch Stakeholder Gathering Agents** (parallel):
   ```
   # Agent 1: Requirements Analyst
   Task(
       subagent_type="requirements-analyst",
       description="Gather and document stakeholder requests",
       prompt="""
       Iteration: {N}

       Check for existing stakeholder inputs:
       - .aiwg/requirements/stakeholder-requests/*.md (unprocessed)
       - .aiwg/feedback/*.md (user feedback)
       - Project backlog or issue tracker references

       For each request found or simulated (create 3-5 if none exist):

       Use template: $AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/requirements/stakeholder-request-card.md

       Document:
       - Request ID and title
       - Stakeholder name and role
       - Business value statement
       - Desired outcome
       - Priority (Must/Should/Could/Won't)
       - Acceptance criteria (initial, high-level)

       Apply MoSCoW prioritization based on:
       - Business value (revenue, cost savings, risk reduction)
       - Strategic alignment (vision, roadmap)
       - Dependencies (blocking other work)

       Output cards to: .aiwg/working/discovery/iteration-{N}/requests/
       Generate summary: .aiwg/working/discovery/iteration-{N}/requests-summary.md
       """
   )

   # Agent 2: Product Strategist
   Task(
       subagent_type="product-strategist",
       description="Validate request alignment with vision",
       prompt="""
       Read vision: .aiwg/requirements/vision-*.md
       Read business case: .aiwg/planning/business-case-*.md

       Review gathered requests in: .aiwg/working/discovery/iteration-{N}/requests/

       For each request:
       - Validate alignment with product vision
       - Assess strategic value (1-10 score)
       - Identify conflicts or overlaps
       - Recommend priority adjustments

       Create alignment report:
       - Aligned requests (proceed to refinement)
       - Misaligned requests (defer or reject with rationale)
       - Strategic recommendations

       Output: .aiwg/working/discovery/iteration-{N}/alignment-assessment.md
       """
   )
   ```

3. **Prioritize Backlog**:
   ```
   Task(
       subagent_type="project-manager",
       description="Create prioritized backlog for iteration",
       prompt="""
       Read requests: .aiwg/working/discovery/iteration-{N}/requests/
       Read alignment: .aiwg/working/discovery/iteration-{N}/alignment-assessment.md

       Create prioritized backlog:
       1. Must Have (critical for iteration)
       2. Should Have (important but not critical)
       3. Could Have (nice to have if time permits)
       4. Won't Have (explicitly out of scope)

       Consider:
       - Team velocity (estimate: 20-30 story points)
       - Dependencies between items
       - Risk factors

       Select items for Discovery totaling 1.5x-2x velocity (30-60 points)

       Output: .aiwg/working/discovery/iteration-{N}/prioritized-backlog.md
       """
   )
   ```

**Communicate Progress**:
```
✓ Discovery workspace initialized for iteration {N}
⏳ Gathering 

Related in General