agentleFS
harshadmadayeharshadmadaye/OPM/skills/executing-plans/SKILL.md

executing-plans

Skill4 starsChanged 56 days agoMITView on GitHub

Executes a written implementation plan task-by-task by dispatching a fresh implementer subagent per task, a reviewer subagent after each, and a progress ledger that survives context compaction. Use when a plan exists in docs/plans/ and the user wants it implemented, resumed after interruption, or finished with verification and a PR.

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use chinese-git-workflow, chinese-code-review 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-git-workflow

    适配国内 Git 平台和团队习惯的工作流规范——Gitee、Coding、极狐 GitLab 全覆盖

    Also in 9 projects that use this

  • Leodorareluctant259Skill

    chinese-code-review

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

    Also in 8 projects that use this

  • xfstudioSkill

    upstash-qstash

    Upstash QStash expert for serverless message queues, scheduled jobs, and reliable HTTP-based task delivery without managing infrastructure. Use when: qstash, upstash queue, serverless cron, scheduled http, message queue serverless.

    Also in 5 projects that use this

  • xfstudioSkill

    team-composition-analysis

    This skill should be used when the user asks to "plan team

    Also in 5 projects that use this

  • AtilaMedeirosSkill

    calendly-automation

    Automate Calendly scheduling, event management, invitee tracking, availability checks, and organization administration via Rube MCP (Composio). Always search tools first for current schemas.

    Also in 4 projects that use this

  • AtilaMedeirosSkill

    gmail-automation

    Automate Gmail tasks via Rube MCP (Composio): send/reply, search, labels, drafts, attachments. Always search tools first for current schemas.

    Also in 4 projects that use this

  • +2 more from Leodorareluctant259
  • +2 more from xfstudio
  • +2 more from AtilaMedeiros

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Branch check: Never implement on main/master without explicit consent.

    line 25
  2. Very specific:

    Read references/setup.md when resuming a ledger or running the pre-flight scan.

    line 31
  3. Very specific:

    Do not pause between tasks: rule on ambiguities, ledger Ruling: <what> - <why> - <cost if wrong>, keep going.

    line 33
  4. Distinctive:

    Never run two implementers in parallel on one branch.

    line 37
  5. Very specific:

    Report rulings: every Ruling: and parked line under "Rulings I made".

    line 64
  6. Distinctive:

    Compound learnings: if anything surprised you.

    line 66
  7. Very specific:

    Read references/finishing.md when you reach Finishing.

    line 68

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

Load the plan, review it critically, execute every task through a fresh implementer plus a reviewer gate, verify, then hand off. You are the controller: you coordinate, rule, and record. You do not write the code yourself.

Announce at start: "Using opm:executing-plans to implement <plan path>."

Core principle: fresh subagent per task + task review (spec + quality) + ledger = high quality, fast iteration, nothing lost to compaction.

Choose the Mode

  • Subagent mode (default): 4 or more tasks, or any task needing its own judgment, tests, or review surface.
  • Inline mode: 3 or fewer tasks. Read references/inline-mode.md when you choose inline mode.

Say which mode you are using and why.

Setup

  1. Branch check. Never implement on main/master without explicit consent.
  2. Ledger check. docs/plans/<plan-basename>.progress.md. Tasks with Task <N>: complete are DONE: never re-dispatch them. Else create it with # OPM ledger - plan: <plan file path> as line 1.
  3. Read the plan once, and its Spec if named.
  4. Pre-flight conflict scan into the ledger; rule on each conflict before Task 1.
  5. Create a todo per task.

Read references/setup.md when resuming a ledger or running the pre-flight scan. After compaction, trust the ledger and git log over your memory.

Do not pause between tasks: rule on ambiguities, ledger Ruling: <what> - <why> - <cost if wrong>, keep going. Stop only for irreversible, security-sensitive, or outside-the-branch actions, or a plan where every path is a guess. Always name a model. Read references/rulings-and-models.md when making the first dispatch or a ruling.

The Task Loop (Subagent Mode)

Never run two implementers in parallel on one branch.

  1. Brief and dispatch. Record BASE=$(git rev-parse HEAD). Brief: task text verbatim, Global Constraints, consumed interfaces, file paths, your rulings; never the whole plan or history. Read references/implementer-brief.md when composing a brief or handling its report.
  2. Gate: commits exist. git log --oneline BASE..HEAD; a report is a claim.
  3. Review. A reviewer subagent gives spec and quality verdicts. Never fix findings yourself. Read references/reviewer.md when dispatching a reviewer.
  4. Fix loop, at most 3 rounds. Critical, Important, spec ISSUES loop; Minor goes to the ledger. After round 3, adjudicate each open finding with a ledgered ruling. Read references/fix-loop.md when a review returns findings.
  5. Complete. Ledger Task <N>: complete (commits <base7>..<head7>, review clean) or ..., <K> parked). Never move on with Critical/Important findings neither fixed nor parked.

Ledger Format

# OPM ledger - plan: docs/plans/2026-09-12-auth.md
Branch: feat/auth  Base: 3f2a1c9
Preflight: <table rows or "clean: N pairs checked, M tasks self-consistent">
Ruling: <decision> - <why> - <cost if wrong>
Task 1: complete (commits 3f2a1c9..8b77d10, review clean)
Task 2: minor (deferred): duplicated fixture setup in test_session.py:12
Task 2: fix round 1/3 (2 addressed, 1 open - missing 401 path; commits 8b77d10..c01e4aa)
Task 2: complete (commits 8b77d10..d9e02f1, review clean)

Append-only. One line per event. The commits it names exist in git even when your context no longer remembers creating them.

Finishing

  1. Final whole-branch review by code-reviewer (most capable tier).
  2. Verify with opm:verification-before-completion.
  3. Report rulings: every Ruling: and parked line under "Rulings I made".
  4. Offer the PR; never push or open it without a yes.
  5. Compound learnings if anything surprised you.

Read references/finishing.md when you reach Finishing. Read references/rationalizations.md when tempted to skip a gate.

<!-- Adapted from obra/superpowers (MIT) -->

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.