Back to skills
SKILL.md
Using Git Worktrees
ASecurityIsolates parallel Tracer-Bullet slices, risky refactors, or exploratory prototypes in dedicated Git worktrees with clean baseline verification.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 18, 2026
Security analysis
100/100npx -y skills add Binbin-miao/workbuddy-expert-team --skill using-git-worktrees --agent claude-codeAre you the author of Using Git Worktrees?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/binbin-miao-using-git-worktrees)---
name: using-git-worktrees
description: "Isolates parallel Tracer-Bullet slices, risky refactors, or exploratory prototypes in dedicated Git worktrees with clean baseline verification."
---
# /using-git-worktrees — Git Worktree 物理隔离工作流
源自 `obra/superpowers`(`skills/using-git-worktrees`),用于多工单并行推进、高风险重构或探索性原型时的工作区隔离:
## 标准操作流程
1. **创建隔离目录**:优先使用 `.worktrees/<slice-name>`(确保已加入 `.gitignore`)或同级目录,执行 `git worktree add -b <branch> <path> <base>`。
2. **基线测试验证(Clean Baseline Check)**:在动手改代码前,先在 Worktree 中跑一遍相关测试,确认基线状态全绿。
3. **独立验证与无损回收**:在隔离目录内完成开发与测试,合并或提取补丁后执行 `git worktree remove <path>` 保持主仓库整洁。
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.