orchestrate-implementation
Skill1 starsChanged 56 days agoMITView on GitHub
Use when an approved ticket graph from /to-tickets is ready to build and each ticket should become its own reviewed pull request. Use when asked to run a ticket set, work a spec's tickets end to end, or take an approved graph from tickets to merged.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AlexaDeWit/skillstheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- AlexaDeWit/skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository7 other files it gives its agents.
- bb-worker-protocolSkill
- codebase-docs-cleanupSkill
- land-stackSkill
- review-fix-loopSkill
- run-statusSkill
- show-meSkill
- verify-landingSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 0 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Run Matt Pocock's /to-spec and /to-tickets output.
- Very specific: line 18
Read ../bb-worker-protocol/references/example-run.md once before the first ticket: it walks a three-ticket run with the real values at …
- Very specific: line 23
Keep work serial. One orchestrator-spawned BB worker is active at a time.
- Very specific: line 33
Leave a ticket open or in review until its PR merges.
- Very specific: line 58
Use bb-cli to resolve the project, provider, target branch, remote, clean committed HEAD, tracker, Spec, tickets, blocking edges, and …
- Very specific: line 72
Verify bb-cli, implement, diagnosing-bugs, tdd, code-review, review-fix-loop, show-me, gh-axi, authenticated push and PR access, and …
- Very specific: line 117
Every acceptance criterion reconciled, with its evidence in criteria[].
- Very specific: line 127
If push or PR creation fails, pause first.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Orchestrate Implementation
Run Matt Pocock's /to-spec and /to-tickets output. One ticket owns one
branch, one managed worktree, one review-fix gate, and one pull request. Every
phase runs in its own visible BB thread so the run is watchable from the IDE:
implementation, review, checks, fixes, and PR work never share a thread, but
share the ticket's worktree. Each next worktree chains from the previous
ticket's accepted head. Send raw bugs through /triage first; if a bare Spec
needs several contexts, pause and ask the user to run /to-tickets.
Read ../bb-worker-protocol/references/example-run.md once before the first
ticket: it walks a three-ticket run with the real values at every gate.
Contract
- Keep work serial. One orchestrator-spawned BB worker is active at a time;
/code-reviewmay create only its required Standards and Spec subagents. These gates are mechanical, not policy: nobody's authority exempts a run from them, and an offer to take the blame does not change what merges. - Pin the graph, target branch, and each
ticket-base. Mutating workers commit and leave a clean tree; reviewers and checkers preserve it. Verify every worker claim in the worktree before recording it. - Opening a draft PR and pushing its branch are this skill's. Merging, closing
tickets, and archiving environments belong to
land-stack, which--landinvokes once the whole graph is accepted. Deploying stays out. - Leave a ticket open or
in reviewuntil its PR merges; implementation and review passing is not a reason to close it. Scope is its acceptance criteria, and the parent Spec stays unchanged. - Cross-ticket integration belongs to an explicit approved ticket. Do not make an implicit cumulative implementation or final mega-PR.
- Open every turn with the PR check sweep in
../bb-worker-protocol/references/pr-stack.md.
References
../bb-worker-protocol/SKILL.md indexes the shared runtime:
../bb-worker-protocol/references/bb-workers.md for one worker,
../bb-worker-protocol/references/run-lifecycle.md for what happens between
turns. This skill adds references/worker-prompts.md for worker prompts and
references/recovery.md for older single-branch runs.
Modes
status prints the ledger and takes no action, rendered per /run-status: one
row per ticket with its state, PR, checks, environment, and the current pause,
then the landable line from Finish. resume continues a paused run; --land
invokes /land-stack once the run is finished.
Prepare
- Use
bb-clito resolve the project, provider, target branch, remote, clean committedHEAD, tracker, Spec, tickets, blocking edges, and current PRs. Freeze the graph; pause on tickets not ready-for-agent, missing edges, cycles, or a ticket without acceptance criteria. - Resolve
validationper../bb-worker-protocol/references/validation.md. Record the command; run it yourself after every mutating worker, and list the time-shaped tickets inrepeat_validation. - Capture
ci_baselinewith the command in../bb-worker-protocol/references/pr-stack.md. A PR failure named there is inherited, not caused, and never blocks this run; without it a red repository reads as a red ticket and strands the stack. - Snapshot the approved artifacts once, write the run ledger, and arm the
[watchdog]tell fromrun-lifecycle.md.resume, or an existing ledger at start, reconciles it with BB, Git, GitHub, and the tracker first. - Verify
bb-cli,implement,diagnosing-bugs,tdd,code-review,review-fix-loop,show-me,gh-axi, authenticated push and PR access, andbb-worker-protocol's Dependencies table. Leave unrelated source checkout changes untouched.
Start a ticket
Choose the first ready ticket in published dependency order, then branch it so
each PR keeps a one-ticket diff. The first ticket branches from the target
branch. Each later ticket branches from the exact accepted head of the previous
ticket, and its PR targets that previous ticket branch. Create a managed
environment at that base and record ticket-base, pr-base, and
ticket-branch; a dirty or drifting base must be reconciled before branching.
Gates
Planned behavior or a known fix uses /implement; a hard, unexplained,
intermittent, or performance defect uses /diagnosing-bugs. Each gate below is
a list of required lines, and a line you did not check is a line that failed.
Gate 1 — accept a mutating worker
HEADdescends fromticket-base(git merge-base --is-ancestor).git rev-list --count <ticket-base>..HEADis at least 1.- The tree is clean:
workStatus.workingTree.hasUncommittedChangesis false. validationexited 0 when you ran it, not when the worker reported it.- Diagnosis only: a tight red reproduction, a supported cause, cleanup, and a
regression test at an approved seam. With no sound seam, record an
/improve-codebase-architecturefollow-up instead of a shallow test.
Gate 2 — record the review-fix gate
Apply review-fix-loop directly in this orchestrator at ticket-base; do not
spawn a loop coordinator. Then:
LOOP_GATE.verdictisPASS, written intotickets.<id>.loop.gate.- Open confirmed findings are zero.
validationexited 0 at the loop'sfinal_head, and the tree is clean.
A skipped Spec axis, a paused loop, or an absent verdict blocks the PR, because an unwritten gate is a skipped gate: neither a finished loop nor a zero burden says which axes ran.
Gate 3 — open the PR
- Every acceptance criterion reconciled, with its evidence in
criteria[]. pr-base...HEADcontains only this ticket.- A fresh PR worker pushed the exact clean head and opened the draft PR.
- Its remote head equals the reviewed
HEAD, its base equalspr-base, and its URL is recorded. - Checks recorded per
../bb-worker-protocol/references/pr-stack.md; mark the PR ready once it passes net ofci_baseline, and pause on a failing check the ticket broke. - Set the tracker to
in reviewbefore the next ticket chains from this head.
If push or PR creation fails, pause first. An older single-branch run instead
follows references/recovery.md.
Rationalizations
| Excuse | Reality |
| "The worker reported validation passed" | A footer is a claim. Gate 1 line 4 is yours to run. |
| "The loop finished, so the gate passed" | finished does not name the axes. Only a written LOOP_GATE.verdict: PASS does. |
| "Spec returned no findings, so both axes passed" | Only if Spec actually ran. A skipped axis is reported skipped. |
| "These two tickets are tiny, one PR is cleaner" | A two-ticket PR cannot be reverted per ticket, and its review cannot cite one spec. |
| "The last ticket needs the others, so I'll branch from main and fold them in" | That is the mega-PR. Chain from the previous accepted head. |
| "Implementation and review both passed, the ticket is done" | Done is merged. Until then it is in review. |
| "The review found nothing; one more review to be sure" | /code-review is nondeterministic. Rerunning it buys noise, not confidence. |
| "Nothing is pending, I'll end the turn" | Ending with work left and nothing queued strands the run. Queue the continuation. |
| "That check was already red before my change" | True only if it is in ci_baseline. Without one, you do not know. |
| "I'm out of context, I'll fork myself to continue" | A fork inherits the exhausted context. Relay to a fresh thread with the ledger. |
| "They own the repo, read both diffs, and will take the blame" | Blame is not the constraint. Chained worktrees and PR bases are. Relay the risk and hold the gate; if they want it overridden, they can say so as an instruction to change the plan, not as cover for skipping one. |
| "They said they'd reopen the issue / revert it if it goes wrong" | A reversible mistake is still a wrong ledger between now and the reversal, and the next ticket chains off it. Cheap to undo is not a reason to do. |
Red flags — stop
- About to open a PR whose diff spans two ticket IDs
- About to close a ticket whose PR is not merged
- About to record a
validation: PASSyou read rather than ran - About to spawn a second worker while one is still active
- About to rerun
/code-reviewon an unchanged head - About to
bb thread archivea worker in a managed worktree - About to relax a gate because the person asking outranks you
Finish
Report ticket order, bases, environments, branches, commits, validation,
review-fix results, check status, tracker state, and the ordered PR stack. Every
accepted ticket must have one PR URL. End with one landable line: LANDABLE: yes
when every ticket is accepted with a green PR, or LANDABLE: no, <pr> <reason>
naming the first PR that blocks it. On yes, run /land-stack when --land was
given; otherwise tell the user that one command merges the stack, closes the
tickets, and removes the worktrees.
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
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.

