Skip to content
Back to skills

Worktree Isolation

ASecurity

Use when splitting work across peers, creating or selecting feature worktrees, preventing overlapping edits, or deciding whether to reroute implementation out of the main worktree.

  • 265 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 23, 2026
ai-agentsbashrailsgit

Security analysis

A100/100

Scanned September 23, 2026

npx -y skills add prassanna-ravishankar/repowire --skill worktree-isolation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Worktree Isolation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Worktree Isolation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/prassanna-ravishankar-worktree-isolation/badge)](https://www.skillsdirectory.com/skills/prassanna-ravishankar-worktree-isolation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: worktree-isolation
description: Use when splitting work across peers, creating or selecting feature worktrees, preventing overlapping edits, or deciding whether to reroute implementation out of the main worktree.
---

# Worktree Isolation

Use one worktree per independent implementation concern. This keeps peers from editing the same files blindly and makes review/cleanup tractable.

## When to isolate

Create or select an isolated worktree when:

- Two peers may implement in parallel.
- The change is large enough to outlive the current session.
- The work is speculative, risky, or likely to need review.
- The main worktree has unrelated dirty state.

Use the current worktree for small, direct, low-risk edits when it is clean enough and no other peer owns the same files.

## Before dispatch

Check:

```bash
git status --short --branch
git worktree list
repowire peer list
```

Tell the peer which worktree and branch it owns, what files are likely in scope, and whether it may commit or only report.

## Guardrails

- Do not put two implementation peers on overlapping files in the same worktree.
- Make one lane review-only when overlap is unavoidable.
- Stop or reroute stale peers before reassigning their write scope.
- Never clean up a worktree before checking dirty and unpushed work.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.