What problem does it solve?
This Skill provides a robust and safe method for creating isolated Git worktrees, ensuring that feature development or experimental work does not interfere with the main codebase or introduce unintended side effects.
Core Features & Use Cases
- Isolated Workspaces: Create separate directories for different branches, allowing simultaneous work on multiple features.
- Smart Directory Selection: Prioritizes preferred locations (
.worktrees/, worktrees/) and respects user or configuration preferences.
- Safety Verification: Automatically checks if project-local directories are ignored by Git before creation to prevent accidental commits.
- Automated Setup: Detects project type (Node.js, Rust, Python, Go) and runs necessary dependency installations.
- Baseline Verification: Executes project tests to ensure a clean starting state for new work.
Quick Start
Use the using-git-worktrees skill to create a new worktree for the 'feature/new-login' branch in the '.worktrees' directory.