Resolving-Conflict

Resolve Git conflicts during rebase or merge operations.

1|1|Updated Oct 15, 2025
One-click install
npx skills add https://github.com/MilesChou/claude-marketplace --skill resolving-conflict
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Resolving-Conflict
Source: https://github.com/MilesChou/claude-marketplace/tree/main/plugins/git/skills/resolving-conflict
Command: npx skills add https://github.com/MilesChou/claude-marketplace --skill resolving-conflict

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solves? Git conflicts during rebase or merge operations can be daunting and time-consuming, often leading to frustration and errors. This Skill provides a systematic, guided process to identify, analyze, and resolve conflicts, ensuring clean code integration and letting you focus on development, not debugging merge issues.

Core Features & Use Cases

  • Conflict Detection: Automatically identifies if you're in a rebase or merge conflict state and lists all conflicting files.
  • Guided Resolution: Presents conflicting file contents clearly and offers structured options for resolution (ours, theirs, manual integration).
  • Workflow Completion: Guides you through git add and git rebase --continue or git commit to finalize the process.
  • Use Case: You've just pulled changes and hit a merge conflict. Activate this Skill to have Claude walk you through each conflicting file, showing you the differences and helping you choose the correct resolution, then completing the merge for you.

Quick Start

User: I'm stuck in a Git merge conflict. Can you help me resolve it? Agent: Yes, I can use the Resolving-Conflict skill. First, I'll check your current Git status to understand the conflict. Then, I'll list the conflicting files for you.

Frequently Asked Questions about Resolving-Conflict

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resolve Git merge conflicts?

Resolving Git merge conflicts involves identifying conflicting files, reviewing the conflict markers (<<<<<<, ======, >>>>>>), choosing which changes to keep, and completing the merge with git add and git commit. This Skill automates that process by listing conflicts, guiding you through each file, and finalizing the operation.

What's the difference between resolving a merge conflict and a rebase conflict?

Merge conflicts occur when integrating branches with divergent changes; rebase conflicts occur when replaying commits onto a new base. Both produce conflict markers in files. This Skill handles both scenarios—it detects your current state, lists all conflicting files, and guides resolution before completing with either git commit or git rebase --continue.

Can I automate the process of choosing conflict resolution options?

This Skill structures conflict resolution by presenting each conflicting file and offering resolution options: accept ours (your changes), accept theirs (incoming changes), or integrate both manually. It guides you through each file sequentially and handles the git add and finalization commands automatically.

How do I know which files have conflicts during a merge or rebase?

During a merge or rebase conflict state, Git marks conflicting files in your working directory. This Skill automatically detects the conflict state and lists all conflicting files so you can see exactly which ones need resolution before proceeding.

Do I need to run git commands manually after resolving conflicts?

No. After you resolve each conflicting file, this Skill handles running git add on resolved files and executes git rebase --continue or git commit to finalize the operation, removing the need to run those commands separately.

What happens if I have multiple conflicting files in a single merge?

This Skill processes multiple conflicting files systematically, revealing each conflict block within each file and guiding you through resolution one file at a time until the entire merge or rebase operation completes.