skills/source-worktrees/SKILL.md
Use this skill when working with software installed or run from local source checkouts that use git worktree hubs.
npx skillsauth add cardoso-neto/personal-ai-infra source-worktreesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
<project>-worktrees/.bare/ inside the hub is the central bare repo.prod -> production branch, i.e.: code runs from this one.
dev -> development branch, staging area to try things out before merging to prod.upstream -> upstream/default branch, often master or main./ with -:
feature/something -> feature-something~/upstream/openclaw-worktrees/ is the worktree hub.
bare/ is the central bare repo.prod/ is the production branch worktree, where the code is run from.feature-<something>/fix-<something>/git merge feature/something fix/something to octopus merge all the topic branches into dev.
git fetch -p from bare/ prunes deleted origin/* refs and reveals dead worktrees.git log <branch> ^origin/master is empty.
branch -D (-d rejects with "not fully merged" because squash made different commits).git worktree remove fails ('.git' is not a .git file) because .git is a symlink.
rm -rf <worktree> bare/worktrees/<name>; git worktree prune -v.
development
Always use this skill when writing or editing webscrapers!
testing
Always use this skill when writing or editing software tests!
development
Always use this skill when writing or editing python code!
development
Always use this skill when writing or editing code of any sort!