Individual skill

git-worktree-isolation

基于 Git Worktree 的任务隔离工作流:每个开发任务在独立 worktree 中执行, 确保主工作区干净、并行任务互不干扰,完成后结构化决策合并/PR/保留/丢弃。 与 parallel-execution 的 worktree 基础设施互补,本 skill 聚焦任务级隔离策略。

plugins/Colin4k1024/tsp/skills/git-worktree-isolation/SKILL.md

Read pinned source

Source commit d780783eba4ecc7c8b9429f95c9362df95f07c61

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 4, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,532
Repository last updated
Nov 6, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Git Worktree Isolation

## 用途

- 确保每个开发任务(feature / fix / spike)在 **隔离的 worktree + 分支** 中执行,主工作区始终保持可切换状态。
- 在多 agent 并行场景下,每个 agent 拥有独立文件系统视图,避免写冲突。
- 任务完成后提供 **结构化收口决策**(merge / PR / keep / discard),而不是任凭 worktree 积累。

## 触发信号

- `/team-execute` 分派的并行实现任务。
- `wave-execution` 中同一 Wave 的多个工作项。
- 需要在不影响主分支的情况下进行探索性实现或 spike。
- 当前工作区有未提交变更,但需要紧急处理另一个任务。