From para-skills
Execute the active plan by creating an isolated git worktree and tracking todos. Supports simple and phased plans with TDD-first commit-per-todo discipline.
How this skill is triggered — by the user, by Claude, or both
Slash command
/para-skills:para-executesonnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute the active plan by creating an isolated git worktree and tracking todos. Supports both simple and phased plans.
Execute the active plan by creating an isolated git worktree and tracking todos. Supports both simple and phased plans.
$para-execute # Auto-detect plan; prompts for phase if phased
$para-execute --phase=N # Execute specific phase
$para-execute --no-worktree # Skip worktree creation; fall back to git checkout -b
context/context.mdgit fetch origin main && git worktree add .para-worktrees/{task-name} -b para/{task-name} origin/main (or para/{task-name}-phase-N)- [ ] ...) from the plan's Implementation Steps section as todos. The checkbox text becomes both the todo item and the eventual commit message.context/context.md with the todo list and worktree path. This file lives in the main working tree.git -C .para-worktrees/{task-name} commit --allow-empty -m "chore: Initialize execution context for {task-name}"--no-worktree Escape HatchWhen --no-worktree is specified, fall back to branch-based behavior: git checkout -b para/{task-name}. This still creates a branch, but it switches the current working directory to that branch instead of creating a separate worktree. Use this only for single-developer workflows where keeping the main working tree on its current branch is not important.
context/context.md must exist with an active plan$para-plan first.".gitignore for .para-worktrees/; if missing, warn and suggest running $para-initgit worktree add .para-worktrees/{task-name} para/{task-name} without -bReplace context/context.md with execution tracking content:
active_context, completed_summaries, execution_branch, worktree_path, execution_started, and last_updatedFor phased plans, add phased execution metadata with phase statuses and current_phase: N. The branch becomes para/{task-name}-phase-N, the worktree becomes .para-worktrees/{task-name}-phase-N, and both master and phase plans are listed in active_context.
See ../para-init/references/context-schema.md for the full field reference.
If ../para-init/references/context-schema.md is not available in this install, the minimal fields needed are: active_context (string[]), completed_summaries (string[]), execution_branch (string), worktree_path (string), execution_started (ISO 8601 string), and last_updated (ISO 8601 string). Phased plans also need a phase list with phase, plan, status, branch, and worktree_path.
Committing after each todo is mandatory. The checkbox text from the plan IS the commit message -- use it verbatim (or lightly cleaned up for git conventions). Each todo follows a spec-first, tests-first cycle.
Before starting any todo, verify that the active plan references a spec file (context/data/*-spec.yaml or equivalent contract). If missing, prompt the user to create the spec before proceeding.
The agent works inside the worktree directory (.para-worktrees/{task-name}/). All file edits, test runs, and git operations happen within this directory, keeping the main working tree untouched.
Design note -- context/context.md lives in main tree:
context/context.mdis intentionally kept in the main working tree, not the worktree, so it remains accessible regardless of which worktree is active. All PARA commands read from and write to the main working tree'scontext/directory. This is why the initial commit on each branch is an empty commit: there are no worktree-local files to commit at that point.
For each todo:
Tests: annotation and the spec. Tests import the stub and assert expected behavior.[x] in context/context.md in the main working tree.The final step must commit with the checklist item text as the commit message.
If a todo has no meaningful automated tests, such as config, documentation, or template updates, note this in the commit and skip the RED/GREEN steps.
When all todos are complete, suggest running $para-review --pr for independent Staff+ review before merging. Then run $para-summarize.
git worktree add without -b to attach to the existing branch..para-worktrees/ not in .gitignore: Warn and suggest running $para-init.context/context.md relative to cwd and warn that commands should be run from the main working tree..para-worktrees/para/{task-name} for easy identificationmain after previous phases are merged$para-status anytime to see current progress and worktree statenpx claudepluginhub brian-lai/para-programming-agent-skills --plugin para-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.