resolving-merge-conflicts
Skill1 starsChanged 31 days agoMITView on GitHub
Resolve the conflicts of an in-progress merge/rebase by the intent of each side, never by picking lines at random. Use when git reports CONFLICT, in the middle of a merge/rebase/cherry-pick, or when the user asks to "resolve the conflict".
153 other projects use a version of this.
Adopted by
Most recently taken up by
- UIhoshi/AgentLogictheir own version, first seen Nov 29, 2026
- phant0um/claude-skillstheir own version, first seen Nov 29, 2026
- ctaxnagomi/agent-kd-skilltheir own version, first seen Nov 29, 2026
- mia-cx/skillstheir own version, first seen Nov 29, 2026
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
- karanmrn/kstacktheir own version, first seen Nov 29, 2026
Used with
Projects with it also use decision-mapping, setup-ts-deep-modules and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 5 projects that use this
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 30 projects that use this
richard12511Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 30 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 34 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 34 projects that use this
LesaniSkillwriting-fragments
Grilling session that mines the user for fragments — heterogeneous nuggets of writing (claims, vignettes, sharp sentences, half-thoughts) — and appends them to a single document as raw material for a future article. Use when the user wants to develop ideas before imposing structure, or mentions "fragments", "ideate", or "raw material" for writing.
Also in 34 projects that use this
- +1 more from Lesani
Other versions153 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 153
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- mdiri-ai/SoduWork★ 9.1ksame name
- bestofjs/bestofjs★ 3.1ksame name
- crbnos/carbon★ 2.9ksame name
- CelestoAI/SmolVM★ 2.2ksame name
- moeru-ai/xsai★ 670same name
- nodetool-ai/nodetool★ 669same name
- stevesolun/ctx★ 583same name
- aws/graph-explorer★ 495same name
143 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- architectureSkill
- brainstormingSkill
- commit-pushSkill
- docs-standardsSkill
- domain-modelingSkill
- e2e-playwrightSkill
- executing-plansSkill
- grillingSkill
- migrating-legacy-codeSkill
- prototypeSkill
- routingSkill
- security-testingSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- writing-plansSkill
The file
Files
<!-- Adapted from github.com/mattpocock/skills · skills/engineering/resolving-merge-conflicts (MIT, © 2026 Matt Pocock). Adjusted for R-015, R-114, R-119. -->- See the state:
git status, merge or rebase, which commit, which files conflict. The conflict comes from the work of a session / subagent that is still alive → let it resolve its own, it knows the intent. - Find the origin of each side:
git log/git showof both commits, the PR / ticket if any; understand why each change was made. - Resolve hunk by hunk: keep both intents when possible. Incompatible → pick the side that fits the goal of the merge and record the trade-off. Do not invent new behavior. A hunk whose intent cannot be inferred → stop, quote the hunk, ask the user.
--abortonly when the user says so. - Run the project's automatic checks (typecheck → test → format the right files) per R-119; fix what the merge broke.
- Finish:
git addeach resolved file by name (never-A/.). Report to the user the file list and the trade-offs chosen; commit orrebase --continueonce the user agrees (R-015).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

