agentleFS
bordenetbordenet/superpowers-plus/skills/engineering/executing-plans/skill.md

executing-plans

Skill8 starsChanged 6 months agoMITView on GitHub

Use when executing an approved written plan natively in the current session with required verification and review

  • Deletes or force-pushes

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

10 rules. 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before every automated review or test/check pass, resolve a snapshot-bound REUSE, WAIT, RUN_MINIMAL, REVIEW_REQUIRED or STOP decision at …

    line 39
  2. Distinctive:

    Before a managed edit, check or review, register the active phase, its open acceptance criterion, exact patch paths or check argv/selector, …

    line 53
  3. Very specific:

    Prefer subagent-driven-development when the user wants a review gate per task, or the plan is long enough that late tasks would run on a …

    line 68
  4. Distinctive:

    Continuous within admitted scope: do not pause to check in between tasks.

    line 74
  5. Very specific:

    Before any git commit: run unified-commit-gate (all applicable gates), even mid-plan.

    line 86
  6. Very specific:

    Run every command from the target repo's root.

    line 91
  7. Distinctive:

    Read the plan once (Global Constraints) and its Spec if named.

    line 109
  8. Very specific:

    Commit as the plan says; BASE, never HEAD~1, cuts the review range.

    line 126
  9. Very specific:

    WAIT or STOP; dispatch only a required class with REVIEW_REQUIRED.

    line 141
  10. Distinctive:

    Use one combined reviewer per missing class, on the most capable available model.

    line 145

“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

Execute the plan yourself, task by task, in this session: no per-task implementer or reviewer subagent, one routed final review per missing artifact class at the end. The brief is the spec, the ledger is your memory, TDD is the per-task gate, the final reviewer is the second pair of eyes.

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

Strategy before execution

Before every automated review or test/check pass, resolve a snapshot-bound REUSE, WAIT, RUN_MINIMAL, REVIEW_REQUIRED or STOP decision at its supported execution/dispatch boundary. Reuse valid coverage or join its active producer. Missing/stale decisions refuse; unknown coverage stays conservative. No model calls or recursive checks inside strategy. Status/HEAD changes, clean reviews and score targets alone never justify another expensive pass.

Execution control

An independent execution controller owns phase acceptance and may STOP scope expansion. This role is separate from implementation and code review; use a fresh agent for a drift exception or disputed acceptance, not every action. Routine decisions use the deterministic tools/execution-admission.py gate.

Before a managed edit, check or review, register the active phase, its open acceptance criterion, exact patch paths or check argv/selector, and proof inputs in the private execution-control registry. Invoke admission with the actual request before execution. Missing ownership, stale prerequisite fingerprints, unrelated selectors and successor work before predecessor acceptance STOP. Close criteria only against their required evidence. Reuse unchanged proof. The ledger records costs and exceptions; it cannot substitute for admission. Unsupported host boundaries remain UNENFORCED in the support matrix.

When to Use

  • A written plan exists (writing-plans), the user reviewed that saved plan and authorized execution, and chose native execution — or no subagent tool exists (never fabricate a dispatch). Approval of an unseen scope is not approval of an unseen plan.
  • Prefer subagent-driven-development when the user wants a review gate per task, or the plan is long enough that late tasks would run on a compacted context. Native runs well on a mid-tier session model; tell the user so.

Operating Rules

  • Continuous within admitted scope: do not pause to check in between tasks. Narrate at most one short line between tool calls; bookkeeping rides in the same call as work.
  • Rulings, not stalls: decide conflicts, ambiguities, and plan defects. The spec is the binding authority, the plan its argument. Ledger each as Task <N>: Ruling: <what you decided> — <why> — <cost if wrong>. A deviation without a ledgered ruling is a decision made in secret.
  • Only four things stop you: an irreversible or destructive operation; a security-sensitive action; a side effect outside this worktree that norms say to ask about (merge, push to a shared branch, publish); a plan so broken every path is a guess.
  • Context hygiene: redirect long output to a workspace file and read its tail; read a task's brief, not the whole plan.
  • Before any git commit: run unified-commit-gate (all applicable gates), even mid-plan.

Setup

Run every command from the target repo's root. Script paths below (scripts/…, ../subagent-driven-development/…) are relative to this skill's installed directory — ~/.claude/skills/executing-plans or ~/.codex/skills/executing-plans — so prefix them with it.

  1. Isolated workspace via using-git-worktrees; never implement on main/master without explicit consent.
  2. Workspace and ledger are shared with subagent-driven-development so executors can swap mid-plan: run bash ../subagent-driven-development/scripts/sdd-workspace PLAN_FILE (prints <repo>/.superpowers/sdd/<plan-basename>/). Another plan's directory is never yours.
  3. Ledger <workspace>/progress.md, first line # SDD ledger — plan: <plan file path>. If it names your plan, every Task <N>: complete line is DONE — resume at the first task without one; after compaction trust the ledger and git log over recollection. A ledger naming another plan: leave it, start your own. git clean -fdx destroys it; recover from git log.
  4. Read the plan once (Global Constraints) and its Spec if named; no reachable spec → ledger note, rulings provisional. One todo per task.
  5. Load test-driven-development now; it governs every step.
  6. Pre-flight scan: for each task consuming what an earlier task produces (Interfaces blocks), one ledger row: both tasks, produced vs consumed, finding, ruling. Nothing shared → Pre-flight: no shared interfaces.

The Task Loop

  1. Take: bash scripts/task-start PLAN_FILE N prints the brief path and BASE. Read the brief every time — memory is a summary, the brief has the exact values. Mark the todo in_progress.
  2. Admit, then work the steps in their RED-GREEN order. Watching the test fail is a step; a test that passes before the implementation exists is a finding about the test. Compare every Expected: line to real output: matches → next; code wrong → systematic-debugging, never patch the symptom; plan wrong → smallest spec-satisfying change, ledgered ruling. Commit as the plan says; BASE, never HEAD~1, cuts the review range.
  3. Completion contract (verification-before-completion governs the claim), with evidence from this session: every named test exists and ran; the final run passed; every Expected: was compared; every deviation has a Ruling: line. Anything missing → the task is not complete.
  4. Complete: bash scripts/task-done PLAN_FILE N BASE -- <test command> must use the authoritative runner, reusing its valid task coverage before it appends Task <N>: complete (commits <base>..<head>, tests: <cmd> → <result>). A failing run records nothing. Mark the todo complete; next task.

Final Review

  1. bash ../subagent-driven-development/scripts/review-package PLAN_FILE MERGE_BASE HEAD (MERGE_BASE = git merge-base <base-branch> HEAD).
  2. Resolve the native review preflight and actual artifact routes. Obey REUSE, WAIT or STOP; dispatch only a required class with REVIEW_REQUIRED. With a subagent tool: send the routed class's reviewer the package, plan/spec, Review Focus and ledger rulings, with SPP_REVIEW_CLASS=<required-class> SPP_REVIEW_SNAPSHOT=<strategy.snapshot>. Use one combined reviewer per missing class, on the most capable available model. Never replace independent review with your own read of the diff. Without one: ledger Final review: self-review (no subagent tool); the user decides whether that suffices before merge.
  3. Re-grade by effect (what a reasonable user gets if it ships), not by whether the spec named the input. Each "Declined to judge" item becomes a ledgered Final: Ruling:.
  4. Critical/Important → ONE fix pass, each fix: reproducing test RED → GREEN, then resolve missing/invalidated project coverage; ledger Final: fixed <finding> — <test> RED→GREEN, suite <N>/<N>. No re-review dispatch without a new actionable basis. Not fixing is a Final: Ruling:. Minor → Final: minor (deferred): <one-liner>, never fixed, never a ruling.

Finish

Final message lists every Ruling: line under "Rulings I made" (in order, with cost if wrong) and every deferred minor under "Deferred minors" — exhaustive; it is the only place those decisions reach the user. When the review is clean and fixes are committed, delete this plan's workspace directory (siblings belong to other plans). Before pushing, run unified-commit-gate (/sp-push), reusing valid content/context coverage. Confirm the required native clearances with read-only readiness for the pushed ref. Then follow finishing-a-development-branch.

Common Rationalizations

ExcuseReality
"I remember what Task N says"You remember a summary. Read the brief.
"The plan's code is right, skip watching the test fail"A test you never saw fail proves nothing.
"I'll run the full suite at the end"Per-step runs show which step broke it; the end-of-task run is the contract.
"The plan is wrong, I'll just do the right thing"Do it and ledger the ruling.
"I'll write ledger lines after a few tasks"Compaction doesn't wait. One line per task, same call as the commit.
"Let me check in before the next task"Only the four stops stop you.
"I read my own diff; the final reviewer is redundant"Same author, same blind spots. It is the only fresh context this run buys.
"The reviewer said Minor, so it's Minor"The label graded the spec's silence. Re-grade by effect.
"The fix is obvious, no failing test needed"The failing test is the only proof the finding was real and is gone.

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.