flow-discovery-track
Orchestrate Discovery Track flow to prepare validated requirements and designs one iteration ahead of delivery
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
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.