worktree

Installation
SKILL.md

Worktree

Create a git worktree off the right base branch, in a clean gitignored directory, with the safety checks that keep the main checkout and .gitignore correct. This skill only creates and lists worktrees. Removing and pruning merged worktrees is release-cleanup's job — do not delete here.

Contract

Inputs:

  • Repository root (must be inside a git work tree)
  • Optional worktree/branch name (the new branch to create)
  • Optional explicit base branch override (from <base> / --base <base>)
  • Optional --fetch flag to refresh the base from origin before branching

Outputs:

Installs
8
GitHub Stars
30
First Seen
Jun 9, 2026
worktree — shipshitdev/library