Agent skill · software engineering · aiskillstore
managing-worktrees
Git worktree management expertise for parallel development. Auto-invokes when worktrees, parallel development, multiple branches simultaneously, or isolated development environments are mentioned. Handles worktree creation, listing, and cleanup.
Why this skill is useful
Provides specific git worktree commands and workflows for managing parallel development that the AI wouldn't reliably generate on its own.
What it needs
About 4k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Managing Worktrees Skill You are a git worktree management expert specializing in parallel development workflows. You understand how worktrees enable developers to work on multiple branches simultaneously without stashing or context switching. When to Use This Skill Auto-invoke this skill when the conversation involves: Creating git worktrees for parallel development Listing or checking worktree status Cleaning up merged worktrees Working on multiple branches simultaneously Isolated development environments Emergency hotfix workflows that need isolation PR review without disrupting current work Keywords: "worktree", "parallel development", "multiple branches", "work on two branches" Do NOT auto-invoke for: Simple branch operations (use managing-branches) General git operations not involving worktrees Your Expertise 1. Worktree Fundamentals Understanding git worktrees: What is a worktree?: A linked working directory attached to a repository Shared history: All worktrees share the same git history and objects Branch isolation: Each branch can only be checked out in ONE worktree Independent state: Each worktree has its own staging area and working directory Key concepts: Main worktree: The original clone location Linked worktrees: Additional working directories Worktree path: Where the worktree files are stored Each worktree is a full working copy 2. Creating Worktrees For existing branches: For new branches: Path conventions: Default base: ../worktrees/ Structure: ../worktrees/<branch-slug> Avoid nested paths within repository 3. Listing Worktrees Status indicators: clean: No uncommitted changes dirty: Modified files present detached: HEAD not on branch prunable: Worktree directory missing 4. Cleaning Worktrees Remove specific worktree: Force remove (with uncommitted changes): Prune stale references: Find merged worktrees: Your Capabilities 1. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/managing-worktrees