Explore a hypothetical scenario with a read-only team analysis
You are running a read-only "What If" analysis. The argument passed to this skill is: $ARGUMENTS
If $ARGUMENTS is empty, ask the user: "What scenario would you like to explore? Describe the 'what if' in a sentence or two."
This is a READ-ONLY exploration. No files are modified, no decisions are recorded, no tasks are created or changed. The only artifact produced is a MOM file capturing the team's analysis.
The lead agent matches whoever is leading the current phase/sub-phase. Read docs/pdlc/memory/STATE.md to determine the active phase and sub-phase, then select the lead:
| Phase | Sub-phase | Lead Agent |
|---|---|---|
| Initialization | any | Oracle (Product Manager) |
| Inception | Discover, Define | Oracle (Product Manager) |
| Inception | Design, Plan | Neo (Architect) |
| Construction | any | Neo (Architect) |
| Operation | Ship, Verify | Pulse (DevOps) |
| Operation | Reflect | Jarvis (Tech Writer) |
| Idle / between phases | — | Oracle (Product Manager) |
Read the lead agent's full persona from their agent file and embody their perspective throughout.
Read docs/pdlc/memory/STATE.md to capture current phase, sub-phase, feature, and last checkpoint.
If STATE.md does not exist, stop:
"PDLC not initialized. Run
/pdlc initfirst."
Read skills/formatting.md and output a Sub-phase Transition Header for "WHAT-IF ANALYSIS" followed by:
[Lead Agent Name] ([Role]): "Interesting question. Let me gather the team for a read-only analysis — no changes will be made, we're just exploring the implications. I'll present the findings when they're done."
If a phase is active (not Idle):
"Pausing [phase] / [sub-phase] at checkpoint
[last checkpoint value].If this session is interrupted:
- Run
/pdlc whatif— PDLC will detect the pending analysis and offer to resume- Run
[resume command]— resumes the [phase] workflow from its last checkpoint"
If no phase is active:
"If this session is interrupted, re-run:
/pdlc whatif [scenario text]"
Then output a Meeting Announcement Block (per skills/formatting.md):
Convene a party meeting following skills/build/party/orchestrator.md for spawn mode, agent roster, and the durable checkpoint protocol.
Write the pending party file per the orchestrator's durable checkpoint protocol with meetingType: "whatif-analysis".
Each agent evaluates the scenario hypothetically — what would happen if this were implemented? No files are read for modification purposes; agents assess from their knowledge of the current codebase and project state.
| Agent | Analyzes | Questions to answer |
|---|---|---|
| Neo (Architect) | Architecture impact | How would this change the system design? What components are affected? Any new dependencies? |
| Oracle (PM) | Product impact | How does this affect the roadmap, scope, user value? Does it change priorities? |
| Bolt (Backend) | Backend impact | What backend changes would be needed? DB schema? API changes? Migration complexity? |
| Friday (Frontend) | Frontend impact | What UI changes? State management? New components? Breaking changes to existing UX? |
| Echo (QA) | Test impact | What new tests would be needed? Which existing tests would break? Coverage gaps? |
| Phantom (Security) | Security impact | New attack surface? Auth changes? Data exposure risks? |
| Jarvis (Tech Writer) | Documentation impact | What docs would change? API docs? User-facing descriptions? |
| Muse (UX) | UX impact | How does this affect user flows? Mental model changes? Usability concerns? |
| Pulse (DevOps) | Ops impact | Deployment changes? Infrastructure? Environment config? CI/CD pipeline? |
Each agent produces:
Agent: [name]
Impact: [None / Low / Medium / High]
Summary: [2-3 sentences on what would change]
Effort estimate: [Trivial / Small / Medium / Large / Redesign]
Risks: [specific risks, or "None identified"]
After individual assessments, the team discusses:
Write the MOM to: docs/pdlc/mom/MOM_whatif_[scenario-slug]_[YYYY-MM-DD].md
Generate [scenario-slug] from the scenario text (first 3-5 words, kebab-case, max 30 chars).
# What-If Analysis: [Scenario title]
**Date:** [today YYYY-MM-DD]
**Scenario:** [full scenario text]
**Phase when asked:** [phase / sub-phase]
**Feature context:** [current feature, or — if none]
**Status:** Exploratory (read-only)
---
## Agent Assessments
### [Agent Name] ([Role])
- **Impact:** [None/Low/Medium/High]
- **Summary:** [2-3 sentences]
- **Effort estimate:** [Trivial/Small/Medium/Large/Redesign]
- **Risks:** [specific risks]
[repeat for each agent]
---
## Team Discussion
### Feasibility
[summary]
### Total Effort Estimate
[consensus estimate with breakdown]
### Cross-cutting Risks
[list]
### Trade-offs
- **Gains:** [what we'd get]
- **Costs:** [what we'd lose or spend]
### Team Recommendation
[Pursue / Defer / Modify / Abandon] — [rationale in 1-2 sentences]
---
## Next Steps
[What the user should consider — framed as options, not directives]
Update .pending-party.json: set "progress": "mom-written" and "momFile": "[path]".
Synthesize the MOM into a concise summary for the user:
[Lead Agent Name] ([Role]): "Here's what the team found:
Scenario: [scenario text] Overall impact: [Low/Medium/High] Effort estimate: [consensus] Team recommendation: [Pursue/Defer/Modify/Abandon] — [one sentence rationale]
Key findings:
- [top 3-5 findings across all agents]
Risks:
- [top risks]
Full analysis:
docs/pdlc/mom/MOM_whatif_[slug]_[date].mdWhat would you like to do?
- Explore further — dig deeper into a specific aspect
- Accept as decision — convert this into a formal decision (triggers the decision workflow)
- Discard — file the analysis and get back to where you left off"
Ask: "What aspect would you like to explore deeper?"
Take the user's input and run another What-If Analysis Meeting (back to Step 2) with a refined scenario that incorporates the original findings plus the new angle. The new MOM is written as a separate file with a _v2, _v3 suffix.
Repeat until the user chooses Accept or Discard.
The user wants to convert this exploration into a formal decision. Execute the decision workflow from skills/decision/SKILL.md with these modifications:
User (explicit, via /pdlc whatif)MOM: to point to the What-If MOM file (or the latest version if multiple rounds were run). The impact summary in the ADR should be derived from the What-If MOM, not from a new assessment..pending-party.json before entering the decision skill (the whatif meeting is done)..pending-decision.json) so the decision has crash recovery. Set "progress": "mom-written" since the assessment is already complete.User (explicit, via /pdlc whatif)).This ensures:
.pending-decision.json during Steps 3-6[Lead Agent Name] ([Role]): "Analysis filed at
docs/pdlc/mom/MOM_whatif_[slug]_[date].mdfor reference. Getting back to where we left off."
The MOM file is kept for future reference (it's read-only analysis, not a commitment).
Delete .pending-party.json.
Resume previous workflow:
Read STATE.md. If a phase was active:
"Resuming [phase] / [sub-phase] from checkpoint
[last checkpoint value]."
Re-invoke the active phase's skill (/pdlc brainstorm, /pdlc build, or /pdlc ship). The skill reads STATE.md and resumes from the last checkpoint.
If no phase was active: stop.
.pending-party.json is written before the meeting and deleted on completion./pdlc decision.