executing-plan
Executes an approved implementation plan produced by the planning skill. Creates a git worktree, critically reviews the plan for blockers, tracks tasks via TodoWrite, and delegates each task to the right subagent one at a time. Runs code-reviewer after every task and a final holistic review before creating a PR. Use after /planning produces an approved plan.md.
What this skill does
# Executing Plan
Execute an approved `plan.md` produced by the `planning` skill. A dedicated git worktree is created upfront, tasks are implemented one at a time with a code-reviewer pass after each commit, and a final holistic review runs before the PR is created.
Do **NOT** write implementation code directly — all code work is delegated to subagents.
## Quick Start
1. Have an approved `docs/features/<NNN>-<slug>/plan.md` ready
2. Invoke: `/executing-plan docs/features/<NNN>-<slug>`
## Process Flow
```mermaid
flowchart TD
A([Start]) --> W[Create git worktree\nSkill using-git-worktrees]
W --> B[Read plan.md]
B --> C[Critical review\nscan for blockers]
C --> D{Blockers?}
D -- Yes --> E[Raise via AskUserQuestion\none question per blocker type]
E --> F{Resolved?}
F -- No --> G([Abort])
F -- Yes --> H[Initialize TodoWrite\none entry per task]
D -- No --> H
H --> TASK
subgraph TASK[Execute Task]
direction TD
T1[Determine agent] --> T2[Spawn implementation agent\nfull task block + feature path]
T2 --> T3[Wait for commit]
T3 --> T4[Spawn code-reviewer\nmodified files + task context]
T4 --> T5{Issues found?}
T5 -- Yes --> T6[Respawn implementation agent\nwith review feedback]
T6 --> T7[Mark task complete]
T5 -- No --> T7
end
TASK --> Q{More tasks?}
Q -- Yes --> TASK
Q -- No --> R[Final code-reviewer\nentire feature directory]
R --> S[Skill git-commits + gh pr create]
S --> CL{Clean up worktree?}
CL -- Yes --> RM[Skill using-git-worktrees\nremove worktree]
CL -- No --> Z
RM --> Z([Done])
```
**Critical review — scan for these blockers before starting:**
- `[AMBIGUOUS: ...]` markers left by the task-decomposer
- Placeholder `<test-command>` or `path/to/` not yet filled in
- Files or modules referenced that do not exist yet
- Tasks with more than 10 steps (ask whether to split)
- Missing tech stack details (test runner unspecified, language version unknown)
Present all blockers in a single `AskUserQuestion` — one question per blocker type.
## Agent Selection
Read the task title, description, steps, and file list — then reason about what the task is fundamentally about:
| Agent | Use when |
|-------|----------|
| `python-task-agent` | Writing or modifying Python source code |
| `coding-task-agent` | Writing or modifying source code in any other language |
| `technical-writer` | Documentation, READMEs, changelogs only — no executable code |
| `code-debugger` | Diagnosing and fixing a broken or failing implementation |
Do not reduce this to file extension matching. A `.md` update involving technical decisions belongs to `coding-task-agent`. A Python script generating documentation output may suit `technical-writer`.
`technical-writer` tasks skip the code-reviewer step.
## Remember
- **ALWAYS invoke `Skill(using-git-worktrees)` as the very first action — before reading plan.md, before any other step. The current git branch is irrelevant. Never reason your way out of this step.**
- **ALWAYS implement one task at a time** — never bundle multiple tasks into a single agent call
- **ALWAYS follow the Execute Task subflow for every task** — do not skip the code-reviewer step
- Never write implementation code yourself — delegate all code work to subagents
- When spawning implementation agents: pass the **full task block verbatim** + absolute path to the feature directory + any blocker resolutions
- When spawning code-reviewer: pass the **list of modified files** + brief context ("Review Task NNN: [title]")
- If an agent returns without a commit (nothing changed), report it to the user and move on — do not block
- If the plan has no `### Task NNN:` blocks, stop and inform the user the plan is empty or malformed
- Keep the user informed with brief status updates between tasks ("Executing Task 003: implement parse_token…")
## When to Stop and Ask for Help
Stop and use `AskUserQuestion` if:
- You hit a blocker (missing dependency, tests fail, instruction unclear)
- The plan has critical gaps preventing you from starting
- You don't understand an instruction
- Verification fails repeatedly
Related in Productivity
gitea-workflow
IncludedOrchestrate agile development workflows for Gitea repositories using the tea CLI. Use when working with Gitea-hosted repos and asking to 'run the workflow', 'continue working', 'what's next', 'complete the task cycle', 'start my day', 'end the sprint', 'implement the next task', or wanting guided step-by-step development assistance. Keywords: workflow, orchestrate, agile, task cycle, sprint, daily, implement, review, PR, standup, retrospective, gitea, tea.
microsoft-graph-gateway
IncludedRoute Microsoft Graph work in this workspace. Use when users want to read or write Outlook mail, calendar events, contacts, OneDrive or SharePoint files, Teams, Planner, To Do, users, groups, directory data, or arbitrary Microsoft Graph endpoints from VS Code. Prefer WorkIQ for common read scenarios. Use Microsoft Graph for write actions and gap-read scenarios that need exact Graph properties, filters, permissions, or endpoints.
copilotkit
IncludedUse when building with CopilotKit — setup, development, integrations, debugging, upgrading, or contributing. Routes to the appropriate specialized skill based on the task.
wordly-wisdom
IncludedProvides calibrated decision analysis using Charlie Munger-style multiple mental models, inversion, incentive mapping, circle-of-competence checks, misjudgment audits, second-order effects, and forecast updates. Use when the user asks for an oracle take, a hard call, a decision memo, a premortem, an outside view, a red-team, a sanity-check, what am I missing, think this through, or wants a strategy, hire, investment, plan, product, partnership, or major life choice analysed. Avoid for simple factual lookups or time-sensitive legal, medical, or market questions without fresh evidence.
swain-session
IncludedSession management and project status dashboard. Owns the full session lifecycle (start/work/close/resume), focus lane, bookmarks, worktree detection, and tab naming. Also serves as the project status dashboard — shows active epics, progress, actionable next steps, blocked items, tasks, GitHub issues, and recommendations. Worktree creation is deferred to swain-do task dispatch (SPEC-195). Triggers on: 'session', 'status', 'what's next', 'dashboard', 'overview', 'where are we', 'what should I work on', 'show me priorities', 'bookmark', 'focus on', 'session info'.
gandi
IncludedComprehensive Gandi domain registrar integration for domain and DNS management. Register and manage domains, create/update/delete DNS records (A, AAAA, CNAME, MX, TXT, SRV, and more), configure email forwarding and aliases, check SSL certificate status, create DNS snapshots for safe rollback, bulk update zone files, and monitor domain expiration. Supports multi-domain management, zone file import/export, and automated DNS backups. Includes both read-only and destructive operations with safety controls.