From cc10x
Works through an in-progress git merge or rebase conflict hunk by hunk, resolving each by intent without --abort. Runs project checks and finishes the operation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cc10x:resolving-merge-conflictsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- Upstream: github.com/mattpocock/skills @ e9fcdf95 (skills/engineering/resolving-merge-conflicts)
Work through an in-progress git merge or rebase conflict hunk by hunk, resolving each by intent traced to each side's primary source. Never --abort. Always resolve; --abort throws away work and hides the real incompatibility.
Check git status, the conflicting files, and the conflict markers:
git status
git diff --name-only --diff-filter=U # the unmerged paths
Read each conflicting file's conflict markers (<<<<<<<, =======, >>>>>>>) to see exactly what's contested. Know whether you're in a merge (MERGE_HEAD set) or a rebase (rebase-merge/ or rebase-apply/ present in .git/).
For each conflict hunk, understand why each change was made and what its original intent was — don't just pick the bigger diff. Read:
git log --oneline -5 -- <file> for each side)For each hunk:
Discover the project's checks and run them in order — typically typecheck, then tests, then format:
# node: npx tsc --noEmit (or per package.json scripts)
# python: ruff check . && python -m pytest -q
# go: go build ./... && go test ./...
Fix anything the merge broke. A conflict resolution that breaks the build is not a resolution.
Stage everything and commit:
git add <resolved-files>
git commit # merge: completes the merge commit
# rebase: git rebase --continue (repeat for each conflicted commit until done)
If rebasing, continue the rebase process until ALL commits are rebased.
grep -rn '^<<<<<<< \|^=======$\|^>>>>>>> ' . must return nothing before you commit.npx claudepluginhub romiluz13/cc10x --plugin cc10xResolves in-progress git merge or rebase conflicts end-to-end: reads conflict state, recovers each side's intent, resolves hunks, runs checks, and finishes the merge/rebase.
Resolves in-progress git merge or rebase conflicts by analyzing git history, understanding change intent, resolving hunks, running automated checks, and completing the merge.
Walks through resolving in-progress git merge or rebase conflicts by understanding change intent, preserving both sides where possible, and running project checks before finishing.