agentleFS
augments-labsaugments-labs/sdlc-skills/skills/implementation/executing-plans/SKILL.md

executing-plans

Skill1 starsChanged 4 months agoMITView on GitHub

Runs an approved plan task by task in this session, through each task's evaluator. Use when the user asks to execute, continue, or resume work governed by an approved plan directory in inline mode, including one remaining task or a reply choosing inline mode. Skip a standalone task with no plan directory, and a plan approved in delegated mode.

153 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use diagnosing-superpowers, chinese-git-workflow and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • obraSkill

    diagnosing-superpowers

    Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.

    Also in 6 projects that use this

  • MorningStar0709Skill

    chinese-git-workflow

    Configure Git for domestic platforms and manage branching strategies suitable for Chinese teams. Use when the user asks to configure remotes, set up SSH, or manage Git workflows for Gitee, Coding, Jihu GitLab, or CNB, including requests like "配置国内 Git", "设置 Gitee 远程仓库", "推荐适合小团队的 Git 流程".

    Also in 4 projects that use this

  • xfstudioSkill

    conversation-memory

    Persistent memory systems for LLM conversations including short-term, long-term, and entity-based memory Use when: conversation memory, remember, memory persistence, long-term memory, chat history.

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-code-review

    中文 review 沟通参考——话术模板、分级标注(必须修复/建议修改/仅供参考)、国内团队常见反模式应对。仅在用户显式 /chinese-code-review 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • shibit-netSkill

    chinese-commit-conventions

    中文 commit 与 changelog 配置参考——Conventional Commits 中文适配、commitlint/husky/commitizen 中文模板、conventional-changelog 中文配置。仅在用户显式 /chinese-commit-conventions 时调用,不要根据上下文自动触发。

    Also in 3 projects that use this

  • GoogleMakesMeBetterSkill

    datadog-automation

    Automate Datadog tasks via Rube MCP (Composio): query metrics, search logs, manage monitors/dashboards, create events and downtimes. Always search tools first for current schemas.

    Also in 3 projects that use this

  • +1 more from shibit-net

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 146 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run each task of an approved plan in this session through its evaluator (the check it must pass), then hand the integrated result to review …

    line 8
  2. Very specific:

    Run bash scripts/plan-version.sh on the plan directory before reading the External decision ledger, a ledger (append-only).

    line 27
  3. Distinctive:

    No such row, a later row closed the version, or the script fails → stop and name the missing version, the row that closed it, or the …

    line 33
  4. Very specific:

    No mode in that row → ask assets/mode-question.md before any workspace action, and stop.

    line 36
  5. Very specific:

    Every task's Files lies outside any git-tracked project, or the index says the deliverable is not a repository change → record workspace: …

    line 43
  6. Very specific:

    Read Integration cadence: plan end (default) or per task.

    line 75
  7. Very specific:

    Read the task file, its Context paths, its evaluator, and the ledger's learnings.

    line 82
  8. Distinctive:

    Write the attempt row before any edit: task ID, attempt ID, current revision, evaluator identity, expected observable.

    line 84
  9. Very specific:

    After parallel work: rerun the combined gate on the merged state before any of its tasks is done.

    line 105
  10. Distinctive:

    Leave the loop only when:

    line 113
  11. Very specific:

    every task is done, or cancelled/superseded with its approved ledger decision → Step 5

    line 114
  12. Distinctive:

    no authorized ready task can advance → report the unresolved states, their blockers and required next conditions

    line 116

“Common” is measured: kept by at least 6 in 10 of the 146 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Executing Plans

Run each task of an approved plan in this session through its evaluator (the check it must pass), then hand the integrated result to review and integration. This skill never decides what happens to the branch.

When to use

  • The user asks to execute, continue, or resume a plan directory, or answers its execution-mode question with inline.
  • Skip a single task with no plan directory: use test-driven-development and yagni directly.
  • Skip a plan whose approval row records mode: delegated: subagent-driven-development owns it.

Available scripts

  • scripts/plan-version.sh — prints the plan's version.

Step 1: Verify approval and mode

  1. Run bash scripts/plan-version.sh on the plan directory before reading the External decision ledger, a ledger (append-only). Read every row for this index whose Identity is the printed version, in ledger order. The last of them must be the row whose Bound evidence names the Approval rule owner's approval: a later row that rejects, cancels, or supersedes this version closes it. The index cannot approve itself.
  2. No such row, a later row closed the version, or the script fails → stop and name the missing version, the row that closed it, or the script's error; never substitute a version read from the index.
  3. No mode in that row → ask assets/mode-question.md before any workspace action, and stop.
  4. mode: delegated in that row → REQUIRED SUB-SKILL: invoke subagent-driven-development; this skill ends here and runs nothing.

Step 2: Set up the workspace

Every task's Files lies outside any git-tracked project, or the index says the deliverable is not a repository change → record workspace: not applicable in the ledger and skip 2.2. One task inside a repository → Step 2.2 and Step 5.3 apply to the whole plan.

  1. Record the approved plan directory by absolute path; read and mirror the plan only there.
  2. REQUIRED SUB-SKILL: invoke using-git-worktrees. Fill its record from the workspace's own commands.

Step 3: Check the plan contract

