git-worktree-isolation

Create isolated Git worktrees mapped to Linear issues, branches, and PRs.

Updated Oct 15, 2025
One-click install
npx skills add https://github.com/kingler/v0-jetvision-assistant --skill git-worktree-isolation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktree-isolation
Source: https://github.com/kingler/v0-jetvision-assistant/tree/main/.claude/skills/git-worktree-isolation
Command: npx skills add https://github.com/kingler/v0-jetvision-assistant --skill git-worktree-isolation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git worktrees allow multiple working directories from a single repository. They enable isolation of agent workspaces, mapping to Linear Issues, Git branches, and PRs, preventing cross-contamination between tasks.

Core Features & Use Cases

  • 1:1:1 mapping of workspace to Linear issue, branch, and PR
  • Auto-create isolated worktrees per issue and lifecycle hooks for cleanup
  • Safe parallel development across multiple agents without interference

Quick Start

Create an isolated worktree for a Linear issue and begin coding in its dedicated directory.

Frequently Asked Questions about git-worktree-isolation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate agent workspaces using Git worktrees?

Git worktrees isolate agent workspaces by creating multiple working directories from a single repository, mapping each to a Linear issue, Git branch, and PR. This prevents cross-contamination between parallel tasks while sharing a single repository.

What is the 1:1:1 mapping for Git worktree branch management?

The 1:1:1 mapping links one workspace to one Linear issue, one Git branch, and one PR. This structured directory mapping ensures isolated workspaces remain synchronized with their corresponding issue tracking and version control lifecycle.

How do I set up parallel feature development with multiple agents?

Set up parallel feature development by creating an isolated worktree for each issue and agent. The workspace uses a defined directory structure and frontmatter contract, ensuring safe parallel development across multiple agents without interference.

Do I need Linear issues to use Git worktree isolation?

Linear issues are used to map workspaces to branches and PRs. While the core worktree isolation relies on Git, the defined directory structure and frontmatter contract are specifically designed to coordinate workspaces mapped to Linear issues.

How do I clean up isolated workspaces after a PR is merged?

You clean up isolated workspaces using lifecycle hooks for cleanup provided by the workspace management process. This ensures safe operations by automatically removing the dedicated worktree directory once the associated PR is completed.

What are the limitations of using Git worktrees for multi-agent collaboration?

Git worktrees for multi-agent collaboration require strict adherence to the defined frontmatter contract and directory structure to prevent workspace interference. Users must manage lifecycle hooks carefully to ensure safe operations and proper cleanup.