using-git-worktrees
Installation
SKILL.md
Using Git Worktrees
Creation Steps
Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace."
1. Detect Repository Root and Project Name
Project name is the basename of the repository top-level directory (the directory returned by git rev-parse --show-toplevel).
repo_root="$(git rev-parse --show-toplevel)"
project_name="$(basename "$repo_root")"
2. Choose Feature Name
Use an arbitrary dash-cased feature string (for example: auth-refactor, fix-login-timeout, plan-implementation).