git-worktree-develop

Coordinate parallel feature development with git worktrees and a shared base branch.

11|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/Takazudo/claude-resources --skill git-worktree-develop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree-develop
Source: https://github.com/Takazudo/claude-resources/tree/main/skills/git-worktree-develop
Command: npx skills add https://github.com/Takazudo/claude-resources --skill git-worktree-develop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate parallel development of multiple features using git worktrees with a shared base branch. This approach enables you to split related work into topics, manage a manager session to coordinate child sessions, and orchestrate topic PRs into a base branch before merging to main.

Core Features & Use Cases

  • Base branch creation from main
  • Worktree initialization for each topic
  • Topic branch management with PRs targeting the base branch
  • Manager/child session coordination and root PR flow
  • Environment setup and cleanup steps between topics and root PR
  • Use Case: a project with 3 concurrent topics that share a base branch and need consolidated root PR

Quick Start

From the repo root, initialize the base branch, create worktrees for each topic, and start Claude Code sessions in each worktree.

Frequently Asked Questions about git-worktree-develop

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

FAQPage Schema
How do I manage parallel feature development using git worktrees with a shared base branch?

Managing parallel development with git worktrees involves creating a shared base branch from main, initializing separate worktrees for each topic, and coordinating topic PRs into that base branch before merging to main.

What is a manager and child session workflow for coordinating multiple git topic branches?

A manager and child session workflow uses a central manager session to coordinate multiple child sessions, each running in its own git worktree. The manager orchestrates topic PRs into a shared base branch before merging the consolidated root PR to main.

How do I set up multiple git worktrees for concurrent topic branches from a single base?

Setting up multiple git worktrees starts by initializing a base branch from main, then creating an isolated worktree for each topic branch. Environment setup and cleanup steps are handled between topics and the final root PR.

Can I split related work into topics and consolidate them into one root pull request before merging to main?

Yes, you can split related work into topics by managing individual topic branches in separate worktrees, then coordinating their topic PRs into a shared base branch to form a single consolidated root PR before merging to main.

What is the best way to coordinate several pull requests targeting a shared base branch in git?

The best way to coordinate several PRs targeting a shared base branch is using a manager session to orchestrate child sessions in separate worktrees, managing each topic branch lifecycle and merging them into the base before the final root PR.

Do I need any special dependencies to run a git worktree workflow for topic branch management?

No special dependencies are required to run this git worktree workflow. It relies on standard git worktree functionality to manage topic branches, coordinate PRs, and handle environment setup and cleanup without external dependencies.