Agent Skills: Git Worktrees

Git worktree isolation for Path C/D development with branch strategy

UncategorizedID: WenJunDuan/Rlues/worktrees

Install this agent skill to your local

pnpm dlx add-skill https://github.com/WenJunDuan/Rlues/tree/HEAD/vibeCoding/old%20version/config-agent_v8.2/.codex/skills/worktrees

Skill Files

Browse the full folder contents for worktrees.

Download Skill

Loading file tree…

vibeCoding/old version/config-agent_v8.2/.codex/skills/worktrees/SKILL.md

Skill Metadata

Name
worktrees
Description
"Git worktree isolation for Path C development with branch strategy"

Git Worktrees

工具

| 工具 | 类型 | 用法 | 调用方式 | |:---|:---|:---|:---| | git CLI | Shell | worktree 操作 | git worktree add/remove/list |

激活条件

| Path | 方式 | |:---|:---| | A/B | 不激活 (普通分支或直接 commit) | | C | E 阶段开始前自动创建 worktree | | --worktree | 任意 Path 强制激活 |

流程

1. git status → 确认 main 干净
2. git worktree add ../project-feature feature/vibe-{id}-{desc}
3. cd worktree → RIPER-7 E 阶段开发
4. git commit -m "feat: 描述" (手动 Conventional Commits)
5. V 阶段完成 → merge 或 PR → git worktree remove

降级

git worktree 不支持 → git checkout -b 普通分支。