git-worktree

Create isolated Git worktrees for parallel branch work with naming and safety checks.

144|16|Updated May 3, 2026
One-click install
npx skills add https://github.com/Terry-Mao/AICodingFlow --skill git-worktree-terry-mao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree
Source: https://github.com/Terry-Mao/AICodingFlow/tree/main/.agents/skills/git-worktree
Command: npx skills add https://github.com/Terry-Mao/AICodingFlow --skill git-worktree-terry-mao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Manages the creation and management of isolated Git worktrees, streamlining parallel branch operations and ensuring efficient naming, base selection, and safety checks.

Core Features & Use Cases

  • Isolated Worktrees: Creates separate worktrees for parallel tasks without affecting the main repository.
  • Efficient Naming: Utilizes standardized naming conventions for worktrees based on issue IDs and branch types.
  • Safety Checks: Performs checks for existing branches, worktrees, and directories before creating a new one.
  • Use Case: For a developer working on multiple features in parallel, this skill ensures each feature has its own isolated environment, maintaining the integrity of the main branch.

Quick Start

Create a new worktree for the 'feat/search-123' branch using the 'git-worktree' skill.

Frequently Asked Questions about git-worktree

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

FAQPage Schema
How do I create isolated Git worktrees for parallel branch work?

To create isolated Git worktrees, the skill generates separate working directories for parallel tasks, utilizing standardized naming conventions based on issue IDs and branch types to maintain main branch integrity.

What is the best way to manage multiple Git branches in parallel without conflicts?

Managing multiple Git branches in parallel is achieved by creating isolated worktrees, which provides separate environments for each feature while ensuring the main repository remains unaffected by concurrent development.

How do Git worktree safety checks prevent branch naming or directory conflicts?

Git worktree safety checks prevent conflicts by verifying existing branches, worktrees, and directories before creation, ensuring safe and efficient base selection and standardized naming based on issue IDs.

Can I use Git worktrees for parallel development on multiple features simultaneously?

Yes, you can use Git worktrees for parallel development. This skill ensures each feature gets an isolated environment with efficient naming and safety checks, maintaining the integrity of the main branch.

Do I need specific branch naming conventions to use Git worktree functionality?

Yes, Git worktree functionality requires specific branch naming conventions. The skill utilizes standardized naming based on issue IDs and branch types to efficiently manage and isolate parallel branch operations.