Skip to content

ghs-orchestrate

Run a full maintenance pipeline across repositories --- update, scan, fix, review, merge, sync, and optionally release.

Skill Info

Version: 1.0.0 Arguments: [owner/repo...] [--stages pull,scan,fix,review,merge,sync,release] [--dry-run] [--resume]Trigger phrases: "orchestrate", "run pipeline", "maintain my repos", "full pipeline", "scan and fix all repos", "process all repos", "pipeline for {repo}", "maintenance run", "end-to-end maintenance"

What It Does

ghs-orchestrate chains existing ghs-skills into a sequential pipeline for end-to-end repository maintenance. It manages the lifecycle across one or many repositories, with human checkpoints before destructive stages and state issue-based resume from interruption.

Pipeline Stages

StageSkillDestructive?Checkpoint?
pullghs-repos-pullNoNo
scanghs-repo-scanNoNo
fixghs-backlog-fixYes (creates PRs)Yes
reviewghs-review-prNoNo
mergeghs-merge-prsYes (merges PRs)Yes
syncghs-backlog-syncNoNo
releaseghs-releaseYes (creates tag)Yes

Stages 3 (fix), 5 (merge), and 7 (release) are destructive and require human confirmation unless --no-checkpoint is set.

Scope Boundary

Only orchestrates --- delegates all work to existing skills. Never directly modifies code, creates PRs, or calls the GitHub API for mutations.

Process

  1. Parse input --- Determine repo list, stage range, and flags
  2. Pre-flight --- Verify auth, git, skill availability, archived repos
  3. Load state --- Read state issue (GitHub Issue with ghs:state label) for resume from previous runs
  4. Show plan --- Display pipeline plan, wait for confirmation
  5. Execute --- Process each repo sequentially through pipeline stages
  6. Write state --- Update state issue with session results
  7. Summary --- Final dashboard with all repos and their status

Input Modes

ModeTriggerExample
Multi-repo (all)"maintain my repos"Process all repos with a GitHub Project
Multi-repo (list)"pipeline for repo1, repo2"Process specified repos
Single-repo"pipeline for owner/repo"Full pipeline for one repo
Partial pipeline--from scan --to fixOnly run stages in range

Flags

FlagDefaultEffect
--dry-runoffShow plan without executing
--releaseoffInclude the release stage (opt-in)
--no-checkpointoffSkip confirmation before destructive stages
--from {stage}pullStart pipeline at this stage
--to {stage}syncStop pipeline after this stage

Example

## Pipeline: Multi-Repo Maintenance

Mode: multi-repo (2 repos)
Stages: pull -> scan -> fix -> merge -> sync

| Repo | pull | scan | fix | review | merge | sync | Status |
|------|------|------|-----|--------|-------|------|--------|
| phmatray/Formidable | [PASS] | [PASS] 8 items | [PASS] 5 fixed, 3 PRs | [PASS] | [PASS] 3 merged | [PASS] | Complete |
| phmatray/OtherRepo | [PASS] | [PASS] 0 items | --- (nothing to fix) | --- | --- | [PASS] | Complete |

---

Summary:
  Repos processed: 2
  Fully completed: 2
  PRs created: 3
  PRs merged: 3

  Score changes:
    phmatray/Formidable: 45% -> 82% (+37)
    phmatray/OtherRepo: 91% (no change)

To view updated dashboard: /ghs-backlog-board

Resume from Interruption

If a previous pipeline run was interrupted, the state issue enables resume:

Previous orchestration run detected for phmatray/Formidable:
  Started: 2026-02-28
  Completed stages: pull, scan
  Next stage: fix

Resume from fix? (y/resume/fresh)

Routes To

Routes From

Technical Details

PropertyValue
Allowed toolsBash(gh:*), Bash(git:*), Read, Write, Edit, Glob, Grep, Skill
Spawns sub-agentsNo --- delegates to individual skills via Skill tool
Stages7 (pull, scan, fix, review, merge, sync, release)
Bias guardsSunk cost, Completion, Automation, Anchoring
Requiresgh CLI (authenticated), git, all ghs-skills, GSD framework (for fix stage)

Released under the MIT License.