What problem does it solve?
This skill helps engineers start feature work in a safe, isolated environment by creating git worktrees, preventing accidental changes to the main workspace and keeping a clean baseline for testing.
Core Features & Use Cases
- Flexible worktree creation: selects a local or global worktree location based on priority and user preferences.
- Safety-first: verifies .gitignore rules for project-local worktrees to avoid committing worktree contents.
- Automated setup: auto-detects project type (Node, Rust, Python, Go) and runs appropriate setup commands before work begins.
- Use Case: When starting a feature branch, announce the intent and create an isolated workspace for development and testing.
Quick Start
Announce at the start: "I'm using the using-git-worktrees skill to set up an isolated workspace." Then describe the desired branch and project name; the skill will locate or create the appropriate worktree, verify safety, create the workspace, and run the project setup.