AI coding agents are fast. Left alone, they are also fast at the wrong things: they widen the diff, skip the unglamorous half of a change (migrations, callers, existing data), and call themselves done because the tests they wrote are green. Review turns into archaeology.
The fix is not a smarter model or another project management tool. It is the discipline senior engineers already use: lock the scope, survey before you plan, settle decisions before anyone builds, ship in small verifiable pieces, and keep one honest board.
I packaged that discipline into two open agent skills, plan-work and do-work, collectively called wbs-monitor. You plan the whole job once. The agent delivers it, fast and exactly to scope, with GitHub as the single source of truth.
The one rule everything hangs on: the scope lock
Both skills start from the same rule. The ask is the scope. It is written down verbatim at the top of the plan and the epic, and every piece of work must trace back to it.
Anything else the agent finds along the way (an adjacent bug, a cleanup, a "while I'm here") goes on a one-line Noticed, not planned list with file:line. It never becomes a task unless you promote it. Not the agent, not a subagent, not a reviewer. You.
That single rule kills scope creep, which is the biggest reason agent work is slow to review.
plan-work: plan like a senior engineer
plan-work turns a task, an ask or a GitHub issue into the smallest plan that delivers exactly what was asked. It writes no code. It runs five gates:
- Triage. Is this real? Is it a duplicate? Which size tier is it: a single work package, a small epic or a large epic? Ceremony scales with size. A two-hour fix never gets a WBS.
- Scope. The outcome as a user would see it, acceptance criteria you can check without reading the diff, and an explicit out of scope list.
-
Survey. The agent opens the codebase instead of guessing. What already exists? What gets touched? Who calls it, who reads it, what existing data breaks? Everything is recorded with
file:line, plus how to run and check the system. - Decide. Every choice that changes the code is asked now, in one batch, with a recommended option. No silent assumptions for a builder to trip over later.
- Decompose. The work is split into leaves, and each leaf is one PR.
What makes a good leaf
Leaves are sliced by capability, not layer. "Schedule a message through the API" (table, endpoint and worker together) is a leaf. "Add a column", "write a worker" and "add an endpoint" are three partial steps that deliver nothing until the last one lands.
Every leaf carries:
| Field | Why it matters |
|---|---|
WBS id, e.g. [1.2]
|
Stable reference for people and agents |
| Trace | Which sentence of the ask it serves |
| Delivers | What someone can do after it merges, on its own |
| Touches | The exact files, so leaves with no overlap can run in parallel |
| Size | S or M. Anything bigger is split |
| Acceptance criteria | Observable, not "code looks right" |
| Pass when | One command or action that can fail |
| Depends on | Hard predecessors, by WBS id |
Safe for running systems
Before the plan adds a migration, env var, job, queue or dependency, it searches for one that already serves and writes down why it does not. Changes to shared state are additive by default: old code runs on the new schema, and new code boots without the new setting. Anything destructive (a drop, a rename, a required env var) needs your explicit answer and a written rollback.
Then it ships the plan
You confirm a summary that fits on one screen. plan-work then opens one GitHub epic with native sub-issues (not a markdown checklist), real blocked_by relationships, and runs a post-create audit so every leaf is actually buildable.
do-work: deliver fast and exactly to scope
do-work takes a local plan file, a single GitHub issue or a whole epic. Speed comes from fewer handoffs, not more agents.
It states the cost first. Two lines: the phases, how each is verified, and an estimate in minutes.
Then it runs one tight loop per phase:
- Re-check the code the phase names. If the plan contradicts reality, stop and report instead of improvising.
- Write the code in the main session.
- Verify with the leaf's
Pass whencheck, in the running system. It names what would fail the check before running it, and a pass on code that was not restarted does not count. - Mark it verified, report one line, move on.
It does not stop to ask "shall I continue?" between phases. It runs to completion unless a real stop condition fires: the plan contradicts the code, a decision is missing, something destructive or outward facing is next, or the same check fails twice.
Built for speed without chaos
- Read in parallel, write in one place. Subagents explore many files at once. Code that shares files is written by one context, so there are no merge fights.
- Targeted checks. One check per observable phase. Never the full test suite by default.
- One review pass at most, and only for money, permissions, shared contracts or destructive data. Reviews can never add scope.
- Never trust an agent's "pass". Claims are re-checked before anything is marked verified.
Campaign mode: hand it a whole epic
Give do-work an epic and it drives the whole programme, even across repos:
- It derives progress from GitHub every cycle. There is no local state file, so a killed run leaves nothing to repair, and what you see on the board is exactly what the agent sees.
- It computes the ready frontier (predecessors done, criteria present), runs a wave of leaves in parallel, and keeps its context small no matter how many leaves there are.
- A merge gate re-runs each leaf's
Pass whencheck on the PR head before merging it into the epic branch. A diff that touches a migration, env or dependency file the leaf did not list does not merge. - If one leaf fails, it is parked with a reason, and everything that does not depend on it keeps moving.
- It cleans up as it goes: merged leaves leave no worktree, local branch or remote branch behind.
The epic lands as one PR into develop. That is the one place the work waits for a human.
GitHub is the monitor
No custom dashboard, no shadow spreadsheet, no agent-only memory:
- Issues carry the definition of done.
- Sub-issues carry progress.
- The project board carries flow: Backlog, Ready, In progress, In review, Done. If a run aborts, the agent releases the card, so the queue never looks busy when it is stuck.
-
Dependencies (
Depends on 1.1,Blocked by #N) are readable by people and agents alike. - Pull requests carry the evidence and the human review gate.
If it is not on GitHub, it is not the plan of record.
Try it
The skills are MIT licensed and work with Claude Code, Cursor and other agents that load SKILL.md folders:
git clone https://github.com/eddiegulay/wbs-monitor.git /tmp/wbs-monitor
mkdir -p ~/.claude/skills
rsync -a --delete /tmp/wbs-monitor/plan-work/ ~/.claude/skills/plan-work/
rsync -a --delete /tmp/wbs-monitor/do-work/ ~/.claude/skills/do-work/
Then:
Use plan-work on https://github.com/ORG/REPO/issues/123- Approve the plan.
-
Use do-work on #<epic>and watch the board move.
They are also listed on Agensi if you prefer installing from a marketplace.
You will know it is working when the board moves without a standup to reconstruct it, when every PR maps cleanly to one leaf, and when "done" means a human checked the criteria against the running system, not just against a diff the agent wrote.
If you try it, I would love to hear what breaks. Issues and PRs are welcome on GitHub.
Top comments (0)