Preview what a plan will do before executing it
Generates a detailed preview of plan execution showing tasks, file operations, commands, and checkpoints before running.
/plugin marketplace add cyberbloke9/pmp-gywd/plugin install pmp-gywd@pmp-gywd[path-to-PLAN.md]gywd/Builds trust by letting users see:
This is a READ-ONLY operation. No changes are made. </objective>
<context> Plan path: $ARGUMENTSIf no path provided, auto-detect current plan:
Read and parse the plan:
Analyze each task for: File Operations:
Commands:
Risk Indicators:
Generate execution preview:
## Plan Preview: {plan-name}
**Path:** .planning/phases/01-foundation/01-01-PLAN.md
**Tasks:** 5 tasks, 1 checkpoint
**Estimated Complexity:** Medium
---
### Execution Order
1. ☐ **Create user model**
- Creates: src/models/user.ts
- Creates: src/models/user.test.ts
2. ☐ **Add authentication middleware**
- Creates: src/middleware/auth.ts
- Modifies: src/app.ts
3. ⏸️ **CHECKPOINT: Verify tests pass**
- Execution will pause here for verification
4. ☐ **Implement login endpoint**
- Creates: src/routes/auth.ts
- Commands: npm test
5. ☐ **Update documentation**
- Modifies: README.md
---
### Summary
| Action | Count |
|--------|-------|
| Files Created | 4 |
| Files Modified | 2 |
| Commands Run | 1 |
| Checkpoints | 1 |
### Risk Assessment
✅ No high-risk operations detected
---
Ready to execute? Run:
/gywd:execute-plan {plan-path}
Highlight any concerns:
<output_format> Structured preview showing:
Use emojis for visual scanning:
<success_criteria>