Individual skill
git-worktree
Manage Git worktrees for isolated parallel development. Use when creating, listing, switching, or cleaning up git worktrees, or when needing isolated branches for concurrent reviews or feature work.
skills/git-worktree/SKILL.md
Source commit aee700a03a860d412ddb58c9b9fe57213c9e21dc
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 7, 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)
- 45
- Repository last updated
- Nov 7, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-coding-assistant Repository topic
- ai-tools Repository topic
- claude-code Repository topic
- skills Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSKILL.mdcore · 9,263 bytesSPEC.mddoc · 4,440 bytesreferences/commit-ownership.mddoc · 3,919 bytesreferences/hooks-and-excludes.mddoc · 3,274 bytesreferences/troubleshooting.mddoc · 5,393 bytesreferences/workflow-examples.mddoc · 3,115 bytesreferences/worktree-integration.mddoc · 7,310 bytesscripts/worktree-manager.shruns · 16,295 bytes
Read excerpt
# Git worktree manager
**GATE: If the task runs inside an existing worktree (a worktree path is given and no create/remove/switch is requested), none of the creation flow applies: work in place and skip this skill.** To check: `git rev-parse --show-toplevel` appears as a linked entry in `git worktree list`.
## Working rules
- Preserve other sessions' branches, files, and staged work (see Ownership).
- Verify dependencies resolve first-party code from the intended worktree.
- Keep merge, push, and cleanup within user authorization; report the exact exercised checkout and resulting commit.
## Always use the manager script
Never call `git worktree add` directly; always use the `worktree-manager.sh` script.