agentleFS
maccydeemaccydee/claude-planning-skills/executing-plans/SKILL.md

executing-plans

Skill3 starsChanged 3 months agoMITView on GitHub

Use when handed a complete implementation plan (PLAN.md) to build. Loads the plan, reviews it critically, implements it in small reviewed batches with a test-first cycle, and reports between batches so an architect can catch drift early. Trigger on "execute the plan", "implement this plan", "run the plan", or "start building from this plan". Follows writing-plans.

189 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-code-review, chinese-commit-conventions 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.
  • Leodorareluctant259Skill

    chinese-code-review

    中文代码审查规范——在保持专业严谨的同时,用符合国内团队文化的方式给出有效反馈

    Also in 8 projects that use this

  • Leodorareluctant259Skill

    chinese-commit-conventions

    中文 Git 提交规范 — 适配国内团队的 commit message 规范和 changelog 自动化

    Also in 8 projects that use this

  • 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 20 projects that use this

  • allanninalSkill

    algorand-vulnerability-scanner

    Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal). (project, gitignored)

    Also in 4 projects that use this

  • allanninalSkill

    cairo-vulnerability-scanner

    Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects. (project, gitignored)

    Also in 4 projects that use this

  • farslabSkill

    aws-agentic-ai

    AWS Bedrock AgentCore comprehensive expert for deploying and managing AI agents at scale. Use when working with any AgentCore service including Gateway, Runtime, Memory, Identity, Code Interpreter, Browser, Observability, Agent Registry, or Evaluations. Covers agent deployment, MCP tool integration, credential management, agent discovery, governance workflows, and automated quality assessment. Essential when user mentions AgentCore, agent runtime, agent registry, agent evaluation, MCP gateway, deploy agent, register MCP server, discover agents, evaluate agent quality, agent credentials, or wants to build, deploy, catalog, or monitor AI agents on AWS.

    Also in 3 projects that use this

  • +3 more from Leodorareluctant259
  • +1 more from allanninal

The file

We split this skill into the rules it gives an agent

11 rules. 0 are common, 10 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Default to delegating, not coding it yourself — that's what keeps your own (opus) attention free for the judgment calls.

    line 31
  2. Distinctive:

    Before reporting, if earlier batches exist, re-run their tests as a regression check.

    line 49
  3. Very specific:

    Keep one execution log, EXECUTION-LOG.md, next to the plan.

    line 67
  4. Distinctive:

    Update the plan as you go, it's the source of truth, and a stale marker sends the next executor to the wrong place.

    line 91
  5. Distinctive:

    When a batch is done, make sure the markers match git state before reporting.

    line 98
  6. Distinctive:

    Stop and ask the moment you hit a real blocker, a critical gap, an unclear instruction, or a verification that keeps failing.

    line 102
  7. Distinctive:

    Test-first for all code changes.

    line 112
  8. Distinctive:

    Follow the plan's steps exactly.

    line 113
  9. Distinctive:

    Verify a subagent's work yourself — its report is a claim, not proof.

    line 114
  10. Distinctive:

    Update the plan after each task.

    line 115
  11. Distinctive:

    Stop and ask when blocked.

    line 117

“Common” is measured: kept by at least 6 in 10 of the 178 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

Overview

Take a finished plan and build it, in small batches with a review checkpoint after each one. The batching is the point: a checkpoint every few tasks lets a reviewer catch a wrong turn while it's cheap to fix, instead of after twenty tasks have been built on top of it.

This skill itself runs on opus, as the orchestrator: reviewing the plan, judging blockers and ambiguity, and verifying what comes back. It is not where most of the coding happens — each task is delegated to a subagent, picking the cheapest model that task can trust, per the table in "Execute a batch" below.

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

Commits

By default, hold commits until a batch has been reviewed, so the full diff is available to review. The reviewer gives feedback, then the approved work is committed by you (the orchestrator), not by whichever subagent wrote the code — tell each subagent to skip the plan's Step 5 (Commit) and leave the diff staged for your review. If you'd rather commit per task (useful for unattended runs), pass --auto-commit; then the subagent commits as the plan specifies.

The process

1. Load and review the plan

Read the plan and review it critically before touching code. If it has a blocking gap or ambiguity that would force you to guess, raise it with the partner first, guessing here is how execution silently diverges from intent. If it's clear, make a task list and start the first batch in the same response.

2. Execute a batch

Default to five tasks per batch. Drop to three (or fewer) when a task carries real risk, an unfamiliar external integration, concurrency, security-sensitive logic, or anything the plan already flags as assumption-heavy or likely to need a judgment call. The batch size is a checkpoint cadence, not a quota: size it to how much could go wrong before a reviewer next looks.

Default to delegating, not coding it yourself — that's what keeps your own (opus) attention free for the judgment calls. Pick the model per task, not a blanket default:

Task is...Model
Mechanical and fully specified: a renamed field, boilerplate wiring, a transform the plan already spells out completelyhaiku
Most tasks: real implementation work, a behavioral contract with a few edge cases, a test-first cycle against ordinary logicsonnet
High-risk, assumption-heavy, adversarial, security-sensitive, or already gotten wrong onceopus — do it yourself, don't delegate

For each task:

  1. Mark it in progress.
  2. Pick the row above. For haiku/sonnet, delegate to a subagent (Agent tool, model set accordingly). Hand it everything it needs to stand alone: the task's files, behavioral contract, and steps verbatim from the plan, the plan's Language Rules block, and instructions to follow the plan's steps exactly, use the test-first cycle (write the test, watch it fail for the right reason, write the minimal code, watch it pass, refactor if needed), run the verifications the task specifies, and report what failed rather than quietly route around it. Run tasks in a batch one at a time unless their Files sections are confirmed disjoint — two subagents must never touch the same file.
  3. For the opus row, do the task yourself instead of delegating. Don't iterate a wrong result from a cheaper model through more cheap-model attempts — redo it yourself rather than re-prompt the same tier.
  4. Verify a subagent's work yourself before trusting it — its report is a claim, not proof. Read the diff, re-run the test it says passes, and prove the output is real: run the feature with representative input and confirm it produces actual computed data, not an empty or hardcoded value. A task that "passes" but returns nothing isn't done. If a haiku or sonnet result comes back wrong or implausible, don't patch it — redo that one task a tier up.
  5. Mark it complete and update its marker in the plan.

3. Report

Before reporting, if earlier batches exist, re-run their tests as a regression check. If something now fails, run it once more to rule out flakiness, then surface it, don't quietly fix it; the reviewer decides what to do at the checkpoint.

Then report the batch:

  • What you built.
  • The verification output.
  • The output-substance proof (real input, real output) for each task.
  • "Ready for feedback."

4. Continue

Apply the feedback, run the next batch, repeat until every task is done.

5. Finish

When all tasks are complete and verified, say so, and recommend a review before merging: run the skeptic over what got built (and a code/security pass if you have one), address anything real, then review and merge. Don't merge straight off the last green test.

Logging: assumptions and blockers

Keep one execution log, EXECUTION-LOG.md, next to the plan. Two kinds of entry:

Assumption, you hit a gap or a contradiction in the plan, made a call, and kept going. Log it before proceeding, so it can be reviewed rather than discovered later. The pre-decision state is the useful part.

## A-003 | Task 4 | assumption | OPEN
Plan doesn't specify config format. Assumed YAML, matching the existing codebase.
(gap-fill, plan was silent)

## A-007 | Task 6 | assumption | OPEN
Plan says validate JWT on every request, but the contract schema has no auth field.
Validated at the handler layer and flagged. (conflict, two directives disagreed)

Blocked, a task genuinely can't proceed (missing dependency, impossible requirement, a failure with no viable fix). Log it, mark the task ⚪ BLOCKED in the plan, and stop. Don't invent your way past a blocker.

## B-001 | Task 3 | blocked | OPEN
Can't proceed: `db.Connect()` needs package `internal/pgpool`, which doesn't exist yet.
Root cause: plan assumes it exists; nothing created it. Fix: add a task to create it before Task 3.

Progress tracking

Update the plan as you go, it's the source of truth, and a stale marker sends the next executor to the wrong place. Move markers in place (🔴 → 🟡 → 🟢, or ⚪ when blocked), and write progress notes that are specific and evidence-based:

GoodWeak
"Added JWT validation in auth/handler.go:45-67""Made progress"
"Implemented rate limiting, 100/min""Working on it"

When a batch is done, make sure the markers match git state before reporting.

When to stop and ask

Stop and ask the moment you hit a real blocker, a critical gap, an unclear instruction, or a verification that keeps failing. A quick question beats a confident wrong guess.

When to revisit the plan

Go back to review (step 1) if the partner updates the plan, or if execution shows the fundamental approach needs rethinking.

Quick reference

  • Review the plan critically first.
  • Delegate per task (haiku for mechanical, sonnet for most, opus/yourself for risky or already-wrong) — never a blanket default.
  • Test-first for all code changes.
  • Follow the plan's steps exactly.
  • Verify a subagent's work yourself — its report is a claim, not proof.
  • Update the plan after each task.
  • Report and wait for feedback between batches.
  • Stop and ask when blocked.

Related skills

SkillWhen
writing-plansIf the plan needs revision or new tasks appear
skepticBefore building, and again before merging, to challenge scope and necessity

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.