К основному содержанию
скилл CX Codex

executing-plans · ganyuanran — скилл для Claude Code: выполнение планов

Скилл помогает агенту выполнять письменный план разработки по шагам, проверять результат на контрольных точках и сохранять контекст между сессиями.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add GanyuanRan/Aegis --skill executing-plans -a claude-code
Открыть на GitHub

Что делает executing-plans

executing-plans задаёт порядок работы с готовым планом реализации: сначала агент читает его, проверяет спорные места и сверяет условия выполнения, затем разбивает работу на задачи и выполняет их с проверками. Перед изменениями он фиксирует состояние Git, включая ветку, незакоммиченные файлы и активные операции. Если обнаруживает противоречие между планом и текущим состоянием проекта, он должен остановиться и вернуться к пересмотру плана.

Для длительных задач скилл предусматривает контрольные точки: текущую задачу, завершённые шаги, подтверждающие материалы, блокеры и следующий этап. Перед изменениями кода агент оценивает необходимость правки, границы файлов и сложность затрагиваемого участка. После выполнения задачи он сверяет результат с предусмотренными проверками. Это помогает вести работу по плану между сессиями, не теряя сведения о прогрессе.

Скилл входит в репозиторий GanyuanRan/Aegis и доступен для Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI и OpenCode. Для Git предусмотрено сохранение исходного состояния: агенту запрещено без необходимости очищать рабочее дерево, сбрасывать изменения или создавать коммиты за координатора. Для независимых задач в одной сессии предусмотрен другой скилл, subagent-driven-development.

Какие задачи решает

  • Выполнить многошаговый план разработки по порядку
  • Сохранить прогресс реализации между сессиями
  • Проверить план на противоречия до изменения кода
  • Зафиксировать блокеры и результаты контрольных точек
  • Сопоставить изменения с требованиями плана

Примеры запросов агенту

  • Прочитай план реализации и выполни его по шагам, проверяя каждый этап перед переходом к следующему.
  • Продолжи выполнение плана с последней контрольной точки и зафиксируй оставшиеся задачи и блокеры.
  • Сверь текущие изменения с планом, проверь состояние Git и остановись, если обнаружишь противоречия.

Как установить executing-plans

1Через Skills CLI (Vercel)

npx skills add GanyuanRan/Aegis --skill executing-plans -a claude-code

2Вручную: положить файлы

~/.claude/skills/executing-plans/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/executing-plans/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о executing-plans

Как установить executing-plans в Claude Code?

Выполни npx skills add GanyuanRan/Aegis --skill executing-plans -a claude-code. Файл скилла находится по пути ~/.claude/skills/executing-plans/SKILL.md.

Что делает executing-plans?

Скилл организует выполнение письменного плана: проверяет его перед началом, ведёт задачи по этапам и сохраняет контрольные точки. Агент также сверяет изменения с планом и проводит предусмотренные проверки.

Чем executing-plans отличается от subagent-driven-development?

executing-plans предназначен для выполнения плана с контрольными точками или продолжением между сессиями. Для независимых задач, которые можно выполнять параллельно в одной сессии, предусмотрен subagent-driven-development.

Исходный текст

SKILL.md · MIT
---
name: executing-plans
description: "Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead."
---

# Executing Plans

## Overview

Load plan, review critically, execute all tasks, report when complete.

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

For non-trivial execution, include `Aegis Visibility`: briefly tie the active
slice to its plan, checkpoint, drift or verification boundary. At completion,
pass plan adherence, evidence, complexity and residual risk to
`verification-before-completion` for the unified receipt.

If subagents are available and the plan has genuinely independent tasks,
prefer `subagent-driven-development`; lack of subagent support does not block
inline execution. Same-task agents share one workspace, and the coordinator
remains the only Git mutation owner.

## The Process

### Step 1: Load and Review Plan
1. Read plan file
2. If the plan or active checkpoint includes an `Execution Readiness View`,
   read it before implementation and compare the plan against its intent lock,
   scope fence, baseline lock, owner / contract constraints, compatibility
   boundary, retirement boundary, test obligations, review gates, drift /
   rewind rules, and evidence required before completion.
3. Review critically - identify any questions or concerns about the plan
4. If the view contradicts the plan, baseline, or current worktree evidence,
   return to plan review or refresh the advisory handoff before editing.
5. Run the TDD Route Guard before implementation: confirm `Mode`, `Decision`, `Strict authority`,
   strict signals, light eligibility, `Test posture`, and verification. Strict
   steps require either an explicit user/project request or a recorded auto
   decision; plan approval or risk labels alone are not authority. An
   off-mode missing record may be repaired only as `Mode: off / Decision:
   skipped` without loading TDD. Missing/unsupported auto decisions return to
   plan review. An auto-light record is unsupported when any strict signal is
   present or when its tiny/low-risk/single-owner/no-behavior-change proof is
   incomplete. Only `Decision: strict` with recorded strict authority may
   authorize steps named `Write failing test`, `Verify RED`, `GREEN`, or
   `REFACTOR`. Do not infer `strict` during execution.
