Agent Execution with Worktree

Execute Miyabi Agents across isolated Git worktrees for parallel task processing.

Updated Jan 10, 2026
One-click install
npx skills add https://github.com/hiromima/collaborative-canvas --skill agent-execution-with-worktree-hiromima
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Agent Execution with Worktree
Source: https://github.com/hiromima/collaborative-canvas/tree/main/.claude/skills/agent-execution
Command: npx skills add https://github.com/hiromima/collaborative-canvas --skill agent-execution-with-worktree-hiromima

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Miyabi agents require isolated environments to enable parallel processing without conflicts and interference. This Skill enables executing multiple agents (Coordinator, CodeGen, Review, Deployment, PR, and Issue) using Git worktrees to provide isolation and safe concurrency during task processing.

Core Features & Use Cases

  • Isolated worktree-based agent execution for parallel task handling.
  • Clear workflow from issue intake to code generation, review, PR creation, and merge.
  • Use cases include processing multiple issues or large task sets that benefit from concurrency.

Quick Start

Launch the coordinator and associated agents for a given issue or a set of issues using separate git worktrees.

Frequently Asked Questions about Agent Execution with Worktree

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

FAQPage Schema
How do I run multiple agents in parallel without file conflicts?

Git worktree isolation enables parallel agent execution by providing each task with a separate working directory, preventing conflicts and interference during concurrent processing.

How does git worktree isolation work for concurrent agent task processing?

Git worktree isolation creates separate working directories for each agent, allowing the Coordinator, CodeGen, Review, and Deployment agents to operate concurrently and safely merge results without interference.

Can I process multiple issues concurrently using git worktrees?

Yes, you can process multiple issues concurrently by launching the coordinator and associated agents across separate git worktrees, managing the full lifecycle from intake to PR creation and merge.

What is the workflow for parallel code generation and review across git worktrees?

The workflow spans issue intake, isolated code generation, review, PR creation, and merging, using per-worktree context setup and defined coordination flows to complete tasks concurrently.

Do I need to manage the git worktree lifecycle manually when running agents?

The process requires worktree lifecycle management and per-worktree context setup to properly coordinate merging and PR creation as agents complete their concurrent tasks.

When should I avoid using parallel agent execution with git worktrees?

Parallel worktree execution is suited for large task sets or multiple issues benefiting from concurrency; it is not optimal for single, sequential tasks where isolated environments are unnecessary.