flow-iteration-dual-track
Orchestrate dual-track iteration with synchronized Discovery (next) and Delivery (current) workflows
What this skill does
# Dual-Track Iteration Flow
**You are the Core Orchestrator** for dual-track agile iteration management.
## 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
## Dual-Track Overview
**Discovery Track**: Planning iteration N+1 (next iteration's work)
- Requirements refinement
- Design elaboration
- Risk investigation
- Acceptance criteria definition
**Delivery Track**: Implementing iteration N (current iteration's work)
- Coding committed stories
- Testing implementation
- Integration work
- Quality assurance
**Key Principle**: Discovery stays 1 iteration ahead to ensure Delivery always has ready backlog.
## Natural Language Triggers
Users may say:
- "Run iteration 3"
- "Start iteration 5"
- "Execute dual-track iteration"
- "Begin next sprint"
- "Start iteration planning"
- "Run sprint 4 with dual tracks"
You recognize these as requests for this orchestration flow.
## Parameter Handling
### --guidance Parameter
**Purpose**: User provides upfront direction to tailor iteration priorities
**Examples**:
```
--guidance "Focus on security stories first, compliance audit next week"
--guidance "Performance optimization critical, defer UI polish"
--guidance "Team velocity reduced this sprint, plan conservatively"
--guidance "Integration with payment gateway is blocking, prioritize spikes"
```
**How to Apply**:
- Parse guidance for keywords: security, performance, integration, velocity
- Adjust Discovery focus (requirements vs. spikes vs. design)
- Modify Delivery priorities (feature vs. tech debt vs. fixes)
- Influence synchronization points (more/less frequent)
### --interactive Parameter
**Purpose**: You ask 5-7 strategic questions to understand iteration context
**Questions to Ask** (if --interactive):
```
I'll ask 7 questions to optimize this dual-track iteration:
Q1: What's the primary goal for this iteration?
(e.g., feature delivery, technical debt, integration, quality)
Q2: How much ready backlog do you have?
(Helps me assess Discovery urgency and Delivery capacity)
Q3: What's your team's current velocity?
(Story points per iteration - influences planning)
Q4: Are there any blocking risks or dependencies?
(Integration points, external teams, technical unknowns)
Q5: What's the team composition this iteration?
(Available developers, testers, any absences)
Q6: What's the deadline pressure?
(Release date, demo, compliance deadline)
Q7: Any carry-over work from previous iteration?
(Incomplete stories that need to be finished)
Based on your answers, I'll adjust:
- Discovery/Delivery balance
- Story allocation
- Risk investigation priority
- Synchronization frequency
```
**Synthesize Guidance**: Combine answers into structured guidance for execution
## Iteration Structure
### Day 1: Kickoff (Week Start)
**Delivery Track Kickoff**:
- Review ready backlog from previous Discovery
- Commit to iteration goals
- Assign work to team members
- Set success criteria
**Discovery Track Planning**:
- Identify next iteration candidates
- Schedule stakeholder sessions
- Plan spikes and investigations
- Allocate Discovery capacity
### Midpoint: Checkpoint (Mid-Week)
**Delivery Progress Check**:
- Review implementation status
- Identify blockers
- Run quality gates
- Adjust if needed
**Discovery Validation**:
- Review refined requirements
- Check acceptance criteria
- Validate architectural decisions
- Prepare handoff materials
### End: Handoff and Retrospective (Week End)
**Delivery Completion**:
- Finalize work to Definition of Done
- Run all quality gates
- Deploy to staging
- Generate metrics
**Discovery Handoff**:
- Complete Definition of Ready
- Package backlog items
- Transfer to Delivery backlog
- Document decisions
**Joint Activities**:
- Handoff meeting
- Retrospective
- Metrics review
- Next iteration planning
## Multi-Agent Orchestration Workflow
### Step 1: Initialize Iteration
**Purpose**: Set up iteration structure and read context
**Your Actions**:
1. **Create Iteration Workspace**:
```
mkdir -p .aiwg/iterations/iteration-{N}/
mkdir -p .aiwg/iterations/iteration-{N}/discovery/
mkdir -p .aiwg/iterations/iteration-{N}/delivery/
mkdir -p .aiwg/iterations/iteration-{N}/reports/
```
2. **Read Current State**:
```
Read:
- .aiwg/planning/iteration-plan-*.md (previous plans)
- .aiwg/requirements/ready-backlog.md (if exists)
- .aiwg/reports/iteration-*-report.md (previous iterations)
- .aiwg/metrics/velocity-tracking.md (if exists)
```
3. **Launch Iteration Planning**:
```
Task(
subagent_type="project-manager",
description="Create iteration {N} plan",
prompt="""
Create dual-track iteration plan for iteration {N}:
Based on:
- Previous iteration velocity
- Ready backlog size
- Team capacity
- Risk register
Define:
1. Delivery Track Goals (iteration N)
- Story points to commit
- Work items to complete
- Quality targets
2. Discovery Track Goals (iteration N+1)
- Requirements to refine
- Spikes to execute
- Designs to validate
3. Success Criteria
- Delivery: What defines "done"
- Discovery: What defines "ready"
4. Schedule
- Key milestones
- Synchronization points
- Review sessions
Output: .aiwg/iterations/iteration-{N}/iteration-plan.md
"""
)
```
**Communicate Progress**:
```
✓ Initialized iteration {N} workspace
⏳ Creating iteration plan...
✓ Iteration plan complete
```
### Step 2: Kickoff Delivery Track (Iteration N)
**Purpose**: Start current iteration implementation work
**Your Actions**:
1. **Launch Delivery Planning** (parallel agents):
```
# Agent 1: Requirements Analyst
Task(
subagent_type="requirements-analyst",
description="Validate ready backlog for Delivery",
prompt="""
Read ready backlog items for iteration {N}
For each item, verify:
- Acceptance criteria complete
- Test cases defined
- Dependencies identified
- Estimates confirmed
Flag any items not meeting Definition of Ready.
Output: .aiwg/iterations/iteration-{N}/delivery/backlog-validation.md
"""
)
# Agent 2: Software Implementer
Task(
subagent_type="software-implementer",
description="Plan implementation approach",
prompt="""
Read validated backlog items
Create implementation plan:
- Technical approach for each story
- Component assignments
- Integration points
- Testing strategy
Identify technical risks or blockers.
Output: .aiwg/iterations/iteration-{N}/delivery/implementation-plan.md
"""
)
# Agent 3: Test Engineer
Task(
subagent_type="test-engineer",
description="Create iteration test plan",
prompt="""
Read backlog items and acceptance criteria
Create test plan:
- Test scenarios per story
- Test data requirements
- Automation opportunities
- Regression suite updates
Output: .aiwg/iterations/iteration-{N}/delivery/test-plan.md
"""
)
```
2. **Synthesize Delivery Kickoff**:
```
Task(
subagent_type="scrum-master",
description="Finalize Delivery track kickoff",
prompt="""
Read all Delivery planning artifacts:
- backlog-validation.md
- implementation-plan.md
- test-plan.md
Create Delivery Kickoff SumRelated 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.