6. If concerns: Raise them with your human partner before starting
7. Before the first write, capture `TaskStartSnapshot`: root, `HEAD`, branch or
   detached state, upstream divergence, staged/unstaged/untracked paths, active
   Git operations, and `git worktree list --porcelain`. Preserve task-preexisting
   state; do not stash, reset, clean, or commit it.
8. Reuse the current branch unless rules require independent history or another
   goal owns it. If justified, switch/create it in the
   current workspace when safe; a worktree still requires
   concurrent checkout or blocking dirty state.
9. If no concerns: Create TodoWrite and proceed

### Step 1.5: Long-Task Checkpoint Setup

If the plan has multiple tasks, may span sessions, or includes architecture / contract / workflow changes:

1. Announce: "I'm using the long-task-continuation skill to keep this plan checkpointed and drift-aware."
2. Load aegis:long-task-continuation.
3. Create the initial checkpoint from the plan:
   - current todo
   - active task
   - completed tasks
   - evidence refs
   - blockers
   - next step
4. Before each task, restate the current checkpoint.
5. After each task, update checkpoint, evidence refs, and drift check.

Before a verification-driven unplanned edit, read retained `PatchShape`,
`CanonicalOwner`, `UpwardDrillSignal`, outcome, and evidence refs. Route their
comparison with the candidate to `systematic-debugging` before editing; it
decides whether the directions converge. A proven independent canonical-owner
root stays on the normal plan path.

### Step 2: Execute Tasks

For interface/interaction changes, compose `ui-ux-governance` before affected
edits and verify the plan's scoped experience criteria at the relevant user seam.

For each task:
1. Mark as in_progress
2. Follow each step exactly (plan has bite-sized steps)
3. Before any new source-code path is added by a task, restate the plan's
   `Change Necessity` or create a compact one if the plan failed to carry it
   forward. Plan approval is not by itself proof that a new helper, small guard,
   new branch, fallback, adapter, or owner is necessary.

   ```text
   Change Necessity:
   - User-visible need:
   - No-change / non-code option:
   - Why code change is necessary:
   - Minimum change boundary:
   - Decision: no-change | docs/config-only | code-change | needs-clarification
   ```

   If the decision is not `code-change`, pause execution and return to plan
   review instead of editing. If the decision is `code-change`, carry the
   minimum boundary into the edit and verification scope.
4. Before any non-trivial source edit, run the plan's
   `Pre-Edit Complexity Check` or create a compact one:

   Use `using-aegis/references/complexity-governance.md` for shared artifact
   classes, pressure signals, and `over-budget` handling.

   ```text
   Complexity Budget:
   - Artifact class:
   - Target files / artifacts:
   - Current pressure:
   - Projected post-change pressure:
   - Budget result: within-budget | at-risk | over-budget
   - Planned governance:

   Pre-Edit Complexity Check:
   - Target edit file:
   - Existing pressure signal:
   - Safer edit boundary:
   - Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update

   Pre-Edit Owner-Fit Decision:
   - Edit intent: wiring-only | move-out / extract-first | local-fix-without-new-responsibility | new-responsibility | emergency / compatibility patch
   - Owner fit:
   - Safer edit boundary:
   - Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
   ```

   If the check contradicts the plan's file boundary, pause and return to plan
   review instead of silently stuffing logic into an overloaded owner. If the
   budget result is `over-budget` and the task does not also govern that
   overrun, stop execution and return to plan review rather than pushing the
   task through as if it were still atomic.
   When the target edit file is over-budget or mixed-purpose,
   `new-responsibility` must not be added in place by default. `wiring-only`,
   `move-out / extract-first`, and `local-fix-without-new-responsibility` may
   proceed only when they do not add a new responsibility and the verification
   boundary is clear. `emergency / compatibility patch` requires residual risk
   and a retirement trigger.
5. Run verifications as specified
6. The coordinator is the Git mutation owner. After the coherent Task passes
   its planned verification, use `verification-before-completion` before a
   default local commit, stage only task-owned paths, and read back `HEAD`, the
   committed file list, and remaining task delta. `no commit`, read-only,
   no-change, and failed-verification tasks create no normal commit.
7. Update `TodoCheckpointDraft` and `DriftCheckDraft` before marking the task completed.
   When an `Execution Readiness View` exists, the drift check must explicitly
   compare the active slice against the view's intent lock, scope fence,
   baseline lock, compatibility boundary, retirement boundary, test
   obligations, and review gates.
8. Mark as completed

### Step 3: Complete Development

After all tasks complete and verified:

