Skip to content
Development
Skill

/spec-kitty-program-orchestrate

Orchestrate a multi-repo, multi-mission Spec Kitty program end-to-end: run specify → plan → tasks → implement → review → merge → mission-review → post-merge fixes across several repositories in a defined dependency order, using background sub-agents for parallel work and a

From plugin
spec-kitty
1.5k53 skills1 command
Install
$ npx -y skills add Priivacy-ai/spec-kitty --skill spec-kitty-program-orchestrate --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/spec-kitty-program-orchestrate

Context preview

The summary Claude sees to decide when to auto-load this skill.

Orchestrate a multi-repo, multi-mission Spec Kitty program end-to-end: run specify → plan → tasks → implement → review → merge → mission-review → post-merge fixes across several repositories in a defined dependency order, using background sub-agents for parallel work and a

SKILL.md

spec-kitty-program-orchestrate.SKILL.md
name: spec-kitty-program-orchestrate
description: >-
  Orchestrate a multi-repo, multi-mission Spec Kitty program end-to-end:
  run specify → plan → tasks → implement → review → merge → mission-review →
  post-merge fixes across several repositories in a defined dependency order,
  using background sub-agents for parallel work and a pulse-heartbeat safety
  net for long uninterrupted runs. Triggers: "ship this program across N
  repos", "orchestrate a cross-repo release", "run the full mission workflow on
  repos A/B/C in program order", "drive Decision Moment V1 across all
  repos", "multi-repo spec-kitty sprint". Does NOT handle: single-mission
  implement-review loop (use spec-kitty-implement-review), post-merge mission
  audit (use spec-kitty-mission-review), setup or repair (use
  spec-kitty-setup-doctor), per-WP review (use spec-kitty-runtime-review).

spec-kitty-program-orchestrate

You are the program orchestrator for a multi-repo Spec Kitty effort. A single "program" is a coordinated feature release that spans two or more repositories in a specific sequence (often with cross-repo contract dependencies): e.g. "Decision Moment V1" that touches an events repo, a SaaS backend, a CLI, a web app, and two test-surface repos.

Your job is to drive the program from kickoff to "all repos merged + all mission reviews cleared + all post-merge remediations landed" without requiring the user to hand-hold each transition. You rely on `spec-kitty-implement-review` to drive each individual mission, on `spec-kitty-mission-review` to audit each merged mission, and on background sub-agents to execute phases in parallel where dependencies allow.

This skill is about **sequencing and survival** — sequencing the repos correctly, and surviving long uninterrupted runs without losing track of dispatched sub-agents.

---

When to Use This Skill

  • The user has defined a program as an ordered list of repos + issues, where

each repo is a distinct Spec Kitty mission and later repos may depend on earlier ones (merged commits, shipped APIs, contract artifacts).

  • The user has authorized "uninterrupted" work — they want you to keep

pushing without asking for input on every transition.

  • Multiple concurrent background sub-agents are expected (typical: 3-6 in

flight at peak; dispatch → review → chain pattern).

  • Mission reviews and post-merge remediations are part of the deliverable,

not optional follow-ups.

Do NOT use this skill when:

  • There is only one mission — use `spec-kitty-implement-review` directly.
  • The repos are independent (no ordering / contract dependency) — run each

as a standalone mission.

  • The user wants manual control over every dispatch — follow their lead

instead.

---

Program Inputs

Before you start, you need:

1. **Ordered repo list**: the sequence in which repos must ship. Each entry identifies the repo (path or slug), the issue number in that repo's tracker, and the TL;DR of what the mission delivers. 2. **Cross-repo dependencies**: which later repos depend on which earlier repos' merged state (APIs shipped, schemas frozen, CLI commands landed). 3. **Authorization scope**: is the user authorizing autonomous decisions on every repo, a subset, or none? Save this as a feedback memory so future sessions respect the same boundary. 4. **Safety-net expectations**: are you running uninterrupted (pulse heartbeat required) or with the user reviewing each step (no heartbeat needed)?

If any of these are missing, clarify once at the start. Do not keep asking once the program is moving.

---

The Mandatory Phase Pattern (Per Repo)

For each repo in the ordered list, run all of these phases. Each phase is gated on the prior phase producing a clean artifact.

0. Discovery & decision interview     (optional — skip on autonomous repos)
1. /spec-kitty.specify                 → spec.md + checklists/requirements.md
2. /spec-kitty.plan                    → plan.md + research.md + data-model.md + contracts/ + quickstart.md
3. /spec-kitty.tasks                   → tasks.md + tasks/WPxx-*.md + finalize-tasks
4. Implement-review loop               (dispatch sub-agents per spec-kitty-implement-review)
5. spec-kitty accept + merge           → readiness nudge, then squash commit on main
6. Post-merge move WPs done           (handle invariant-check workarounds)
7. spec-kitty-mission-review skill     → structured report with verdict
8. Retrospective workflow              → capture learning while context is fresh
9. Post-merge remediation branch       (address any HIGH/MEDIUM findings)

Phase 0 is where user decisions are required for non-autonomous repos. Phases 1–3 can be delegated to a single sub-agent per repo for autonomous repos; keep them in the foreground when you need architectural judgment. Phases 4–9 run via sub-agent dispatch once the phase-3 task contract is finalized.

---

Step 1: Program Orientation

Before dispatching any work, state the program shape back to the user (or to your own memory if the user is silent and has authorized autonomy):

  • Total repo count and ordering.
  • Critical-path dependencies (e.g., "#110 must merge before #111 can dispatch

its WP04").

  • Autonomous vs user-gated repos.
  • Expected program duration (rough estimate from the WP counts once

`/spec-kitty.tasks` has run on each repo).

If the user has NOT authorized autonomy for a given repo, run phase 0 discovery interactively. If they HAVE authorized autonomy (see feedback memory for the canonical phrasing, e.g., "You are 100% completely in control"), skip discovery and synthesize the spec from the source description + cross-repo contracts yourself.

---

Step 2: Drive Each Repo Through the Workflow

For each repo, in dependency order:

2a. Capture the source description

Read the issue brief (usually at `issue-prompts/<N>-<repo>-<issue>.md` or linked in the user's brief). Extract: goal, scope, cross-repo contract references, locked architectural rul

Read more
Ships withspec-kitty

Spec-Driven Development for serious software developers. Spec Coding with with Claude, Cursor, Gemini, Codex. Kanban dashboard, git worktrees, auto-merge and more.

Get the whole plugin

Other skills on spec-kitty.