npx claudepluginhub fradser/dotclaude --plugin superpowersWant just this command?
Then install: npx claudepluginhub u/[userId]/[slug]
This file preserves the previously detailed SKILL.md guidance for deeper reference.
executing-plans/references/Executing Plans Details (1/2)
Detailed Guidance
This file preserves the previously detailed SKILL.md guidance for deeper reference.
Executing Plans
Overview
Load plan, create task tracking system, identify batches, execute batches in parallel or serial as appropriate, report for review between batches.
Core principle: Active parallel execution for independent tasks, serial execution for dependent tasks.
Announce at start: "I'm using the superpowers:executing-plans skill to implement this plan."
The Process
Step 1: Load and Understand Plan
- Read all plan files (
_index.mdand task files) - Understand the project scope, architecture, and dependencies
- Review critically - identify any questions or concerns about the plan
- Explore relevant codebase files to understand existing patterns
Step 2: Create Tasks and Scope Batches (MANDATORY)
REQUIRED: Before any execution begins, create task tracking system and identify batches using TaskCreate.
-
MANDATORY: Use
TaskCreatetool to create tasks from the plan- Each task in the plan becomes a separate task entry
- Include:
subject(imperative),description(from plan),activeForm(continuous) - Set task dependencies using
addBlockedByfor tasks that depend on others
-
MANDATORY: Load both skills before proceeding:
superpowers:agent-team-driven-development- Provides team coordination guidancesuperpowers:behavior-driven-development- Provides BDD/TDD workflow guidance
-
MANDATORY: Identify execution batches
- Group independent tasks (no file conflicts, no dependencies) into parallel batches
- Keep each batch at 3-6 tasks for optimal parallelism
- Sequential tasks (with dependencies) go into serial batches
Batch Identification Criteria:
| Criterion | Parallel Batch | Serial Batch |
|---|---|---|
| Task dependencies | None between tasks | Some tasks depend on others |
| File conflicts | No shared files | Some files modified by multiple tasks |
| Teammate count | 3-6 teammates | Single session/subagent |
Step 3: Batch Execution Loop (MANDATORY)
Execute batches one by one. Actively use parallel execution for independent tasks.
For Each Parallel Batch (Preferred Mode):
-
Enter Plan Mode: Use
EnterPlanModeto plan the batch execution strategy- Identify which tasks will be assigned to which teammates
- Define file ownership boundaries to prevent conflicts
-
Exit Plan Mode: Use
ExitPlanModeto get approval on the batch plan -
Create Agent Team: Use a prompt with "agent team" or "teammates" to initialize the team.
Pattern:
Create an agent team to execute [batch description].Example: "Create an agent team with 4 teammates to implement independent test cases for different modules."
-
Assign Tasks with Context Isolation: Assign tasks with clear boundaries. Ensure teammates work on different files or logical units.
Pattern:
Assign [Task ID] to [Teammate Name]. Context: [Specific File/Module]. Constraint: "Only edit [X], do not touch [Y]."Key Principle: Isolation. Give each teammate only the context they need.
-
Wait for Teammates: Wait for your teammates to complete all tasks in the batch.
-
Verify Batch: Run verification commands for all tasks in the batch.
-
Mark Tasks Complete: Use
TaskUpdateto mark all tasks in the batch as completed
For Each Serial Batch (When dependencies exist):
For each task in the serial batch:
- Enter Plan Mode: Use
EnterPlanModeto plan the implementation - Exit Plan Mode: Use
ExitPlanModeto get approval on the task plan - Execute: Use subagent following
superpowers:behavior-driven-developmentprinciples - Verify: Run verification commands
- Mark Task Complete: Use
TaskUpdateto mark task as completed
Between Batches:
- Report progress and verification results
- Get user confirmation before proceeding to next batch
Step 4: Report
After completing each batch:
- Show what was implemented
- Show verification output for all tasks
- Say: "Ready for feedback on batch [N]."
Step 5: Continue
Based on feedback:
- Apply changes if needed
- Continue to next batch
- Repeat until all batches complete
Step 6: Complete Development
After all tasks complete and verified:
- Verify all tasks are marked as completed
- Run full test suite to ensure no regressions
- Report completion and test results to the user
When to Stop and Ask for Help
STOP executing immediately when:
- Hit a blocker mid-batch (missing dependency, test fails, instruction unclear)
- Plan has critical gaps preventing starting
- You don't understand an instruction
- Verification fails repeatedly
Ask for clarification rather than guessing.
When to Revisit Earlier Steps
Return to Review (Step 1) when:
- Partner updates the plan based on your feedback
- Fundamental approach needs rethinking
Don't force through blockers - stop and ask.