git-worktrees

Installation
SKILL.md

Git Worktrees

Overview

Keep work isolated without disturbing the user's primary checkout. Isolation often already exists because a coding harness created it before the session began, so detect before creating anything.

This file owns the common workflow: choose the mode -> detect existing isolation -> either reuse and finish here, or route once and finish in the selected environment document.

Operating contract

  • Read exactly one environment document in Step 2. It owns creation through termination; do not return here or switch mechanisms automatically.
  • Never nest a worktree or check out one branch in two worktrees. Report the owning path instead of forcing Git.
  • Never fall back to the current checkout after isolation fails without explicit user approval.

Result contract

Every terminal path reports:

Installs
4
GitHub Stars
1
First Seen
Aug 2, 2026
git-worktrees — choegyumin/agent-skills