agentleFS
lintangknittolintangknitto/agent-skills/skills/exec-todo/SKILL.md

exec-todo

Skill0 starsChanged 2 months agoMITView on GitHub

Use when the user wants to actually EXECUTE a plan/checklist file's feature items — triggers on "/exec-todo <file-or-slug>", "kerjakan fase X", "lanjutkan todo Y", or being pointed at a plan doc (from prd-grill's PRD+ISSUES pair, or a phase-plan file) to implement. Reads the given file, turns its unchecked feature checklist items into this session's tracked task list, then works through them in order — checking off both the session task list and the markdown checkboxes as each item is verified with cheap checks (tests/type-check/build) run immediately per item. Stops once every feature item is checked off — does NOT dispatch review or run full E2E/manual verification itself; that expensive closing-gate work is deliberately separate (see the `/qa`, `/gate`, `/promote` commands in this collection), so a full test/review pass isn't paid on every invocation. Not a planning skill (see prd-grill/brd-reader for that) — this one implements an already-written plan. Not for executing more than one plan file per invocation.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 8 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If given a path, use it directly — still verify it exists, don't assume.

    line 45
  2. Very specific:

    If given a slug/number/fuzzy name, search this repo's plan-doc location (see prd-grill's output conventions for the two common shapes — …

    line 46
  3. Distinctive:

    If nothing matches, or the match is ambiguous, list the candidates and ask which one — don't guess at scope.

    line 55
  4. Distinctive:

    If no argument was given at all, ask which file rather than defaulting to "whatever looks unfinished."

    line 57
  5. Distinctive:

    Read the resolved file in full before doing anything else — don't act on a partial read or a summary from earlier in the conversation.

    line 60
  6. Very specific:

    If every feature item is already - [x]: don't fabricate work.

    line 72
  7. Distinctive:

    Create the session's tracked task list from the extracted items — one task per checklist line, same order as the document (order matters: …

    line 76
  8. Very specific:

    Do the work. If the item is a genuinely multi-step implementation (not a one-line change), use the incremental-implementation skill's …

    line 94
  9. Very specific:

    Verify it with the cheap checks only — unit tests / type-check / build for the touched area.

    line 100
  10. Distinctive:

    If you discover necessary work that wasn't on the original checklist (e.g.

    line 110
  11. Distinctive:

    If you hit a genuine blocker on one item (ambiguous requirement, needs a user decision), surface it via a choice-style question tool, …

    line 115
  12. Very specific:

    Not a planning tool — it never edits the *plan content* of a file, only its feature checkboxes.

    line 136
  13. Very specific:

    Not a substitute for incremental-implementation/test-driven-development for the actual coding work inside each item — this skill wraps …

    line 140
  14. Very specific:

    Not the review or verification gate — see /gate and /qa for those.

    line 143
  15. Distinctive:

    Not for executing more than one plan file per invocation.

    line 146

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

/exec-todo

Turn a plan/checklist file's feature items into an actively-tracked, actually-implemented piece of work. prd-grill (optionally preceded by brd-reader) writes the plan; exec-todo implements it. See references/project-example.md for a concrete worked example this skill was generalized from.

This skill is deliberately narrow: it stops once feature items are done. It does not run the expensive review/QA-gate or full E2E/manual verification pass — those live in the /qa (verify), /gate (review), and /promote (ship) commands, run as separate, deliberate steps. This split exists because bundling "implement" and "run the full test suite" into one step meant a full test/review pass fired on every single invocation, even for a one-line change — expensive in both time and tokens for no benefit when nothing closing-gate-worthy has accumulated yet.

Usage

/exec-todo <path>              # exact path to the plan/checklist file
/exec-todo <slug or number>    # fuzzy match — resolved in Step 0
/exec-todo                     # no argument: ask which file, don't guess

