/base:execute-plan [plan-id]from base
Executes a plan generated by /create-plan. Orchestrates team members in parallel, each working in isolated worktrees. Use when ready to execute a plan from .agents/plans/, resume an interrupted execution, or run a specific plan by ID.
Ships in base. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Read .agents/plans/state.yml to check for an active plan.
If $ARGUMENTS contains a plan ID — use that plan directly.
If state.yml has currentPlan set — resume that plan (retomar from where it left off).
If no active plan and no argument:
.agents/plans/ to find plans with status: pending/create-plan firstRead the selected plan's plan.yml to load the full plan context.
Ask the user with AskUserQuestion:
Remember the choice — it determines when QA happens in steps 5 and 7.
plan.yml's branch field (e.g., feat/user-notifications) and switch to itplan.yml status to in_progressstate.yml: set currentPlan to the plan IDTeamCreate to create an agents teamYou are strictly a coordinator. You NEVER write code, edit files, or execute commands yourself — no matter how small the task. Your only job is to orchestrate.
File ownership: you own plan.yml and state.yml — only you update them. Teammates own their task files — only they update them. This prevents merge conflicts on shared files.
Create tasks — use TaskCreate to create one task per plan task. Use the task title as subject and a brief description.
Identify dispatchable tasks — find all tasks with status: pending whose dependsOn are all completed.
Spawn one teammate per dispatchable task:
First, read references/teammate-prompt.md. Everything below the --- separator is the prompt template. Replace {{TASK_FILE_PATH}} with the absolute path to the task file.
Then use the Agent tool:
Agent tool call:
description: "Execute task 01-create-notifications"
team_name: "<team-name>"
name: "01-create-notifications"
isolation: "worktree"
prompt: <content from teammate-prompt.md with {{TASK_FILE_PATH}} replaced>
subagent_type — must be a general-purpose agentisolation: "worktree" is MANDATORY — never omit itAssign tasks — use TaskUpdate with owner set to the teammate's name.
Track progress via TaskGet/TaskList. Messages from teammates are delivered automatically — do NOT poll.
When a teammate completes: update plan.yml (set task status to completed) and state.yml (remove from activeTasks). Present an updated status table to the user.
Per-task QA (if selected in step 2): after updating tracking files for a completed task, run the QA review flow from step 7 scoped to that task only. After the user finishes reviewing, continue dispatching.
Merges: teammates handle merges and conflict resolution autonomously. If two teammates merge around the same time, the second one will rebase and retry automatically.
Unblocking: as tasks complete, check if their completion unblocks new tasks (tasks whose dependsOn are now all completed). For each newly unblocked task, read references/teammate-prompt.md, replace {{TASK_FILE_PATH}}, and spawn a new teammate (always with isolation: "worktree") using the full template as prompt. Assign via TaskUpdate.
Context limit recovery: if a teammate hits its context limit and stops responding, read its task file to check progress. Spawn a new teammate for the same task — the teammate prompt handles resumption automatically by reading step progress from the task file.
Resumability: if resuming an interrupted plan, read each task file to find:
status: completed — skipstatus: in_progress — spawn a teammate (it handles resumption automatically by reading step progress)status: pending and satisfied dependencies — spawn and dispatch normallyWhen all tasks in the plan are completed:
plan.yml status to completedstate.yml: set currentPlan to null, update lastCompletedPlan to the plan ID, clear activeTasksSendMessage with type: "shutdown_request". If a teammate does not respond to the shutdown request, skip it — do not block on zombie agents.TeamDelete. If it fails because an agent is still active, inform the user which agent is stuck and ask them to terminate it manually, then retry TeamDelete.If "At the end" was selected in step 2 — run this after cleanup. If "After each task" — this flow is called per-task during step 5 (scoped to that task's goals/edge cases).
CRITICAL: complete ALL test cases before launching ANY fix agents. Never investigate, explore, or fix issues mid-QA.
plan.yml to get the user flow, goals, and edge cases (or scope to the completed task)"Manual review N/M"isolation: "worktree" and the prompt from references/teammate-prompt.md describing the gap and the expected behavior.Read .agents/plan.config.yml and check for a completion.mode field.
If completion.mode exists — follow it directly without asking.
If completion.mode does not exist — ask the user with AskUserQuestion:
.agents/plan.config.yml under completion.mode (pr or squash) so it is not asked again.Read references/pr-template.md and follow it to push the plan branch and create a PR. After the PR is created, inform the user and share the PR URL.
gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name'git merge --squash <plan-branch>commit field from plan.yml as the message. Check if a commit-related skill is available and follow its conventions.git branch -D <plan-branch>isolation: "worktree" and full prompt from references/teammate-prompt.mdsubagent_type — all general-purposeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kvnwolf/devtools --plugin base9 skills in this plugin
/baseScaffolds a new TypeScript project from scratch. Use when starting a new project, bootstrapping a codebase, or setting up a project from zero./commitWraps up work by syncing documentation, committing, pushing, and opening a pull request. Use when committing code, finishing a task, pushing changes, or creating a PR./create-planPlans development tasks through codebase exploration, exhaustive user interviews, and structured file-based plans. Use when tackling a feature, bug fix, refactor, or any task that benefits from upfront planning. Generates plan files in .agents/plans/ for later execution with /execute-plan.