Resolve Git merge conflicts by extracting only unresolved paths, conflict hunks, and compact diffs instead of loading whole files into context.
Use when a merge, rebase, cherry-pick, or stash pop stops on conflicts, when `git status` shows unmerged paths, or when files contain conflict markers.
Similar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
This skill provides a utility to safely extract and summarize Git merge conflict context from a local repository. It follows security best practices for command execution and does not perform any unauthorized network or filesystem operations.
snykLOW
Analyzed May 9, 2026
No issues detected.
socketScore 0.9000 · 0 alerts
Analyzed May 9, 2026
license1
maintenance1
quality0.9
supply chain0.99
vulnerability1
0 alerts
Also in this package
Other skills from warpdotdev/common-skills · top by installs.
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Claude CodeNot declared
CursorNot declared
CodexNot declared
GitHub CopilotNot declared
WindsurfNot declared
Gemini CLINot declared
ClineNot declared
OpenCodeNot declared
Repository health
Stars559
LicenseLICENSE
Default branchmain
Open issues7
Status
Active
Package contents
Files included with this skill beyond the listing page.
skill mdSKILL.md2,929 B
docsSUMMARY.md326 B
History
First seen on skills.sh
First recorded snapshot · 24,600 installs
SKILL.md
Resolve Merge Conflicts
Overview
Resolve conflicts without opening full files unless the compact view is insufficient. Start with a summary, then inspect one conflicted file at a time.
Prefer this over reading the whole file. The script prints only nearby context, the ours / base / theirs sections for each hunk, and a compact unified diff between ours and theirs.
Resolve the file.
Take one side wholesale with git checkout --ours -- path/to/file or git checkout --theirs -- path/to/file when appropriate.
Otherwise edit the file directly and remove the conflict markers.
Read more of the file only if the compact output is not enough to decide the correct merge.
Use the script before opening conflicted files directly.
Resolve one file at a time to keep context small.
Expect marker-based text conflicts and index-only conflicts such as add/add or modify/delete. The script summarizes both, and it falls back to index-stage previews when the worktree file has no conflict markers.