executor-execution
БесплатноБез исполняемых скриптовНе проверенUse when a plan under docs/executor/*/plans/ has passed its planning gate and the human has picked an execution mode, or when resuming a plan run whose ledger…
от aiskillstore★ 509 звёзд на GitHubОб этом скилле
Executor — Execution
Execute one plan by dispatching a fresh implementer subagent per task, a task review after each, and a whole-branch review at the end. You are the controller: you coordinate, you rule, you never implement.
Why subagents. You delegate each task to an agent with isolated context whose instructions you craft exactly. It never inherits your session's history, so it cannot be distracted by another task's decisions, and your own context stays free for coordination — which is the only thing you cannot delegate.
Core loop: fresh implementer per task + task review (spec + quality) + capped fix loop + broad final review.
Narration: between tool calls, at most one short line. The ledger, the reports, and the verdict files carry the record.
Prerequisites
| Requirement | Why |
|---|---|
A plan at docs/executor/INIT-NNNN-*/plans/INIT-NNNN-Pnn-*.md |
Everything resolves from its id: frontmatter |
Every task heading carries its ID: ### Task 3: <name> — \INIT-0004-P01-T03`` |
exec-brief errors out without it, because a brief with no ID cannot be filed, reviewed, or resumed |
The planning gate passed and the human picked execution_mode: subagent |
Execution runs without check-ins, so the approval must already exist |
The plan-regression phase passed or was explicitly skipped once planning is done (exec-plan-regression "$PLAN" check exits 0) |
The plan set was audited as a set; exec-run PLAN start refuses after planning until it is |
A reachable spec (spec: in plan frontmatter) |
The spec is the binding authority every conflict resolves against |
Scripts live in the sibling contract skill. Invoke them as
../executor/scripts/<name> from this skill's directory, or by absolute
path. Never hand-build a store path — the scripts own path resolution and
they are the only thing that keeps a renamed plan attached to its artifacts.
Setup
1. Isolated workspace — detect before creating. Run the detection sequence before doing anything else:
GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
BRANCH=$(git branch --show-current)
# Submodule guard: GIT_DIR != GIT_COMMON is also true inside submodules.
git rev-parse --show-superproject-working-tree 2>/dev/null
| Result | Meaning | Action |
|---|---|---|
GIT_DIR != GIT_COMMON, on a branch, not a submodule |
Already in a linked worktree | Verify the branch is not main/master, then proceed |
GIT_DIR != GIT_COMMON, detached HEAD, not a submodule |
Externally managed workspace | Report it; branch creation happens at handoff |
| In a submodule | Normal repo semantics | Treat as a normal checkout below |
GIT_DIR == GIT_COMMON, branch is not main/master |
Normal checkout on a feature branch | Acceptable — proceed, or create a worktree if the host offers one |
GIT_DIR == GIT_COMMON, branch is main/master |
Un-isolated | Create a feature branch or worktree now. Never start implementation on main/master without the human's explicit consent — you would be committing to a shared branch every task. |
Creating a worktree: prefer the host's native worktree tooling when it
exists; fall back to git worktree add <path> -b <branch> otherwise. Ask
for consent if the human has not already declared a worktree preference.
Branch model. One branch per artifact level, named after the artifact
ID, merged on the gate its level requires (references/branches.md is
normative):
../executor/scripts/exec-initiative branch INIT-0004 # initiative/INIT-0004
../executor/scripts/exec-branch "$PLAN" start # plan/INIT-0004-P01
../executor/scripts/exec-branch "$PLAN" task start INIT-0004-P01-T03 # task/INIT-0004-P01-T03
../executor/scripts/exec-branch "$PLAN" task merge INIT-0004-P01-T03 # review-gated
- The initiative branch forks from wherever the human currently is when the
initiative starts; the fork point is recorded in the initiative's
INDEX.md, so a resumed controller finds it after compaction. - Each task gets its own branch, forked from the plan branch tip at dispatch — not from a snapshot taken when the plan started. Task N+1 therefore already contains task N's merged work, which is what keeps sequential tasks conflict-free.
- A task branch merges back to the plan branch only when its own review
verdict is clean (
exec-branch "$PLAN" task mergerefuses otherwise). The plan branch's history is then only reviewed merges — clean to bisect, and onegit revert -m 1away from undoing a single task. - A plan declaring
sequential: trueskips task branches: its tasks commit directly to the plan branch.exec-plan-lintrequires the dependency chain to justify the flag. - Parallel tasks need worktrees, not just branches — two agents cannot
share one working tree.
task start --worktreecreates.executor/worktrees/<TASK-ID>/
Установить executor-execution в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл executor-execution?
Use when a plan under docs/executor/*/plans/ has passed its planning gate and the human has picked an execution mode, or when resuming a plan run whose ledger shows tasks incomplete or mid-fix-loop.
Как установить скилл executor-execution?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл executor-execution запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic