git:create-worktree

Create and set up Git worktrees with automatic dependency installation.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/dalawwa/labor-methods --skill git-create-worktree
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git:create-worktree
Source: https://github.com/dalawwa/labor-methods/tree/main/.cek/plugins/git/skills/create-worktree
Command: npx skills add https://github.com/dalawwa/labor-methods --skill git-create-worktree

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating and managing multiple Git worktrees manually is error-prone and time-consuming; this Skill automates the process of creating and setting up worktrees with automatic dependency installation to support parallel development.

Core Features & Use Cases

  • Automates worktree creation with deterministic directory naming and branch mapping.
  • Automatically detects project type to install dependencies in the new worktree.
  • Supports common workflows for feature, bugfix, refactor, hotfix, and review branches across parallel worktrees.
  • Useful when running parallel development streams, testing multiple features, or isolating experiments without affecting the main repo.

Quick Start

Create a new worktree for a feature named 'auth system' by running /git:create-worktree auth system

Frequently Asked Questions about git:create-worktree

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

FAQPage Schema
How do I set up git worktrees for parallel development without reinstalling dependencies manually?

Git worktrees can be set up for parallel development by automating creation and triggering automatic dependency installation. This process uses deterministic directory naming and auto-detects project types to install required packages across isolated branches.

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

Managing multiple git branches simultaneously is best handled using parallel worktrees. This approach isolates work on features, fixes, or experiments into separate directories without affecting the main repository state.

How does automatic dependency installation work when creating a new git worktree?

Automatic dependency installation works by detecting the project type after the worktree is created. It then runs common package managers to install required dependencies directly within the new worktree directory.

Can I create worktrees for different branch types like hotfix or refactor automatically?

Yes, worktrees can be created for different branch types automatically. The setup supports common workflows including feature, bugfix, refactor, hotfix, and review branches, applying consistent path conventions for each.

How do I list existing git worktrees in my repository?

Existing git worktrees can be listed using the worktree management command. This functionality checks the current repository state and displays all active parallel development directories currently mapped to branches.