/git:conflicts [--push]from git
Resolves git merge conflicts from rebase, merge, or cherry-pick. Handles conflict resolution, lockfile regeneration, rerere, and completing the operation with push.
Ships in git. 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.
Read when SKILL.md points to them; scripts run unread.
!bun ${CLAUDE_PLUGIN_ROOT}/skills/conflicts/scripts/status.ts
!bun ${CLAUDE_PLUGIN_ROOT}/skills/conflicts/scripts/context.ts
!bun ${CLAUDE_PLUGIN_ROOT}/skills/conflicts/scripts/upstream.ts
Resolve each conflicted file, then git add it.
CLAUDE.md for lockfile guidance.Resolving is done when every conflicted file is staged and git diff --cached --check reports no conflict markers. Leave the commit, the continue, and the push to the user.
Take the operation past the staged resolution only when the user asks for it: the --push argument, its alias push, or a request such as "fix conflicts and push". Then:
git merge origin/<default-branch> to produce the conflicts. A clean merge goes straight to the push.git status --porcelain lists. The continue then commits only the resolution. Run git stash push -m "conflicts: <branch>" -- <files> for all of them at once, then record that entry's SHA from git stash list --format='%H %gs'. When that stash fails, which the sandbox causes by blocking the unlink of a protected file such as .mcp.json, stash the files one at a time and skip the failures. Hide each file that cannot be stashed with git update-index --assume-unchanged <file>.git push, with --force-with-lease after a rebase, then restore the files you set aside: git update-index --no-assume-unchanged <file> for each hidden file, and git stash apply <sha> then git stash drop <sha> for a stash you created. Restore by the SHA you recorded, because the stash stack is shared with every other worktree on the repo and the top entry may belong to another session.The operation is done when git reports no operation in progress, the branch is pushed, and every file you set aside is back in the working tree.
What SKILL.md sets; muted values are Claude Code's defaults
highBash(git commit:*)|Bash(git rebase --continue:*)|Bash(git merge --continue:*)|Bash(git cherry-pick --continue:*)bun ${CLAUDE_PLUGIN_ROOT}/skills/conflicts/scripts/check-markers.tsThree short reads, in order
npx claudepluginhub bendrucker/claude --plugin gitOther plugins' skills for the same job