Automates the creation of isolated Git worktrees with safety verification and automatic environment setup.
The Git Worktree Manager skill enables seamless context switching by creating isolated development workspaces within a single repository. It streamlines the developer experience by automatically handling directory selection, verifying .gitignore safety to prevent repository pollution, and executing project-specific setup commands for Node.js, Rust, Python, and Go. By establishing a clean, tested baseline for each new feature, it ensures that developers can work on multiple branches simultaneously without the overhead of manual environment configuration or the risk of workspace contamination.
Key Features
01Smart project name detection and branch-based directory naming
02Baseline test execution to verify workspace health before starting feature work
03Intelligent directory selection for project-local or global worktree storage
04Mandatory .gitignore verification and auto-remediation to protect repository integrity
05Automatic dependency installation for major language ecosystems (npm, cargo, pip, poetry, go)
062 GitHub stars
Use Cases
01Starting a new feature while keeping the main workspace busy with a long-running task
02Isolating experimental changes in a verified environment that matches production dependencies
03Quickly switching to a bug fix branch without stashing or committing unfinished work