eia-git-worktree-operations

Community

Isolate PR work with seamless git worktrees.

AuthorEmasoft
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill enables engineering teams to run multiple PRs in parallel by provisioning isolated git worktrees over a single repository, preventing cross-PR interference and accidental context switches.

Core Features & Use Cases

  • Complete isolation: Each PR operates in its own worktree directory, allowing concurrent development without switching branches.
  • Safe cleanup and verification: Includes checks for uncommitted changes and unpushed commits, plus pruning of stale worktree metadata to keep the main repository tidy.
  • Subagent-friendly workflow: Supports delegating PR tasks to multiple agents while enforcing strict path isolation.
  • Use Case: A team handles three PRs at once; each PR lives in a dedicated worktree, enabling parallel reviews, testing, and merges.

Quick Start

Create a worktree for PR 123: git fetch origin pull/123/head:pr-123 git worktree add /tmp/worktrees/pr-123 pr-123 Work inside the worktree at /tmp/worktrees/pr-123, then clean up: git worktree remove /tmp/worktrees/pr-123

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: eia-git-worktree-operations
Download link: https://github.com/Emasoft/emasoft-integrator-agent/archive/main.zip#eia-git-worktree-operations

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.