git-worktree-manager
Installation
SKILL.md
Git Worktree Manager
Tier: POWERFUL
Category: Engineering
Domain: Parallel Development & Branch Isolation
Overview
The Git Worktree Manager skill provides systematic management of Git worktrees for parallel development workflows. It handles worktree creation with automatic port allocation, environment file management, secret copying, and cleanup — enabling developers to run multiple Claude Code instances on separate features simultaneously without conflicts.
Core Capabilities
- Worktree Lifecycle Management — create, list, switch, and cleanup worktrees with automated setup
- Port Allocation & Isolation — automatic port assignment per worktree to avoid dev server conflicts
- Environment Synchronization — copy .env files, secrets, and config between main and worktrees
- Docker Compose Overrides — generate per-worktree port override files for multi-service stacks
- Conflict Prevention — detect and warn about shared resources, database names, and API endpoints
- Cleanup & Pruning — safe removal with stale branch detection and uncommitted work warnings