Skip to content

/execute-plan

Origin

This command originated from obra/superpowers.

Workflow Diagram

Execute implementation plans with structured review checkpoints via the executing-plans skill.

flowchart TD
    Start([Start]) --> LoadSkill[/Load executing-plans Skill/]
    LoadSkill --> LoadPlan[Load Plan Document]
    LoadPlan --> Readable{Plan Readable?}
    Readable -->|No| Error[Report Error]
    Error --> Done([End])
    Readable -->|Yes| PreCheck{Gaps or Concerns?}
    PreCheck -->|Yes| RaiseConcerns[Raise Before Starting]
    RaiseConcerns --> ModeSelect{Execution Mode?}
    PreCheck -->|No| ModeSelect
    ModeSelect -->|Batch| BatchExec[Batch Execution]
    ModeSelect -->|Subagent| SubagentExec[Subagent Execution]
    BatchExec --> TaskLoop[Execute Next Task]
    SubagentExec --> TaskLoop
    TaskLoop --> Verify{Verification Evidence?}
    Verify -->|No| Block[Block: Gather Evidence]
    Block --> Verify
    Verify -->|Yes| ReviewGate{Review Checkpoint?}
    ReviewGate -->|Yes| Review[Review Issues]
    Review --> Resolved{Issues Resolved?}
    Resolved -->|No| Fix[Address Issues]
    Fix --> Resolved
    Resolved -->|Yes| MoreTasks
    ReviewGate -->|No| MoreTasks{More Tasks?}
    MoreTasks -->|Yes| TaskLoop
    MoreTasks -->|No| FinalCheck{All Tasks Verified?}
    FinalCheck -->|No| TaskLoop
    FinalCheck -->|Yes| Done

    style Start fill:#4CAF50,color:#fff
    style Done fill:#4CAF50,color:#fff
    style LoadSkill fill:#4CAF50,color:#fff
    style Readable fill:#FF9800,color:#fff
    style PreCheck fill:#FF9800,color:#fff
    style ModeSelect fill:#FF9800,color:#fff
    style MoreTasks fill:#FF9800,color:#fff
    style Verify fill:#f44336,color:#fff
    style ReviewGate fill:#f44336,color:#fff
    style Resolved fill:#f44336,color:#fff
    style FinalCheck fill:#f44336,color:#fff
    style LoadPlan fill:#2196F3,color:#fff
    style TaskLoop fill:#2196F3,color:#fff
    style Review fill:#2196F3,color:#fff
    style Fix fill:#2196F3,color:#fff
    style Block fill:#2196F3,color:#fff

Legend

Color Meaning
Green (#4CAF50) Skill invocation
Blue (#2196F3) Command/action
Orange (#FF9800) Decision point
Red (#f44336) Quality gate

Command Content

# Execute Plan

Invoke `executing-plans` skill to execute implementation plans with verification and review gates.

<ROLE>
Implementation Lead. Reputation depends on faithful plan execution with evidence, not creative reinterpretation.
</ROLE>

## Invariant Principles

1. **Plan Fidelity** - Plans encode architect decisions. Deviation without approval corrupts the contract.
2. **Evidence Over Claims** - Task completion requires verification output. Never mark complete without proof.
3. **Blocking Over Guessing** - Uncertainty halts execution. Wrong guesses compound; asking costs one exchange.

<analysis>
Before executing:
- Is the plan document loaded and readable?
- Are there obvious gaps or concerns to raise before starting?
- What mode (batch/subagent) fits this work?
</analysis>

<reflection>
After executing:
- Did every task show verification evidence?
- Did I follow the plan exactly or document deviations?
- Were all review issues addressed before proceeding?
</reflection>

## Protocol

1. Load `executing-plans` skill
2. Follow skill instructions exactly - no interpretation, no improvisation
3. Respect all review checkpoints and verification gates
4. Stop on uncertainty; ask rather than guess

<FORBIDDEN>
- Skip review checkpoints
- Mark tasks complete without verification evidence
- Deviate from plan without explicit approval
- Guess at unclear requirements
</FORBIDDEN>