Step 0 — Resolve the input to exactly one file

  • If given a path, use it directly — still verify it exists, don't assume.
  • If given a slug/number/fuzzy name, search this repo's plan-doc location (see prd-grill's output conventions for the two common shapes — both use a todo/→done/ split: either docs/prd/todo|done/<slug>/ISSUES.md, or a doc/phases/todo|done/... phase file — match whichever this repo actually uses). Prefer a match in the todo/ (still open) location; if the only match is already in done/ (closed), tell the user its checklist is already fully checked and ask whether they meant a different, still-open file — don't silently re-execute a closed plan.
  • If nothing matches, or the match is ambiguous, list the candidates and ask which one — don't guess at scope.
  • If no argument was given at all, ask which file rather than defaulting to "whatever looks unfinished."

Read the resolved file in full before doing anything else — don't act on a partial read or a summary from earlier in the conversation; it may have changed since.

Step 1 — Parse the checklist into a task list

Extract every unchecked - [ ] feature line from the file's checklist section, in document order. Skip lines already - [x], and skip fixed closing items (review-dispatch, full E2E/manual verification, report writing, todo→done move) — those are not this skill's job; the /qa, /gate, and /promote commands own them respectively.

If every feature item is already - [x]: don't fabricate work. Tell the user the feature work is done and point them to whichever of /qa//gate/ /promote still has open closing items in the file.

Create the session's tracked task list from the extracted items — one task per checklist line, same order as the document (order matters: later items genuinely depend on earlier ones). Use whichever task-tracking mechanism this session actually exposes (TaskCreate/TaskUpdate, or an equivalent built-in todo tool) — don't invent an ad hoc scheme (a scratch markdown file, a mental list) when a real tracked list is available; the point is an explicit, inspectable todo that survives context compaction, not prose the model has to re-derive each turn.

Each task's text should stay recognizable against the source checklist line — don't paraphrase away the file/component name it names, so a later checkmark can be matched back to the exact line without re-opening the file.

Step 2 — Work through the list, one task at a time

For each task, in order:

  1. Mark it in-progress in the session task tool.
  2. Do the work. If the item is a genuinely multi-step implementation (not a one-line change), use the incremental-implementation skill's discipline for that item specifically — this skill governs tracking, not how to write the code. For behavior-changing work, test-driven-development governs how the tests get written.
  3. Verify it with the cheap checks only — unit tests / type-check / build for the touched area. Never run a full E2E/manual pass here; that belongs to /qa. Don't check off unverified work.
  4. Mark the task completed in the session tool, and flip the corresponding - [ ] → - [x] in the actual plan file in the same turn — the two must stay in sync. The session task list is ephemeral (gone next conversation); the markdown file is the durable record. If the completed work deviates from the literal checklist wording (different file, reduced scope), still check it off with a short parenthetical note explaining the deviation.
  5. If you discover necessary work that wasn't on the original checklist (e.g. an endpoint a frontend item actually needed), add it as a new task in the session list AND a new checklist line in the file — don't silently fold it into an existing item or omit it.

If you hit a genuine blocker on one item (ambiguous requirement, needs a user decision), surface it via a choice-style question tool, resolve it, then continue — don't silently skip it or reorder around it without saying so.

Step 3 — Stop and hand off

Once every feature item is checked off, stop. Do not dispatch review, do not run E2E/manual verification, do not move the file to done/ — say plainly that feature work is done and the next steps are /qa (full verification), then /gate (review), then /promote (ship/close-out).

Step 4 — Final report

Summarize: what was implemented (by checklist item), cheap test/type-check results, and which closing-gate commands (/qa//gate//promote) still need to run. If something was genuinely left unchecked (blocked, descoped, deferred), say so plainly and point to where that's noted in the file.

What this skill is not

  • Not a planning tool — it never edits the plan content of a file, only its feature checkboxes. Scope changes go through prd-grill's refine flow to produce a new version, not through this skill rewriting the checklist it's executing.
  • Not a substitute for incremental-implementation/test-driven-development for the actual coding work inside each item — this skill wraps those with tracking and file bookkeeping, it doesn't replace their discipline.
  • Not the review or verification gate — see /gate and /qa for those. This skill never dispatches a reviewer agent or runs a full E2E/manual pass itself.
  • Not for executing more than one plan file per invocation.

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.