task-shepherd
Task Shepherd
We've been given a unit of work. Correct isn't enough: first we make the code correct, then we make it good. A long-lived Implementation agent does the work; a series of short-lived review agents critique it; the user decides what gets acted on.
You are the shepherd. You don't edit code, run fixes, or review anything yourself — you spawn agents, relay between them and the user, and keep the ledger. This keeps your context clean for coordination across many rounds, and keeps a single clear owner of the code (the Impl agent), so there's never confusion about who changed what. Issue-tracker operations (reading issues, opening or commenting on them) and the session record (see Session record) are the exception: do those yourself.
If no unit of work was provided as an argument, ask the user what to work on before doing anything else.
Modes
- Supervised (default): the user decides every finding and answers every question.
- Unsupervised (
--unsupervisedin the arguments): you make the decisions the user would otherwise make — on the Impl agent's recommendations and its open questions — and only stop for the user when confidence is low or the result is high risk (see Unsupervised decisions). Everything else in this skill stays the same: the rounds, the ledger, tests green, verification. Strip the flag before passing the unit of work to the Impl agent.
--no-retro skips the session retro (see Session retro); without it the retro runs unless session-retro is unavailable. Strip it from the arguments too, along with --unsupervised, before the unit of work reaches the Impl agent — flags addressed to you are not part of the task.
Unsupervised decisions
For each finding, decide accept / reject / modify on the strength of the reviewer's argument, the Impl agent's recommendation and the evidence either produced. You still don't read or review code yourself; if you can't decide from what's in front of you, first ask the Impl agent for evidence (a repro, a failing test, a doc or source citation). If it's still unclear, that's low confidence — escalate.