git-worktree-find

Community

Locate or create git worktrees instantly

Authorf4irline
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Resolve and locate the filesystem path for a git branch's worktree and ensure a usable worktree exists for development; this removes manual searching, duplicate worktree creation, and confusion when switching contexts across ticket branches.

Core Features & Use Cases

  • Detect existing worktrees by parsing git worktree list --porcelain and matching branch refs to return the absolute path when present.
  • Create missing worktrees by invoking the prepare workflow (git-worktree-prepare) and applying local-file synchronization when needed, returning whether the worktree was created or reused.
  • Verification and error guidance by confirming the branch in the resolved worktree and providing actionable errors when the branch name is invalid or git commands fail.
  • Use Case: When a developer needs to work on a Linear ticket branch, run this Skill to either reuse an existing worktree or create a new one and receive the exact path and state.

Quick Start

Run git-worktree-find with the branch name to get the absolute worktree path and whether it was created or reused.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-worktree-find
Download link: https://github.com/f4irline/bbqparty-ai/archive/main.zip#git-worktree-find

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.