Git Worktree Management

•
291
•

Creates and manages isolated Git worktrees with automated safety checks, dependency installation, and test verification.

This skill enables Claude to manage multiple feature branches simultaneously by setting up isolated Git worktrees. It eliminates the need for disruptive context-switching within a single directory by automating the creation of new workspaces, ensuring they are properly ignored by Git to prevent repository pollution, installing project-specific dependencies (Node, Rust, Python, Go), and verifying a clean baseline with automated tests before any implementation begins.

主要功能

01Safety verification via git check-ignore to prevent accidental commits
02291 GitHub stars
03Automatic .gitignore management for project-local worktree directories
04Automated worktree creation with smart directory selection logic
05Baseline test execution to ensure a clean starting state for features
06Multi-language dependency installation (NPM, Cargo, Pip, Poetry, Go)

使用场景

01Isolating experimental changes from the main development environment
02Parallel execution of multiple implementation plans using subagents
03Starting new feature work without disturbing the current workspace state