skills/git-worktree/SKILL.md
--- Skill name: git-worktree Skill description: Manages git worktrees for working on multiple branches simultaneously. Use when asked to create, list, remove, or switch between git worktrees, or when needing to work on multiple branches in parallel. --- # Git Worktree Management Manages git worktrees to enable working on multiple branches of a repository simultaneously in separate directories. ## Capabilities - **Create worktrees**: Add new worktrees for existing or new branches - **List wor
npx skillsauth add abhiroopb/synthetic-mind skills/git-worktreeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manages git worktrees to enable working on multiple branches of a repository simultaneously in separate directories.
git worktree add <path> <branch> to create a worktree for an existing branchgit worktree add -b <new-branch> <path> [base] to create a new branch and worktree simultaneouslygit worktree listConvention: Place worktrees as siblings of the main repo directory using the pattern ../<repo>-<branch>:
# From /Development/my-repo (main worktree)
git worktree add ../my-repo-feature-x feature-x
git worktree add -b bugfix/issue-42 ../my-repo-bugfix-42 origin/main
git worktree list
Shows each worktree path, HEAD commit, and branch name.
git worktree remove <path> to remove a worktree--force (only after confirming with the user)git worktree prune to clean up stale worktree referencesgit worktree remove ../my-repo-feature-x
git worktree prune
Lock a worktree to prevent accidental removal (useful for worktrees on removable media):
git worktree lock <path> --reason "Work in progress"
git worktree unlock <path>
git fetch origin before creating a worktree to ensure branches are up to dategit worktree removegit worktree prune periodically to clean up stale entriesgit fetch origin
git worktree add ../my-repo-pr-123 origin/pr-branch
# Review/test in the new worktree, then clean up
git worktree remove ../my-repo-pr-123
git fetch origin
git worktree add -b hotfix/urgent ../my-repo-hotfix origin/main
# Fix, commit, push from the hotfix worktree
git worktree remove ../my-repo-hotfix
testing
Track TV shows and movies with Trakt.tv. Search, get watchlist, history, up-next, recommendations, trending, calendar, ratings, stats, add/remove from watchlist, mark watched, rate, and check in. Use when asked about what to watch, TV shows, movies, watch history, or Trakt.
development
Send and receive SMS messages via Twilio API. Used for text message notifications, forwarding important alerts, and two-way SMS communication.
documentation
Organizes files in the local Downloads folder into proper folders. Use when asked to organize, sort, or file downloaded documents.
tools
Book and manage appointments on Sutter Health MyHealth Online portal. Uses browser automation via Playwright MCP to interact with the patient portal.