skills/merge-conflict-resolver/SKILL.md
Resolve git merge, rebase, and cherry-pick conflicts interactively. Use this skill whenever the user mentions merge conflicts, conflict markers, failed merges, rebase conflicts, or asks to resolve conflicts in their repository. Also trigger when the user says things like "fix my merge", "I have conflicts", "help me rebase", or "resolve the conflicts". Even if they don't say "merge conflict" explicitly, if context suggests they're dealing with conflicting changes in git, use this skill.
npx skillsauth add moliboy5000/.claude merge-conflict-resolverInstall 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.
Resolve git merge conflicts by analyzing both sides, recommending a resolution, and letting the user make the final call.
The user has one or more files with unresolved git conflicts — whether from git merge, git rebase, git cherry-pick, or git stash pop. They want help understanding what happened and choosing the right resolution.
Run these commands to build context:
git status
This tells you which files are in conflict (look for "both modified", "both added", "deleted by us/them", etc.) and what operation is in progress (merge, rebase, cherry-pick).
If it's a merge:
git log --oneline --graph -10
If it's a rebase or cherry-pick, also check:
git rebase --show-current-patch 2>/dev/null || true
Summarize the situation to the user briefly: what operation caused the conflicts, how many files are affected, and which branches/commits are involved.
For each conflicted file, read it and locate the conflict markers:
<<<<<<< HEAD (or <<<<<<< ours) — the current branch's version======= — separator>>>>>>> branch-name (or >>>>>>> theirs) — the incoming branch's versionFor each conflict hunk, understand what both sides are doing. Use git history for additional context when the intent isn't obvious:
git log --oneline -5 -- <file>
git log --oneline -5 MERGE_HEAD -- <file> 2>/dev/null || true
This helps you understand why each side made its changes, which is critical for a good recommendation.
For each conflict hunk, present the user with:
Your recommendation should be one of:
Always show the exact code you're proposing as the resolution so the user can evaluate it.
Present conflicts one file at a time. If there are many files, group trivial conflicts (e.g., import ordering, whitespace) separately from substantive ones.
Only after the user approves (or modifies) your recommendation for each conflict:
grep -n "^<<<<<<< \|^=======$\|^>>>>>>> " <file>
git add <file>
Repeat for each conflicted file.
After all files are resolved and staged, tell the user what to do next based on the operation:
git commit (git will use the default merge commit message) or I can do it for you."git rebase --continue to proceed, or I can do it for you." (Note: there may be more conflicts in subsequent rebase steps.)git cherry-pick --continue to finish, or I can do it for you."Do not automatically commit or continue — let the user decide.
<<<<<<<. Real conflict markers start at column 0 and follow the exact pattern.development
Configure Claude Octopus providers and preferences. Use when: Use this skill when the user wants to "configure Claude Octopus", "setup octopus",. "configure providers", "set up API keys for octopus", or mentions octopus configuration.
tools
Zero-context implementation plans with bite-sized tasks. Use when: Use when you have a spec or requirements for a multi-step task.. Auto-invoke when user says "plan how to implement X", "create implementation plan", . "break down this feature into tasks".
content-media
Process screenshot-based UI/UX feedback to fix visual issues. Use when: AUTOMATICALLY ACTIVATE when user provides visual feedback:. "[Image X] The /settings should be Y". "[Image X] these button styles need to be fixed"
testing
Verify claims with actual evidence before declaring success — use to prevent false completion. Use when: Use when about to claim work is complete, fixed, or passing.. Auto-invoke before: commits, PRs, task completion, moving to next task.. ALWAYS use before expressing satisfaction ("Done!", "Fixed!", "All passing!").