Dev10x:git-worktree

Create and manage git worktrees for feature branch isolation.

7|2|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/Dev10x-Guru/Dev10x-Claude --skill dev10x-git-worktree-dev10x-guru
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Dev10x:git-worktree
Source: https://github.com/Dev10x-Guru/Dev10x-Claude/tree/main/skills/git-worktree
Command: npx skills add https://github.com/Dev10x-Guru/Dev10x-Claude --skill dev10x-git-worktree-dev10x-guru

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill creates and manages git worktrees, providing a clean workspace for feature development and isolation.

Core Features & Use Cases

  • Isolation: Create separate worktrees for feature branches to avoid conflicts and maintain a clean workspace.
  • Worktree Creation: Offers two modes for worktree creation: native EnterWorktree for the current session or external worktree for IDE isolation.
  • Use Case: When starting a new feature branch, use this Skill to create an isolated worktree to develop the feature without affecting the main branch.

Quick Start

Create a new worktree for the feature branch 'fix-railway-deployment'.

Frequently Asked Questions about Dev10x:git-worktree

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

FAQPage Schema
How do I isolate feature development using a git worktree?

Isolate feature development by creating a git worktree, which provides a separate working directory for your feature branch to avoid conflicts and maintain a clean workspace. This Skill automates branch naming and post-checkout hook setup.

What is the best way to manage multiple git branches for separate features?

Managing multiple git branches for separate features is best done using git worktrees to create isolated workspaces. This Skill supports branch management by handling post-checkout hooks and session cleanup, preventing conflicts across different feature branches.

How do I create an external git worktree for IDE isolation?

To create an external git worktree for IDE isolation, use this Skill's external worktree mode. It generates a separate directory linked to your feature branch, allowing your IDE to operate independently without affecting the main branch workspace.

Do I need the Claude Code plugin to use git worktrees for feature development?

Yes, you need the Claude Code plugin along with git installed to use this Skill for feature development. These dependencies are required to execute the worktree creation, branch naming, and session cleanup operations.

How does session cleanup work when using a git worktree?

Session cleanup for a git worktree involves removing the isolated working directory and its associated branch linkage after feature development is complete. This Skill handles the cleanup process to ensure your main workspace remains unaffected.

When should I use native EnterWorktree mode versus an external worktree?

Use native EnterWorktree mode when you need to isolate feature development within your current session, and choose an external worktree when you require IDE isolation for separate feature branch workspaces. Both modes handle branch naming and hook setup.