Execute a PLAN.md file directly without loading planning skill context
Execute a PLAN.md file using intelligent segmentation for optimal quality. Use this to run pre-created plans with automatic checkpoint detection, autonomous execution, or sequential processing based on plan structure.
/plugin marketplace add shishiv/shishiv-resources/plugin install shiv-resources@shishiv-resourcesExecute the plan at {{plan_path}} using intelligent segmentation for optimal quality.
Process:
Verify plan exists and is unexecuted:
Parse plan and determine execution strategy:
<objective>, <execution_context>, <context>, <tasks>, <verification>, <success_criteria> sectionsgrep "type=\"checkpoint" {{plan_path}}Strategy A: Fully Autonomous (no checkpoints)
Strategy B: Segmented Execution (has verify-only checkpoints)
Strategy C: Decision-Dependent (has decision/action checkpoints)
Execute based on strategy:
3A: Fully Autonomous Execution
Spawn Task tool (subagent_type="general-purpose"):
Prompt: "Execute plan at {{plan_path}}
This is a fully autonomous plan (no checkpoints).
- Read the plan for full objective, context, and tasks
- Execute ALL tasks sequentially
- Follow all deviation rules and authentication gate protocols
- Create SUMMARY.md in same directory as PLAN.md
- Update ROADMAP.md plan count
- Commit with format: feat({phase}-{plan}): [summary]
- Report: tasks completed, files modified, commit hash"
Wait for completion → Done
3B: Segmented Execution (verify-only checkpoints)
For each segment (autonomous block between checkpoints):
IF segment is autonomous:
Spawn subagent:
"Execute tasks [X-Y] from {{plan_path}}
Read plan for context and deviation rules.
DO NOT create SUMMARY or commit.
Report: tasks done, files modified, deviations"
Wait for subagent completion
Capture results
ELSE IF task is checkpoint:
Execute in main context:
- Load checkpoint task details
- Present checkpoint to user (action/verify/decision)
- Wait for user response
- Continue to next segment
After all segments complete:
- Aggregate results from all segments
- Create SUMMARY.md with aggregated data
- Update ROADMAP.md
- Commit all changes
- Done
3C: Decision-Dependent Execution
Execute in main context:
Read execution context from plan <execution_context> section
Read domain context from plan <context> section
For each task in <tasks>:
IF type="auto": execute in main, track deviations
IF type="checkpoint:*": execute in main, wait for user
After all tasks:
- Create SUMMARY.md
- Update ROADMAP.md
- Commit
- Done
Summary and completion:
Critical Rules:
<execution_context> section before executing<execution_context> and <context> sectionsContext Efficiency Target: