agentleFS
rkalievrkaliev/eng-kit/skills/executing-plans/SKILL.md

executing-plans

Skill1 starsChanged 13 days agoMITView on GitHub

Use when you have an approved implementation plan to carry out, inline in this session or by dispatching a subagent per task

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

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 9 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 180 edited versions we read keep these.

  • 9

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Required: read test-driven-development before Task 1.

    line 11
  2. Very specific:

    Read the task file once: description, then Plan.

    line 16
  3. Very specific:

    Drift check: run git diff --stat <Base>..HEAD -- <the plan's files>.

    line 17
  4. Distinctive:

    Run the verification commands once to record the baseline.

    line 20
  5. Distinctive:

    The code is wrong: use systematic-debugging. Never patch the symptom to match.

    line 27
  6. Distinctive:

    Commit as the plan says.

    line 29
  7. Distinctive:

    every named test exists and ran, and was seen failing first as test-standard defines it (with BDD, the criterion's scenario failed first …

    line 31
  8. Very specific:

    every Expected was compared.

    line 33
  9. Very specific:

    every deviation has a ruling.

    line 34
  10. Distinctive:

    Don't trust the report. Check git diff BASE..HEAD and run the tests yourself.

    line 45
  11. Distinctive:

    Run implementers sequentially, one at a time on the same tree.

    line 49
  12. Distinctive:

    Docs: do the plan's Post-implementation block, plus anything else the diff made stale (writing-documentation), in this branch.

    line 54
  13. Distinctive:

    If the branch must be rebased onto a newer base, do it now.

    line 56
  14. Very specific:

    Use the finishing section of git-workflow.

    line 59

“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

The plan already did the thinking. Execute it exactly, prove each step with a test you watched fail and then pass, and leave a record that survives context compaction.

Required: read test-driven-development before Task 1. It governs every step.

Setup

  1. Work on an isolated branch or worktree (git-workflow). Never implement on main/master without explicit consent.
  2. Read the task file once: description, then Plan. The description is the authority; conflicts inside the plan resolve against it. Set Status: in progress. Drift check: run git diff --stat <Base>..HEAD -- <the plan's files>. If they changed since the plan was written, record it in Progress and re-check the affected tasks; if a task no longer fits the code, go back to writing-plans.
  3. Progress: the task file's ## Progress section is the record. If it already lists tasks as complete, they are done. Resume at the first incomplete one, and trust Progress and git log over your memory.
  4. Pre-flight: for every task that consumes another task's output, compare the Interfaces blocks. Record conflicts and your rulings in Progress.
  5. Run the verification commands once to record the baseline. Existing failures are noted in Progress, not silently inherited.

Per task

  1. Re-read the task text (not your memory of it). Note BASE=$(git rev-parse HEAD).
  2. Work the steps in order. For every command, compare the output with the plan's Expected:
    • Matches: next step.
    • The code is wrong: use systematic-debugging. Never patch the symptom to match.
    • The plan is wrong: choose the smallest change that satisfies the description, add Ruling: <what> — <why> — <cost if wrong> to Progress, and continue.
  3. Commit as the plan says.
  4. Completion contract, with evidence from this session:
    • every named test exists and ran, and was seen failing first as test-standard defines it (with BDD, the criterion's scenario failed first and passes now);
    • the full suite is green;
    • every Expected was compared;
    • every deviation has a ruling. Then, in one edit, tick the task's checkboxes in the Plan and add Task N: complete (BASE..HEAD, <command> → <result>) to Progress.

Rulings, not stalls. Don't pause between tasks to ask "should I continue?". Stop and ask only for an irreversible, destructive or security-sensitive action, a side effect outside this worktree (push to a shared branch, publish, deploy, a migration on a shared database, a real payment), or a plan so broken that every way forward is a guess.

Keep long command output out of context: redirect it to a file and read the tail. The kit verify script is the exception: run it as the command's only step (with exactly the --only pairs the verify gate names, if any), at most piped into tail, head or grep; its output is already short, and the verify gate doesn't credit a chained or cd … && run, or one that writes its output inside the project.

Subagent per task (when the user chose it)

For each task:

  1. Dispatch the kit's implementer agent with only what it needs: the task text verbatim, the Interfaces it consumes, the global constraints, the verification commands, and the instruction "follow TDD; report DONE, DONE_WITH_CONCERNS, NEEDS_CONTEXT or BLOCKED with the commands you ran".
  2. Don't trust the report. Check git diff BASE..HEAD and run the tests yourself.
  3. Dispatch a fresh reviewer agent using ../requesting-code-review/reviewer-prompt.md on BASE..HEAD.
  4. Have the implementer fix Critical and Important findings (resume the same agent, so it keeps its context), then re-review. After 3 rounds without convergence, stop and ask the user.

Run implementers sequentially, one at a time on the same tree. For independent read-only work, see dispatching-parallel-agents.

Finish

The final review is the last step before landing, because a verdict covers exactly the commit it reviewed.

  1. Docs: do the plan's Post-implementation block, plus anything else the diff made stale (writing-documentation), in this branch.
  2. Task file: an unticked - [ ] in its Plan is a step not done: tell the user which and why, and add it to Follow-ups. Move what lasts into the topic chapter and docs/decisions/ (writing-documentation), show the user the Follow-ups, then delete the file in one commit (docs: remove the task file for <feature>). The guard blocks a PR or merge while it exists.
  3. If the branch must be rebased onto a newer base, do it now.
  4. Apply verification-before-completion.
  5. Review the whole branch on this HEAD with requesting-code-review, with the plan's Review focus and the rulings from the task file's last commit. Fix Critical and Important findings with RED→GREEN, and re-review until Yes for the current HEAD. Report Minor findings.
  6. Use the finishing section of git-workflow. Any change after the Yes (a commit, an amend, a rebase) needs a new review first.

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.