For every task, confirm:

  • each Consumes names an earlier task's exact Produces; existing code and external input artifacts belong in Context, not an invented producer task
  • each Depends on names a task that is not cancelled
  • the task does not edit its judge unless the approved Evaluator identity/owner explicitly permits the exact change and requires pre-change RED or deliberate falsification; undeclared or weakened criteria block execution
  • Implementation disciplines is filled
  • UI task: Applicable visual references match the index's Selected visual references field for field; run each freshness evaluator now

Record the checked input/output mappings and evaluator ownership in the execution ledger before the first edit. Any failure: report the field and task; do not start it.

  • Phases or shards in the index: read references/phase-queues.md before the first task and follow it.
  • High-risk task: blocked until its migration and assurance contracts are approved and their entry gates passed. Report it; do not start it.
  • Read Integration cadence: plan end (default) or per task.

Step 4: The task loop

Take the next task whose Depends on tasks are all done. Keep the approved mode; switching needs the user's direct answer.

  1. Read the task file, its Context paths, its evaluator, and the ledger's learnings. Never work from memory of the plan.
  2. Write the attempt row before any edit: task ID, attempt ID, current revision, evaluator identity, expected observable.
  3. REQUIRED SUB-SKILLS: invoke test-driven-development and yagni before the first edit or project command. The plan naming them is not invocation; the loading action must appear in this session.
    • Approved parallel work: waves: yes on the approval row and the ready set that passes the independence test of dispatching-parallel-agents Step 1 → invoke it for that set; otherwise one task at a time.
  4. Inspect the result yourself: diff against the attempt's starting revision; compare with Files and Exclusive ownership. Dispatched task: read its raw diff, result revision, and evaluator output, never its summary.
  5. REQUIRED SUB-SKILL: invoke verification-before-completion on that exact state: the Evaluator, every VCONF row, visual-ui-verification for an integrated UI.
  6. Append the task state to the ledger and mirror the index checkbox:
    • done — every gate passed on the inspected state
    • done with concerns — a gate raised something not yet proved non-blocking; keep it out of the completion count
    • blocked or needs context — with blocker, owner, next gate Mirror only the task row's checkbox and adjacent label. Do not change the index's Status header or normalize it out of the plan's identity.
  7. After parallel work: rerun the combined gate on the merged state before any of its tasks is done.
  8. per task cadence only — REQUIRED SUB-SKILLS: invoke requesting-code-review on this task's revision, then finishing-a-branch. Return after it records its decision.
  9. Go to step 1 with the next ready task. Do not report, ask, or pause at done. Later todo tasks are expected. A blocked task does not block independent ready work; retain its blocker and skip it until its entry condition changes. Leave the loop only when:
    • every task is done, or cancelled/superseded with its approved ledger decision → Step 5
    • no authorized ready task can advance → report the unresolved states, their blockers and required next conditions
    • a task needs a change to what was approved (scope, interface, evaluator, phase, ownership, mode) → write the proposed successor, ask for reapproval, end the turn
    • a high-risk entry gate has not passed → report it, end the turn

Step 5: Finish the plan

In the task workspace recorded in Step 2, in order:

  1. REQUIRED SUB-SKILL: invoke verification-before-completion: the index's Acceptance check plus every done task's evaluator, on the HEAD that combines every task (per task: the base after the last integration), or, when workspace: not applicable, on the deliverable files identified by content digest. Task ledgers are not evidence for this state.
  2. REQUIRED SUB-SKILL: invoke requesting-code-review on that revision, or on that digest in working-tree mode. Reading the diff yourself is not this step.
  3. workspace: not applicable → hand the result to the user. Otherwise, REQUIRED SUB-SKILL: invoke finishing-a-branch with the workspace record from Step 2. It asks the integration question and executes the answer. Run no push, PR, merge, or delete here.
ThoughtReality
"All tasks are done, so the plan is done"Tasks are done inside the plan. The plan is done after Acceptance, review, and the integration decision — three skills you have not invoked yet.
"Tests are green — a PR is the natural next step"Green is task-local evidence. Review and integration are separate gates with their own owners.
"The plan says approved, so it is"A plan cannot authenticate itself. Read the ledger entry or get the answer in this conversation.
"Subagents are available, but inline is what I'm already in"The row's mode decides, and the user chose it. A delegated row here is a redirect, not a loop to run.

Gotchas

  • A task file edited after approval leaves the index unchanged; only the printed version moves.
  • A workspace created from HEAD lacks an uncommitted plan, or holds an older, unapproved committed copy.

Failures and the circuit breaker

  • Failed attempt: append it with its raw evidence and a stable failure-class ID; start a new attempt that links to it.
  • Worker past its deadline: write cancellation requested, wait until it and everything it started have stopped, quarantine its output, reject its late results.
  • Three attempts in one class without convergence: write blocked with the class and the attempts; end the turn. Never patch shard failures one at a time.

Stopping and resuming

  • Remaining work will not fit this session: finish the current ledger row, then invoke handoff.
  • On resume, rerun bash scripts/plan-version.sh, then re-read before trusting: the latest decision ledger row for the printed version, the workspace's base, HEAD, and dirty state through using-git-worktrees, the execution ledger, and whether each done row still matches the current revision.
  • Reality contradicts the plan: a change to what was approved → proposed successor and direct reapproval; runtime facts → execution ledger only.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.