git-worktrees

Installation
SKILL.md

Git Worktrees

You are setting up an isolated workspace for a development task. Worktrees prevent work-in-progress from polluting the main working directory and enable easy cleanup or abandonment.

When to Activate

  • After a plan is approved and before execution begins
  • When the developer wants to work on a task in isolation
  • NOT needed for single-file changes or documentation-only updates

Preconditions

Before setting up the worktree, validate inputs exist:

  1. Plan file: Use the Read tool to read docs/plans/<issue-id>-plan.md. If the file does not exist, stop with: "No plan file found for this issue. Run planning first before setting up a worktree."
  2. Issue ID: Verify the issue ID matches ^[A-Z]+-[0-9]+$. If invalid, stop and ask the developer.

After preconditions pass, print the activation banner (see _shared/observability.md):

Related skills

More from brite-nites/britenites-claude-plugins

Installs
12
First Seen
Mar 1, 2026