Skip to content
Back to skills

Worktree Isolation

ASecurity

Git Worktree isolation workflow. Use only for risky refactors, long-running features, or explicitly authorized parallel work to prevent workspace contamination.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentsgit

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add yjfkpyu/AgentLock-Harness --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/yjfkpyu-worktree-isolation/badge)](https://www.skillsdirectory.com/skills/yjfkpyu-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: Git Worktree isolation workflow. Use only for risky refactors, long-running features, or explicitly authorized parallel work to prevent workspace contamination.
---

# Worktree Isolation

## Steps

1. **Confirm Necessity**: Skip worktrees for trivial local fixes; use for isolating risk or explicitly authorized parallel streams.
2. **Create Clean Worktree**: `git worktree add ../wt-<topic> -b feat/<topic>`
3. **Verify Green Baseline**: Run core tests before editing a single line.
4. **Declare Write Boundaries**: Partition write directories and interface dependencies explicitly; let integrator verify on latest base and clean up.

## Anti-Rationalization Table

| Common Rationalization | Mandatory Counter-Action |
| :--- | :--- |
| "Markdown status table says I own it, no conflict" | Markdown and branches are **not concurrency locks**; isolate worktrees and enforce single-writer scopes |

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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