- if Aegis created a branch/worktree or the user requests integration handling,
  use `aegis:finishing-a-development-branch`;
- otherwise use `verification-before-completion`, report the local task commit
  and `Task clean` / `Repository clean`, and do not invent merge/PR ceremony.

## When to Stop and Ask for Help

**STOP executing immediately when:**
- Hit a blocker (missing dependency, test fails, instruction unclear)
- Plan has critical gaps preventing starting
- You don't understand an instruction
- Verification fails repeatedly

**Ask for clarification rather than guessing.**

## When to Revisit Earlier Steps

**Return to Review (Step 1) when:**
- Partner updates the plan based on your feedback
- Fundamental approach needs rethinking

**Don't force through blockers** - stop and ask.

## Remember
- Review plan critically first
- Follow plan steps exactly
- Don't skip verifications
- Reference skills when plan says to
- Stop when blocked, don't guess
- Do not create a branch merely because the current branch is `main`/`master`
- Do not let task complexity, TDD, planning, or subagents alone trigger a worktree

## Integration

**Required workflow skills:**
- **aegis:writing-plans** - Creates the plan this skill executes
- **aegis:using-git-worktrees** - Only when the approved Git lifecycle says a concurrent checkout is necessary
- **aegis:finishing-a-development-branch** - Only when branch/worktree integration or cleanup is in scope

© GanyuanRan · MIT · GanyuanRan/Aegis

Похожие скиллы

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →

Сначала — executing-plans от других авторов.

executing-plans Jesse Vincent Выполняет готовый план задач в текущей сессии без субагента на каждую задачу. Нужен для inline-разработки с TDD, журналом решений и финальным ревью ветки. CX Codex 242 988установок setup-matt-pocock-skills Matt Pocock Скилл настраивает репозиторий для инженерных скиллов Matt Pocock: задаёт трекер задач, метки триажа и расположение доменной документации. Запустите его перед первым использованием остальных скиллов. 1 052 851установок ask-matt Matt Pocock Помогает выбрать подходящий скилл или рабочий поток из набора Matt Pocock. Пригодится, когда непонятно, с чего начать задачу: от идеи до разбора бага. 766 587установок to-tickets Matt Pocock Разбивает план, спецификацию или переписку на небольшие сквозные задачи и отмечает, какие из них блокируют остальные. Пригодится, когда нужно согласовать порядок работы до публикации задач в трекере. 711 230установок writing-plans Jesse Vincent Скилл превращает требования к многошаговой задаче в подробный план реализации до начала работы с кодом. Пригодится, когда исполнителю нужно зафиксировать файлы, интерфейсы и проверки. CX Codex 282 859установок caveman-review JuliusBrussee Пишет замечания к коду одной строкой: место, проблема, исправление. Пригодится, когда ревью диффа или PR надо пройти быстро и без воды. CX Codex +1 411 800установок caveman-compress JuliusBrussee Сжимает CLAUDE.md, списки задач и другие текстовые файлы в краткий формат, сохраняя читаемую резервную копию. CX Codex +1 411 500установок

Из того же набора21

long-task-continuation Сохраняет контрольные точки и подтверждения в длительных задачах при сбросе контекста или передаче между агентами. Пригодится для сложных многоэтапных рефакторингов. CX Codex +1 ★ 1 388звёзд репо goal-framing Скилл помогает зафиксировать цель, признаки успеха и границы задачи до начала работы. Он пригодится, когда важно согласовать, что считать результатом и когда остановиться. CX Codex +1 ★ 1 388звёзд репо first-principles-review Лёгкая проверка решения по первому принципу и бритве Оккама перед тем, как агент зафиксирует направление. Обычные багфиксы она не трогает. CX Codex +1 ★ 1 388звёзд репо finishing-a-development-branch Безопасно закрывает жизненный цикл рабочей ветки или worktree после тестов: сверяет статус Git, запрашивает подтверждение и удаляет только проверенные ресурсы. CX Codex +1 ★ 1 388звёзд репо establishing-project-context Ведёт словарь доменных терминов в CONTEXT.md, чтобы человек и агент называли одни и те же вещи одинаково. Нужен, когда термин переименовали, устарели или он оброс смыслами. CX Codex +1 ★ 1 388звёзд репо dispatching-parallel-agents Задаёт правила для параллельного запуска субагентов в несвязанных задачах без общего плана. Помогает избежать гонок за файлы и лишних накладных расходов. CX Codex +1 ★ 1 388звёзд репо communicating-concisely Скилл сокращает ответы агента по просьбе пользователя и сохраняет точность технических деталей. Режим действует до команды на отключение. CX Codex +1 ★ 1 388звёзд репо brainstorming Скилл для Claude и других агентов: помогает довести сырую идею до спеки и не даёт писать код, пока дизайн не одобрен. CX Codex +1 ★ 1 388звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой