pcvelz/superpowers/executing-plans

Claude Code and agent skill by pcvelz/superpowers

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when executing an implementation plan as the implementer yourself in a separate session — your human partner chose "Parallel Session, inline" at the writing-plans handoff

Install

npx vskill@latest install pcvelz/superpowers/executing-plans

SKILL.md

CRITICAL CONSTRAINTS

You MUST NOT call `EnterPlanMode` or `ExitPlanMode` during this skill. This skill operates in normal mode, executing a plan that already exists on disk. Plan mode is unnecessary and dangerous here — it restricts Write/Edit tools needed for implementation.

Executing Plans

Execute the plan yourself, task by task, in this session: no implementer subagent per task, no reviewer per task. One fresh-context review of the whole branch at the end.

Announce at start: "I'm using the executing-plans skill to implement this plan."

Why inline: Subagent-driven development pays for a fresh implementer and a fresh reviewer on every task, each re-reading the codebase from zero. Inline execution pays for one context (yours) plus one reviewer at the end. What it gives up is a fresh context per task and a second pair of eyes per task. This skill keeps what those two things bought, by other means: the brief is the spec, the ledger is your memory, TDD is the per-task gate, and the final reviewer is the second pair of eyes.

Core principle: The plan already did the thinking. Execute it exactly, prove each step with a test you watched fail and then pass, and leave a record that survives your own forgetting.

Narration: between tool calls, narrate at most one short line — the ledger and the tool results carry the record.

Continuous execution: Do not pause to check in with your human partner between tasks. They chose a separate session to run the plan, not to answer "should I continue?" after every task. Execute all tasks from the plan without stopping.

Rulings, not stalls. Conflicts, ambiguities, plan defects — decide them. The spec is the binding authority, the plan is its argument, and your judgment settles what neither answers. When the plan author session is alive (see Consulting the Plan Author), ask it first and ledger its answer as the ruling. Record every decision in the ledger as Ruling: <what you decided> — <why> — <what it costs if wrong>, and keep going. Deviating from the plan without a ledgered ruling is a decision made in secret.

Four things stop you, and only these: an irreversible or destructive operation; a security-sensitive action; a side effect outside this worktree that norms say you ask about first (a merge, a push to a shared branch, a publish); and a plan so broken that every path forward is a guess. For those, stop and ask.

When to Use

  • You have a plan from superpowers-extended-cc:writing-plans and your human

partner chose "Parallel Session, inline" at the handoff. That choice gave up superpowers-extended-cc:subagent-driven-development's per-task review loop — stay on this skill; do not switch to subagent-driven development.

  • Tasks are mostly independent — the same precondition as

superpowers-extended-cc:subagent-driven-development.

A fully specified plan makes inline execution transcription plus testing: it runs well on a mid-tier session model, and the one place the most capable model earns its cost is the final review, which this skill dispatches separately.

Inline execution over a long plan still works — the ledger is what makes it recoverable — but the last tasks get the least of you.

Consulting the Plan Author

Once, at start: run ListAgents and check whether the plan-writing session is alive (the handoff prompt normally names it). If it is, note its name — on every ambiguity or design question during execution, ask IT via SendMessage before guessing and before interrupting your human partner, and ledger its answer as the ruling. If it is not listed, rule yourself as described in "Rulings, not stalls".

The Process

dot
digraph process {
rankdir=TB;
subgraph cluster_per_task {
label="Per Task";
"task-start: brief + BASE; read the brief; TaskUpdate in_progress" [shape=box];
"Work the steps in order: TDD, run every verification, read every output" [shape=box];
"Step output matches plan's Expected?" [shape=diamond];
"Plan wrong? Ask author or rule, and ledger. Code wrong? systematic-debugging" [shape=box];
"Commit as the plan's commit steps say" [shape=box];
"Completion contract met?" [shape=diamond];
"task-done: run tests, ledger the result; TaskUpdate completed + sync .tasks.json" [shape=box];
}
"Setup: tasks, worktree, workspace + ledger, read plan + spec, pre-flight scan" [shape=box];
"More tasks remain?" [shape=diamond];
"Final whole-branch review (fresh reviewer)" [shape=box];
"Re-grade, then: Critical/Important → ONE fix pass, each fix RED→GREEN + green suite; Minor → ledger" [shape=box];
"Final review clean: delete this plan's workspace" [shape=box];
"Use superpowers-extended-cc:finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
"Setup: tasks, worktree, workspace + ledger, read plan + spec, pre-flight scan" -> "task-start: brief + BASE; read the brief; TaskUpdate in_progress";
"task-start: brief + BASE; read the brief; TaskUpdate in_progress" -> "Work the steps in order: TDD, run every verification, read every output";
"Work the steps in order: TDD, run every verification, read every output" -> "Step output matches plan's Expected?";
"Step output matches plan's Expected?" -> "Plan wrong? Ask author or rule, and ledger. Code wrong? systematic-debugging" [label="no"];
"Plan wrong? Ask author or rule, and ledger. Code wrong? systematic-debugging" -> "Work the steps in order: TDD, run every verification, read every output";
"Step output matches plan's Expected?" -> "Commit as the plan's commit steps say" [label="yes, last step"];
"Commit as the plan's commit steps say" -> "Completion contract met?";
"Completion contract met?" -> "Work the steps in order: TDD, run every verification, read every output" [label="no - finish the task"];
"Completion contract met?" -> "task-done: run tests, ledger the result; TaskUpdate completed + sync .tasks.json" [label="yes"];
"task-done: run tests, ledger the result; TaskUpdate completed + sync .tasks.json" -> "More tasks remain?";
"More tasks remain?" -> "task-start: brief + BASE; read the brief; TaskUpdate in_progress" [label="yes"];
"More tasks remain?" -> "Final whole-branch review (fresh reviewer)" [label="no"];
"Final whole-branch review (fresh reviewer)" -> "Re-grade, then: Critical/Important → ONE fix pass, each fix RED→GREEN + green suite; Minor → ledger";
"Re-grade, then: Critical/Important → ONE fix pass, each fix RED→GREEN + green suite; Minor → ledger" -> "Final review clean: delete this plan's workspace";
"Final review clean: delete this plan's workspace" -> "Use superpowers-extended-cc:finishing-a-development-branch";
}

Setup

Step 0: Load Persisted Tasks
  1. Call TaskList to check for existing native tasks
  2. CRITICAL - Locate tasks file: Try <plan-path>.tasks.json, if not found glob for matching .tasks.json
  3. If tasks file exists AND native tasks empty: recreate from JSON using TaskCreate:
  • Include full description from .tasks.json (not just subject)
  • Include metadata field if present (files, verifyCommand, acceptanceCriteria)
  • Restore blockedBy with TaskUpdate
  1. If native tasks exist: verify they match plan, resume from first pending/in_progress
  2. If neither: bootstrap from the plan (Step 1b below)

Update .tasks.json after every task status change.

Verify Workspace (Worktree Check)

Ensure the work happens in an isolated workspace. Before calling using-git-worktrees, check if a worktree already exists:

  1. Run git worktree list to see all existing worktrees
  2. If a worktree for the plan's branch already exists: cd into it — do NOT create a new one
  3. If on main/master with no worktree: REQUIRED SUB-SKILL: Use superpowers-extended-cc:using-git-worktrees to create one

Never start implementation on a main/master branch without your human partner's explicit consent.

Workspace and Ledger

Conversation memory does not survive compaction. An inline executor that loses its place re-implements tasks whose commits already exist — the same failure as a controller re-dispatching them, paid for in your own context. Track progress in a ledger file, not only in native tasks. Native tasks are a live view; the ledger is the record.

The workspace and ledger are shared with superpowers-extended-cc:subagent-driven-development — same directory, same format — so a plan can change executors mid-flight and the new one resumes from the same ledger.

  • Each plan owns a workspace: at skill start, run

../subagent-driven-development/scripts/sdd-workspace PLAN_FILE by its absolute path, from the working tree you're executing in — it prints the plan's git-ignored directory (under <repo-root>/.superpowers/sdd/), home to every artifact for THIS plan: ledger, briefs, review packages. Another plan's directory is never yours to read or write.

  • Check for this plan's ledger at <workspace>/progress.md. If its first

line names your plan file, tasks with a Task <N>: complete line are DONE — do not redo them; resume at the first task without one. Their commits exist in git even when your context no longer remembers making them: after compaction, trust the ledger and git log over your own recollection. A ledger whose first line names a different plan file is another plan's progress: leave it and start your own, fresh.

  • Create the ledger with its identity as the first line:

# SDD ledger — plan: <plan file path>.

  • git clean -fdx will destroy the workspace (it's git-ignored scratch);

if that happens, recover from git log.

Read the Plan

Read the plan once and note its context and Global Constraints. If the plan names a Spec, read that too: the spec is the authority the plan argues from, and conflicts inside the plan resolve against it. A plan with no reachable spec gets a ledger note saying so — rulings made without one are provisional.

Step 1b: Bootstrap Tasks from Plan (if needed)

If TaskList returned no tasks and no .tasks.json exists, or tasks don't match plan:

  1. Parse the plan document for ## Task N: or ### Task N: headers
  2. For each task found, use TaskCreate with:
  • subject: The task title from the plan
  • description: Full structured content (Goal, Files, Acceptance Criteria, Verify, Steps) with json:metadata code fence at the end containing files, verifyCommand, acceptanceCriteria
  • activeForm: Present tense action (e.g., "Implementing X")
  1. CRITICAL - Dependencies: For EACH task that has blockedBy in the plan or .tasks.json:
  • Call TaskUpdate with taskId and addBlockedBy: [list-of-blocking-task-ids]
  • Do NOT skip this step - dependencies are essential for correct execution order
  1. Call TaskList and verify blockedBy relationships show correctly (e.g., "blocked by #1, #2")
Load TDD and Pre-flight

REQUIRED SUB-SKILL: load superpowers-extended-cc:test-driven-development now, before Task 1. It governs every step of every task below; a plan whose steps already say "write the failing test first" does not exempt you from reading it.

Before Task 1, scan the plan for conflicts between tasks. The plan's Interfaces blocks tell you where to look: for every task that consumes what an earlier task produces, one ledger row — the two tasks, what one produces against what the other consumes, and what you found. Tasks that share nothing get no row; a plan whose tasks share nothing gets the single line Pre-flight: no shared interfaces. Rule on each conflict a row surfaces with the spec as the binding authority (asking the plan author first when it is alive), record the ruling beside its row, and start Task 1. Each task's own text is checked when you read its brief, not here.

The Task Loop

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
917
Repository forks
68
Repository npm downloads, 7 days
850
7-day trend score
51

Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 12 May 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/pcvelz/superpowers/executing-plans/badge)](https://verified-skill.com/skills/pcvelz/superpowers/executing-plans)

Something wrong with this skill or its page? Tell us.