Execute a PLAN.md file (supports partial execution with --tasks)
Executes a PLAN.md file with per-task atomic commits and creates a SUMMARY.md tracking progress.
/plugin marketplace add cyberbloke9/pmp-gywd/plugin install pmp-gywd@pmp-gywd[path-to-PLAN.md] [--tasks 1-3 or --tasks 2,4,5]gywd/Commit strategy:
Uses intelligent segmentation:
<execution_context>
@/.claude/get-your-work-done/workflows/execute-phase.md
@/.claude/get-your-work-done/templates/summary.md
@/.claude/get-your-work-done/references/checkpoints.md
@/.claude/get-your-work-done/references/tdd.md
</execution_context>
Argument parsing:
--tasks 1-3 (tasks 1, 2, 3)--tasks 2,4,5 (specific tasks)--tasks 3 (just task 3)Examples:
/gywd:execute-plan .planning/phases/01-foundation/01-01-PLAN.md/gywd:execute-plan .planning/phases/01-foundation/01-01-PLAN.md --tasks 1-3/gywd:execute-plan --tasks 4,5 (uses current plan from STATE.md)Load project state first: @.planning/STATE.md
Load workflow config: @.planning/config.json </context>
<process> 1. Parse arguments: - Extract plan path (or auto-detect from STATE.md) - Parse --tasks flag if present: - `--tasks 1-3` → [1, 2, 3] - `--tasks 2,4,5` → [2, 4, 5] - `--tasks 3` → [3] - If no --tasks flag: execute all tasksCheck .planning/ directory exists (error if not - user should run /gywd:new-project)
Verify plan exists
If --tasks specified (partial execution):
If no --tasks (full execution):
Load workflow config for mode (interactive/yolo)
Follow execute-phase.md workflow:
<execution_strategies> Strategy A: Fully Autonomous (no checkpoints)
Strategy B: Segmented (has verify-only checkpoints)
Strategy C: Decision-Dependent (has decision checkpoints)
<deviation_rules> During execution, handle discoveries automatically:
Only rule 4 requires user intervention. </deviation_rules>
<commit_rules> Per-Task Commits:
After each task completes:
{type}({phase}-{plan}): {task-name}Plan Metadata Commit:
After all tasks complete:
docs({phase}-{plan}): complete [plan-name] planNEVER use:
git add .git add -Agit add src/ or any broad directoryAlways stage files individually.
See ~/.claude/get-your-work-done/references/git-integration.md for full commit strategy. </commit_rules>
<success_criteria>