name: git-worktree-manager description: Use this skill when coordinating parallel agent development with isolated git worktrees or dedicated branches.
Git Worktree Manager
Purpose
Keep agent changes isolated to reduce merge conflicts and make reviews deterministic.
Standard Layout
codex-worktree: implementation branch/worktree.claude-worktree: review branch/worktree.main: protected integration baseline.
Workflow
- Create or refresh worktree from
main. - Make focused commits with explicit scope.
- Reviewer compares branch against
mainand logs findings. - Land only after human
GO.
Guardrails
- Never force-push shared branches.
- Never delete or rewrite history without explicit human approval.
- Add worktree creation and cleanup commands to
agents-build-log.md.