/git-tools:using-git-worktreesfrom git-tools
Manages git worktrees for feature development — creates, lists, switches between, and removes worktrees. Use when setting up an isolated branch for feature work, running parallel development streams, or cleaning up after a feature is merged.
Ships in git-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Manage git worktrees to keep feature branches isolated from the main working tree.
Create a worktree for a new feature branch:
git worktree add ../my-project-feature-name -b feature/my-feature
Create worktree with a new branch:
git worktree add <path> -b <new-branch>
Create worktree from an existing branch:
git worktree add <path> <existing-branch>
List all worktrees:
git worktree list
Remove a worktree:
git worktree remove <path>
Place worktrees as siblings to the main repo directory:
~/projects/my-project/ # main worktree (main branch)
~/projects/my-project-feature/ # feature worktree
After a PR is merged or abandoned:
git worktree remove <path> — deletes the working directory and releases the lockgit branch -d <branch> — deletes the local branch (optional, skip if remote tracking is sufficient).git directory — commits made in any worktree are immediately visible everywhereWhat SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/gh-address-commentsAddress review/issue comments on the open GitHub PR for the current branch. Fetches all comments and review threads, summarizes what needs attention, and helps apply fixes. Use when responding to PR feedback, resolving review comments, or when user mentions "address comments" or "fix review feedback"./gh-pr-reviewGitHub PR review operations via gh CLI. Create pending reviews with line comments, submit reviews (approve/reject/comment). Use when adding PR comments, submitting reviews, or managing GitHub code reviews./git-advancedAdvanced git operations (rebase, cherry-pick, reflog, stash, reset, clean), analysis tools (bisect, blame, history), and command reference. Use for complex git tasks, recovery operations, or when user mentions rebase, cherry-pick, reflog, stash, reset, bisect, or needs git command reference.npx claudepluginhub nilpath/nilpath-marketplace --plugin git-tools