agents/skills/orchestrator

Orchestrate delegated implementation across isolated git worktrees with bead tracking and merge cleanup.

8|1|Updated Jan 21, 2024
One-click install
npx skills add https://github.com/azigler/dotfiles --skill agents-skills-orchestrator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agents/skills/orchestrator
Source: https://github.com/azigler/dotfiles/tree/main/agents/skills/orchestrator
Command: npx skills add https://github.com/azigler/dotfiles --skill agents-skills-orchestrator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the complexity and fragility of orchestrating multiple isolated “worktree subagents” while keeping bead/task state consistent and ensuring merges and cleanup happen against the correct branches.

Core Features & Use Cases

  • Worktree-first delegation: coordinates subagents that do not directly implement changes, keeping implementation isolated and trackable.
  • Bead lifecycle control: creates beads, updates status, and closes/commits bead state so tracking remains reliable across parallel work.
  • Robust merge + cleanup sequence: enforces correct merge semantics, safety checks, and deterministic removal of temporary branches/worktrees.
  • Failure-mode guardrails: includes explicit handling for cwd/worktree re-anchoring and cross-repo dispatch/worktree placement issues.

Quick Start

Ask the orchestrator to delegate implementation to worktree subagents, then merge each worktree-agent branch into the intended version branch and close the associated beads using the prescribed lifecycle steps.

Frequently Asked Questions about agents/skills/orchestrator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate parallel agents working in separate git worktrees?

Coordinate parallel agents in separate git worktrees by using an orchestrator that delegates implementation to isolated worktree subagents, tracks bead lifecycle status centrally, and enforces deterministic merge-close-commit-remove cleanup flows for each branch.

What is the safest way to merge worktree subagent branches into a version branch?

The safest way to merge worktree subagent branches is through a deterministic merge-close-commit-remove flow that applies safety checks before merging, closes associated beads, commits bead state, and then removes temporary branches and worktrees.

How do git worktree subagents handle bead lifecycle tracking during parallel coding?

Git worktree subagents handle bead lifecycle tracking by assigning bead ownership to the orchestrator, which creates beads, updates their status during parallel work, and closes or commits bead state only after a successful merge completes.

What happens if a subagent loses its working directory anchor during worktree orchestration?

If a subagent loses its working directory anchor during worktree orchestration, the orchestrator applies explicit cwd re-anchoring failure-mode guardrails to re-establish the correct working directory before proceeding with merges or branch cleanup.

Can I use worktree subagents for cross-repo dispatch and worktree placement?

Worktree subagents can be used for cross-repo dispatch, but the orchestrator includes explicit failure-mode guardrails to handle cross-repo worktree placement issues, ensuring dispatch targets the correct repository and branch context.

When should I not use a parallel worktree subagent orchestration approach?

You should not use parallel worktree subagent orchestration for single-bead coding workflows or when your project lacks a worktree subagent pattern, as the orchestrator requires multi-bead parallel work and bead lifecycle ownership to function correctly.