resolve-conflicts
Skill0 starsChanged 25 days agoMITView on GitHub
Resolve git merge/rebase/cherry-pick/stash conflicts with judgment: resolve unambiguous cases, apply the autonomy mode to behavior-changing ones, and report every resolution so it can be checked. Use whenever a git operation reports conflicts, or on "resolve conflicts", "fix the conflicts", "there are merge conflicts".
16 other projects use a version of this.
Adopted by
Most recently taken up by
- domengabrovsek/agent-configtheir own version, first seen Nov 8, 2026
- domengabrovsek/claudetheir own version, first seen Nov 8, 2026
- LeonardiFranco/skillstheir own version, first seen Nov 8, 2026
- marinvch/Cortextheir own version, first seen Nov 1, 2026
- SantiagoVqz/claude-skillstheir own version, first seen Nov 1, 2026
- edloidas/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use worktree, worktrees and 8 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.
MicrosoftSkillworktree
Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.
Also in 5 projects that use this
nilecuiSkillworktrees
Guide for using git worktrees to parallelize development with coding agents. Use this skill when the user requests to work in a new worktree or wants to work on a separate feature in isolation (e.g., "Work in a new worktree", "Create a worktree for feature X").
Also in 3 projects that use this
johnlindquistSkilldiagram
Maintain and synchronize Unified Impact Diagrams following Diagram Driven Development (DDD) methodology. Create, update, and manage diagrams that connect user value to technical implementation.
Also in 3 projects that use this
AWSSkillwizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
Also in 4 projects that use this
sunnyclinches44Skillexplain
Explains code using real-world analogies and ASCII diagrams
Also in 4 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 5 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- domengabrovsek/agent-config★ 22same name
- domengabrovsek/claude★ 22same name
- mthines/agent-skills★ 20same name
- loremaster-ai/loremaster★ 4same name
- ralphkrauss/agent-orchestrator★ 4same name
- edloidas/skills★ 2same name
- Pradnyeshp/Claude-Skills★ 2same name
- SantiagoVqz/claude-skills★ 2same name
- LeonardiFranco/skills★ 1same name
- marinvch/Cortex★ 1same name
6 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 repository18 other files it gives its agents.
- address-commentsSkill
- demoSkill
- deploySkill
- documentSkill
- gather-contextSkill
- implementSkill
- investigateSkill
- observeSkill
- pr-follow-upSkill
- project-profileSkill
- pr-reviewSkill
- qa-planSkill
- qaSkill
- specSkill
- sprintSkill
- standupSkill
- todoSkill
- triageSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Read the actual hunks; never guess from filenames.
- Distinctive: line 22
When unsure which side is which, say so before touching anything.
- Distinctive: line 43
Leave an operation half-finished.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resolve conflicts
Follow ../../shared/policy.md.
Orient
Read the actual hunks; never guess from filenames.
git status # which operation is in progress
git diff --name-only --diff-filter=U # conflicted files- Merge:
ours= currentHEAD(branch merged into);theirs= branch being merged. - Rebase: inverted:
ours= the base being replayed onto;theirs= your commits. When unsure which side is which, say so before touching anything.
Unambiguous: resolve in every mode
- Non-overlapping edits in the same hunk.
- Additive, order-independent lines: imports, dependency entries, new methods, routes, map keys.
- Generated files (lockfiles, schema dumps, generated clients, annotations): take one side and regenerate with the project's command when quick; say so.
- One side is a strict superset of the other.
Behavior-changing: apply the mode
Both sides changed the same logic incompatibly; or the conflict is in a migration, auth, billing, crypto, or other high-blast-radius code; or you cannot explain why a resolution is right.
autonomous: resolve with your best judgment, mark it REVIEW in the report, never push it without the confirmation list.balanced/guided: abort cleanly (git merge --abort/git rebase --abort/git cherry-pick --abort), show both sides with the trade-off and a recommendation, and ask.guidedalso asks for any non-trivial resolution above.
Never
- Take
--ours/--theirsfor a whole file just to clear the conflict. git checkout .,reset --hard, force-push, or anything that discards the other side's work.- Leave an operation half-finished.
Finish and report
git add <files> then git commit --no-edit (merge/cherry-pick) or git rebase --continue.
Committing a merge resolution follows the mode's commit checkpoint.
For every conflict:
Conflict:
config/routes.rb(~line 210) Base had: newresources :webhooks. Your side had: newresources :reports. Resolved: kept both: additive, non-overlapping.
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.

