265866/claude-config/resolving-merge-conflicts
Claude Code and agent skill by 265866/claude-config
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Resolves each conflicting hunk from the original intent of both sides, runs the project's checks, and finishes the merge or rebase, stopping to ask only when a hunk needs a product decision or the user withdrew authorization for the operation or for work it depends on. Use when you need to resolve an in-progress git merge/rebase conflict.
Install
npx vskill@latest install 265866/claude-config/resolving-merge-conflictsSKILL.md
The same SKILL.md was published earlier as 265866/claude-config/resolving-merge-conflicts.
Resolving merge conflicts
- See the current state of the merge/rebase. Check git history, and the conflicting files. Check the resume marks. If they hold this operation as withdrawn or blocked by withdrawal, directly or through its change, its branch, or a withdrawn PR below its branch in the stack, leave it untouched and ask the user before resolving it. Run the owning playbook's review on files they mark unreviewed before step 5.
- Find the primary sources for each conflict. Understand deeply why each change was made, and what the original intent was. Read the commit messages, PRs, and linked issues or tickets through access you already have. Connect an already-available read-only tool when it helps, and report it.
- Resolve each hunk. Preserve both intents where possible. Where incompatible, pick the one matching the merge's stated goal and note the trade-off. Do not invent new behavior. Resolve every hunk the evidence settles. When a hunk needs a product or preference decision that evidence cannot settle, leave the merge or rebase in progress with the settled hunks resolved, and ask about that hunk with both intents and a recommendation. Never
--aborton your own, because it discards the resolution work; abort only when the user asks.
- Discover the project's automated checks and run them in the order
rules/toolchains.mdsets: the narrow behavior check for the conflicted code first, then the configured type, build, format, and lint gates and relevant tests. Fix anything the merge broke.
- Finish the merge/rebase. Stage the resolved files and complete the in-progress operation with its own non-interactive command (
git commit --no-editfor a merge; for a rebase,GIT_EDITOR=true git rebase --continuein bash, or$env:GIT_EDITOR='true'and thengit rebase --continuein PowerShell, becauseGIT_EDITORoverridescore.editor) until all commits are applied. This completion commit belongs to this skill rather than the commit-agent, which stops on an in-progress merge. Push the result per CLAUDE.md (Authorization and ownership).
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/resolving-merge-conflicts/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/265866/claude-config/resolving-merge-conflicts)