---
name: managing-parallel-coding-tasks-across-git-worktrees
description: "Runs multiple coding tasks concurrently in isolated git worktrees, performs edits and tests inside each worktree, and reviews code diffs before merge. Use when several programming tasks must progress in parallel without workspace conflicts."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/managing-parallel-coding-tasks-across-git-worktrees/"
  kind: skill
  hermes:
    tags: ["git", "terminal", "tmux", "worktrees", "code review"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Managing parallel coding tasks across git worktrees

Run multiple coding tasks concurrently in isolated worktrees and review diffs before merging

## When to use

Coordinate multiple development tasks at the same time by spinning up separate git worktrees and terminal environments. Track progress across independent branches, monitor command outputs, and prepare code changes for review without workspace conflicts.

## Inputs

- `coding_task_prompt`: The programming task or coding request the agent should work on in an isolated worktree.

## Steps

1. When you ask: Submit coding task prompt (A person submits a coding task prompt in chat.)
2. Create isolated worktree branch
3. Request approval to merge or open PR

## Instructions

When assigned a programming task, create a separate git worktree and branch for the work. Execute edits and tests inside the isolated environment, tracking progress and inspecting code diffs. Always present a summary of changes and test results to the user. Do not merge into base branches, push to remote repositories, open pull requests, or delete worktrees without explicit user confirmation.

## Approvals

- Merging changes into base branches requires explicit user confirmation.
- Pushing to remote repositories requires explicit user confirmation.
- Opening pull requests requires explicit user confirmation.
- Deleting worktrees requires explicit user confirmation.

## Output

Summary of code changes and test results presented to the user for review. (format: chat_message)

## Source

Summarized in our own words from [dmux: A dev agent multiplexer for git worktrees and coding agents.](https://github.com/standardagents/dmux) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/managing-parallel-coding-tasks-across-git-worktrees/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
