From developer
Resolve git merge/rebase conflicts in a file using its history and the in-progress operation as context. Simple conflicts resolve automatically; complex ones (both sides added, or a migration/refactor collided with edits) pause for the user with evidence and a justified recommendation. Then follows links to conflicted test siblings and refactor parents/children. Usage: resolve-conflicts <filepath>. Use when the user says "resolve conflicts", "fix the merge", "resolve this conflict", or hands you a conflicted file.
How this skill is triggered — by the user, by Claude, or both
Slash command
/developer:resolve-conflicts <filepath><filepath>The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Resolve conflicts the way a careful engineer would: understand what each side was trying to do
Resolve conflicts the way a careful engineer would: understand what each side was trying to do before touching a marker, auto-resolve only what's unambiguous, and bring the user in with evidence when intent actually clashes. Then keep the resolution consistent across the file's test sibling and any refactor relatives that are also conflicted.
Before reading the file, understand the operation in progress — it sets the meaning of "ours" and "theirs" (they invert between merge and rebase, and cherry-pick/revert behave like rebase):
MERGE_HEAD), rebase (rebase-merge/rebase-apply),
cherry-pick (CHERRY_PICK_HEAD), or revert.<filepath> actually contains conflict markers. If git reports it conflicted but there
are none, it's a delete/rename conflict — handle that as a complex case (Step 4).Done when: you can name what each side represents and how they relate to this file.
For the conflicted file, collect the three versions and the intent behind each side:
Delegate to /look-up if you need to pull in related files to understand a side's change.
Done when: every conflict hunk has base/ours/theirs and a one-line statement of each side's intent.
Simple (resolve automatically in Step 4): intent is unambiguous and the sides don't fight:
Complex (escalate to the user in Step 5): intent clashes or both sides changed meaning:
When unsure, treat it as complex. Auto-resolution is only for cases with one defensible answer.
Done when: each hunk is tagged simple or complex.
Apply the obvious resolution for each simple hunk. For "both sides added, no interaction" keep both. Record what you did and why in one line each — this goes in the Step 7 summary.
Done when: no simple hunks remain in the file.
This is the mandatory pause. For each complex hunk, present to the user:
Wait for the user's decision before writing the hunk. Never apply a complex resolution unprompted.
Done when: the user has chosen a path for every complex hunk and it's applied.
git add <filepath>).git rebase --continue / git commit to complete the operation — that's the
user's call. Note it as outstanding in the summary.Done when: the file is marker-free, coherent, and staged.
A resolution in one file usually implies resolutions in related files. For each link below, act
only on files git currently reports as conflicted — never edit clean files (out of scope).
Pull each linked file in with /look-up, then run it through Steps 2–6, keeping the resolution
consistent with the decision already made here.
<filepath> has a corresponding test file (or is one, find its subject),
resolve that file next so tests match the resolved behaviour.Recurse: a linked file may surface its own test sibling or refactor relatives. Track what you've visited so you don't loop.
Done when: the conflicted set reachable from <filepath> via test and refactor links is resolved.
Report: every file touched, each conflict and how it was resolved (auto vs user-decided), files
followed via links, and what's still outstanding (e.g. "rebase still in progress — run
git rebase --continue when ready"). Do not commit on the user's behalf.
npx claudepluginhub xxkeefer/skills --plugin developerCreates bite-sized, testable implementation plans from specs or requirements, with file structure and task decomposition. Activates before coding multi-step tasks.