Skip to content
orkhanfarmanliPublic

About

Claude Code skills that run a ticket set through fresh subagents. Built on Matt Pocock's skills.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orchestra

Three Claude Code skills that take a directory of tickets to reviewed commits.
Then they walk you through whatever still needs a human decision.

The flow in five steps. /to-spec writes spec.md and /to-tickets writes issues/NN-slug.md, both from Matt Pocock's skills. /orchestrator implements, reviews and writes flags.md. /flagman has you decide each flag and writes fixes.md. /fixer implements the agreed fixes, uncommitted.

Skills

Skill Invoked as What it does
orchestrator /orchestra:orchestrator <issues-dir> [model] [--parallel[=N]] Runs one fresh subagent per ticket on the current branch, reviews the whole run, runs fix rounds, and writes what needs you to flags.md. Never pushes or opens a PR.
flagman /orchestra:flagman <path/to/flags.md> Walks flags.md one entry per turn. You answer fix or ignore, and agreed fixes are copied to fixes.md.
fixer /orchestra:fixer <path/to/fixes.md> [model] Implements the agreed fixes in fixes.md with fresh subagents. Commits nothing.

Usage

/orchestra:orchestrator .scratch/<feature-slug>/issues
/orchestra:flagman .scratch/<feature-slug>/flags.md
/orchestra:fixer .scratch/<feature-slug>/fixes.md

The short forms /orchestrator, /flagman and /fixer also work as long as no other command has taken the name.

/orchestrator refuses to start on a dirty working tree, because ticket agents commit. --parallel runs up to N tickets at once in git worktrees and is described in PARALLEL.md.

Why these exist

Matt Pocock's skills produce the spec and the tickets, and his implement skill builds one piece of work from them. These three skills cover what was still done by hand around that.

  • Running a whole ticket set. /orchestrator works through every ticket in dependency order, with one fresh subagent per ticket, and verifies each one's commits before starting the next.
  • A correctness review on top of the spec review. Matt's code-review checks the work against the spec and the repo's standards. Code can pass that and still be wrong, so every ticket and the run as a whole also get Claude Code's built-in correctness review.
  • A short list for the human. Early runs put every review finding into flags.md. Fix rounds now settle the findings that have one obvious fix, so what remains is what needs your input.
  • One decision per turn. Going over flags.md by hand in a new session every time became /flagman, which gives a summary and a recommendation for each entry and asks fix or ignore.
  • Deciding apart from fixing. /flagman only evaluates and records what you agreed to. /fixer implements those fixes afterwards with fresh subagents.
  • A history of the feature. flags.md keeps every finding, marked [fixed], [refused] or [agreed], and a corrected spec or ticket line keeps its old text as [was: ...].

Prerequisites

Matt Pocock's skills (required)

Important

This flow is built on top of mattpocock/skills and does not run without them.

/orchestrator reaches them in two ways, so both have to be in place.

  1. The Claude Code plugin. Ticket agents call mattpocock-skills:tdd and mattpocock-skills:code-review by their plugin names. They read the implement skill's file from the plugin's install directory, because a subagent cannot expand /implement.

    claude plugin install mattpocock-skills@claude-plugins-official
  2. Tickets in his local-markdown layout. Run /setup-matt-pocock-skills once per repo and pick local files as the issue tracker, then produce the spec with /to-spec and the tickets with /to-tickets. That gives /orchestrator what it expects:

    .scratch/<feature-slug>/spec.md
    .scratch/<feature-slug>/issues/<NN>-<slug>.md    **Status:** ready-for-agent, **Blocked by:** ...
    

Also required

  • Claude Code's built-in code-review skill, which the correctness reviews call at xhigh.

Install

claude plugin marketplace add orkhanfarmanli/orchestra
claude plugin install orchestra@orkhanfarmanli

Updates are off until you turn them on once. Run /plugin, open Marketplaces, select orkhanfarmanli and turn on auto-update. From then on every push to this repo reaches you in the background. Without it, pull the latest with:

claude plugin update orchestra@orkhanfarmanli

If you installed these skills with npx skills before, remove those copies. They no longer update, and a stale flagman or fixer in ~/.claude/skills/ keeps the short name for itself.

npx skills@latest remove orchestrate flagman fixer -g

About

Claude Code skills that run a ticket set through fresh subagents. Built on Matt Pocock's skills.

Resources

Stars

10 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors