parallel-dispatch-merge

Merge parallel worktree branches into main using DAG-derived ordering.

150|48|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/irahardianto/awesome-agv --skill parallel-dispatch-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: parallel-dispatch-merge
Source: https://github.com/irahardianto/awesome-agv/tree/main/.agents/skills/parallel-dispatch-merge
Command: npx skills add https://github.com/irahardianto/awesome-agv --skill parallel-dispatch-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents broken or conflict-prone merges when an orchestrator runs multiple worktree branches in parallel and then needs to integrate them back into main reliably.

Core Features & Use Cases

  • Deterministic merge ordering from a DAG: merges dependency-required branches first to preserve downstream correctness.
  • Quality-gated sequential integration: runs an explicit quality gate after each merge so failures stop the pipeline early and attribute fixes to the right scope.
  • Clear conflict classification and resolution workflow: distinguishes textual, semantic, structural, and integration conflicts to apply the right strategy.
  • Worktree naming convention for multi-instance dispatches: enforces scope-qualified worktrees like .wt/<agent>-<scope> to keep parallel instances unambiguous.
  • Read-only node handling: documents how read-only nodes pass findings forward without requiring merge steps.

Quick Start

Use the parallel-dispatch-merge skill when your agent runs N parallel worktree branches and you need to merge them back into main in dependency order with a quality gate after each merge.

Frequently Asked Questions about parallel-dispatch-merge

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

FAQPage Schema
How do I safely merge parallel git worktree branches back into main?

Git worktrees keep parallel feature branches isolated in separate directories, but merging them sequentially requires DAG-derived dependency ordering and per-branch quality gates to prevent integration conflicts and broken builds in main.

What is the best way to resolve conflicts when integrating multiple feature branches sequentially?

Sequential feature branch integration requires classifying conflicts into textual, semantic, structural, and integration categories to apply targeted resolution strategies, ensuring downstream branches merge cleanly against the updated main branch.

How do I stop a CI workflow early when a parallel branch merge fails quality gates?

Enforce an explicit quality gate after each sequential merge to stop the CI workflow early when a parallel branch fails validation, attributing the failure to the correct scope and preventing downstream broken merges.

How should I name parallel git worktrees for multi-instance agent dispatches?

Use a scope-qualified naming convention like .wt/<agent>-<scope> to keep parallel agent worktree instances unambiguous, ensuring clear ownership and reliable cleanup after sequential merges complete.

Does DAG ordering matter when merging parallel integration branches?

DAG ordering matters because it ensures dependency-required branches merge first, preserving downstream correctness and preventing semantic or structural conflicts when multiple integration branches are combined into main.

How are read-only nodes handled during parallel branch dispatch and merge?

Read-only nodes pass findings forward to dependent branches without requiring a merge step, allowing them to contribute analysis results to the pipeline while excluding them from the sequential squash-merge workflow.