agentleFS
REPOZYREPOZY/superpowers-optimized/skills/executing-plans/SKILL.md

executing-plans

Skill146 starsChanged 7 months agoMITView on GitHub

MUST USE when a plan.md exists and implementation needs to begin. Executes in controlled batches with verification checkpoints. Triggers on: "execute the plan", "start building", "follow the plan", "go". Routed by using-superpowers or writing-plans handoff.

189 other projects use a version of this, 15 of them edited.

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

Show its rules and text

We split this skill into the rules it gives an agent

19 rules. 2 are common, 14 are distinctive, and 3 are very specific to this project.

  • 2

    Common

    Most of the 178 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

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

    If state.md exists and names this plan, read it first — it records which task is next and what earlier sessions already proved.

    line 50
  2. Distinctive:

    If concerns: raise them with the user before starting.

    line 52
  3. Distinctive:

    If no concerns: create task tracking and proceed.

    line 53
  4. Distinctive:

    If working on main/master branch AND the plan involves code changes:

    line 56
  5. Distinctive:

    If already on a feature branch, or the plan is documentation/config only:

    line 59
  6. Common:

    Follow each step exactly (plan has bite-sized steps with checkboxes).

    line 64
  7. Common:

    Run verifications as specified.

    line 65
  8. Very specific:

    Keep it to the diff: update the current task pointer and append newly discovered facts.

    line 75
  9. Distinctive:

    When a task is architectural, high-risk, or touches cross-module boundaries:

    line 83
  10. Distinctive:

    Consider simpler architectures or alternative approaches.

    line 86
  11. Distinctive:

    Ensure changes remain maintainable and don't create hidden coupling.

    line 87
  12. Distinctive:

    If 2 implementation attempts fail, pause and reassess the approach rather than forcing a third attempt.

    line 88
  13. Distinctive:

    Do not skip plan steps unless user approves deviation.

    line 92
  14. Distinctive:

    Never start implementation on main/master branch without explicit user consent — ensure isolated workspace is ready first.

    line 93
  15. Distinctive:

    Keep edits scoped to the current task.

    line 94
  16. Distinctive:

    Do not claim completion without fresh command output.

    line 95
  17. Distinctive:

    Do not carry long historical summaries.

    line 111
  18. Distinctive:

    After all tasks pass verification:

    line 115
  19. Very specific:

    Update state.md to record that the plan is complete, so the next session does not try to resume it.

    line 120

“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

Implement an approved plan in controlled batches with explicit verification.

Required Start

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

Process

digraph executing_plans {
    "Load and review plan" [shape=box];
    "Concerns?" [shape=diamond];
    "Raise with user" [shape=box];
    "Set up worktree" [shape=box];
    "Execute next task" [shape=box];
    "Run verification" [shape=box];
    "More tasks?" [shape=diamond];
    "Whole-branch code review (Review Focus passed in)" [shape=box];
    "Fix Critical/Important; log Minor" [shape=box];
    "Invoke finishing-a-development-branch" [shape=doublecircle];

    "Load and review plan" -> "Concerns?";
    "Concerns?" -> "Raise with user" [label="yes"];
    "Raise with user" -> "Load and review plan" [label="plan updated"];
    "Concerns?" -> "Set up worktree" [label="no"];
    "Set up worktree" -> "Execute next task";
    "Execute next task" -> "Run verification";
    "Run verification" -> "More tasks?";
    "More tasks?" -> "Execute next task" [label="yes"];
    "More tasks?" -> "Whole-branch code review (Review Focus passed in)" [label="no"];
    "Whole-branch code review (Review Focus passed in)" -> "Fix Critical/Important; log Minor";
    "Fix Critical/Important; log Minor" -> "Invoke finishing-a-development-branch";
}

Step 1: Load and Review Plan

  1. Read the plan completely. Note its Global Constraints block — those bind every task — and follow its Spec: pointer if it names one. The spec is the authority the plan argues from; conflicts inside the plan resolve against it. If the plan names no reachable spec, say so, and treat any judgment call you make without one as provisional. 1a. Check the plan's Interfaces blocks against each other before starting: every name a task Consumes must appear verbatim in some earlier task's Produces. A mismatch caught here costs one plan edit; the same mismatch caught at Task 5 costs a failed task and a rewrite.
  2. If state.md exists and names this plan, read it first — it records which task is next and what earlier sessions already proved. Resume from there instead of restarting at task 1.
  3. Review critically — identify any questions or concerns.
  4. If concerns: raise them with the user before starting.
  5. If no concerns: create task tracking and proceed.

Step 2: Set Up Workspace

If working on main/master branch AND the plan involves code changes:

  • Set up isolated workspace via using-git-worktrees.

If already on a feature branch, or the plan is documentation/config only:

  • Skip worktree setup. Confirm with user that the current branch is appropriate.

Step 3: Execute Tasks

For each task:

  1. Follow each step exactly (plan has bite-sized steps with checkboxes).
  2. Run verifications as specified.
  3. Mark task complete: tick the checkbox in plan.md (- [ ] → - [x]), then update state.md.
  4. For tasks involving UI/UX or frontend implementation, apply guidance from frontend-design.

The state.md checkpoint is not optional. This skill exists for execution that spans sessions, so it is the path most likely to be interrupted by a context compaction or a closed terminal. After each completed task, state.md must say:

  • which plan file is being executed and which task number is next
  • what the last verification proved (the command and its result, not "tests pass")
  • any fact discovered during execution that the plan does not spell out — exact paths, config keys, function names, non-obvious constraints

Keep it to the diff: update the current task pointer and append newly discovered facts. Do not restate the plan; plan.md owns the task list.

Without this, a compaction mid-plan loses the discovered facts and the next session restarts the task from a blank slate — re-deriving what was already proven, or silently redoing completed work.

Note: Superpowers works significantly better with subagent support. If subagents are available, use subagent-driven-development instead — the quality of work will be higher with fresh-context-per-task and a per-task review gate.

Engineering Rigor for Complex Tasks

When a task is architectural, high-risk, or touches cross-module boundaries:

  • Validate the approach against requirements and constraints before coding.
  • Identify edge cases and error paths specific to this task.
  • Consider simpler architectures or alternative approaches.
  • Ensure changes remain maintainable and don't create hidden coupling.
  • If 2 implementation attempts fail, pause and reassess the approach rather than forcing a third attempt.

Execution Rules

  • Do not skip plan steps unless user approves deviation.
  • Never start implementation on main/master branch without explicit user consent — ensure isolated workspace is ready first.
  • Keep edits scoped to the current task.
  • Do not claim completion without fresh command output.

Stop immediately and ask for clarification — never guess — when:

  • A dependency is missing or unavailable.
  • The plan has a critical gap that prevents starting.
  • An instruction is unclear or contradictory.
  • Verification fails repeatedly (2+ attempts).

Context Hygiene

For each task, keep only:

  • Current task details
  • Constraints
  • Relevant prior decisions
  • Verification evidence

Do not carry long historical summaries. Never forward full session history to subagents — construct their prompts from scratch with only the items above.

Completion

After all tasks pass verification:

  1. Run one whole-branch code review before finishing. Inline execution removed the per-task review gates that subagent-driven-development provides; without this step the branch ships with no independent read at all. Invoke requesting-code-review over git merge-base origin/main HEAD..HEAD, passing the plan's Review Focus section verbatim so the reviewer deliberately checks the input classes the plan's own tests do not exercise.
    • With a subagent tool: dispatch the reviewer on the most capable model available, and say which model explicitly — an omitted model silently inherits the session's.
    • Without one: perform that review yourself as a separate pass, and say so plainly in your final report. A self-review by the author is weaker than a fresh reviewer, and the user decides whether that is enough before merge.
  2. Fix Critical and Important findings. Each fix gets a test that failed first. Minor findings go in the report, not the fix pass.
  3. Update state.md to record that the plan is complete, so the next session does not try to resume it.
  4. Announce finishing-a-development-branch.
  5. Invoke finishing-a-development-branch.

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.