dev-git-worktree

Create isolated git worktrees for feature branches with directory selection and safety checks.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/VictorHueni/homemade-claude-kit --skill dev-git-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-git-worktree
Source: https://github.com/VictorHueni/homemade-claude-kit/tree/main/skills/dev-git-worktree
Command: npx skills add https://github.com/VictorHueni/homemade-claude-kit --skill dev-git-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured method to create isolated workspaces within a single Git repository, avoiding conflicts and preserving workspace integrity during feature development.

Core Features & Use Cases

  • Isolated Workspaces: Creates a separate git worktree for each feature branch to avoid workspace contamination.
  • Directory Selection: Offers smart directory selection and safety verification for reliable isolation.
  • Automated Setup: Automatically installs project dependencies and runs initial tests to ensure a clean baseline.
  • Use Case: Ideal for when starting a new feature that requires isolation from the main workspace, enabling parallel development without干扰.

Quick Start

Start a new worktree for 'feature/auth' branch by running 'dev-git-worktree start feature/auth'.

Frequently Asked Questions about dev-git-worktree

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

FAQPage Schema
How do I set up isolated git worktrees for feature development?

Git worktrees provide isolated workspaces within a single repository, preventing workspace contamination so you can develop features in parallel without branch conflicts.

How do I create a git worktree without disrupting my main workspace?

You create a worktree by running 'dev-git-worktree start [branch-name]', which safely isolates the new feature branch directory from your main workspace.

Does the worktree setup script handle dependency installation?

Yes, the worktree setup script automates project dependency installation and runs initial tests after creating the isolated directory to ensure a clean baseline.

What's the best way to run parallel feature branches in a single git repository?

Using isolated git worktrees is the best way to run parallel feature branches, as each worktree creates a separate directory for branch-specific development without interference.

Do I need git command-line tools to use automated worktree creation?

Yes, you need git command-line functionality installed, as the automated worktree creation relies on it to execute directory selection, safety verification, and branch initialization.