Install any skill in seconds. Free to start, no credit card required.
Get Started Free →notque/worktree-agent
Mandatory rules for agents in git worktree isolation.
Passed 14 of 20 test cases with the skill, and 8 of 20 without it.
and 14 more in the full report
11 fixed7 passed either way4 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
After a feature branch has been merged into main, what two commands should be run to remove the worktree checkout and prune stale references?
| Checked | Without skill | With skill |
|---|---|---|
| Executes git worktree remove -- with the accepted worktree path | Missed | Passed |
| Executes bash scripts/worktree-cleanup.sh --force | Missed | Passed |
The instructions your model reads when the skill loads.
Mandatory rules for any agent dispatched with isolation: "worktree".
On start, run pwd. Your path MUST contain .claude/worktrees/.
If your CWD is the main repo path, STOP and report the error.
git checkout -b <branch-name>
Never commit on the default worktree-agent-* branch. Create your feature branch FIRST.
If git checkout -b <branch-name> fails with "a branch named X already exists":
# Option A: the branch has no commits beyond main — safe to reset and reuse
git branch -D <branch-name>
git checkout -b <branch-name>
# Option B: the branch is checked out in another active worktree — use a unique name
git checkout -b <branch-name>-2 # or append timestamp: $(date +%s)
If git checkout -b <branch-name> fails with "X is already used by worktree at Y":
# Branch is live in another worktree — use a unique suffix
git checkout -b <branch-name>-$(date +%s)
To update a branch held by another worktree (e.g. an existing PR branch): work detached from origin/<branch> and push with git push origin HEAD:<branch>. gh pr merge's post-merge local-checkout errors are harmless.
Never hardcode absolute paths from the main repo. Use $(git rev-parse --show-toplevel)/path.
test cases passed, vs 8 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.