resolve-conflicts

Analyze Git merge and rebase conflicts and recommend resolution strategies.

7|2|Updated Apr 23, 2026
One-click install
npx skills add https://github.com/mthines/agent-skills --skill resolve-conflicts-mthines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-conflicts
Source: https://github.com/mthines/agent-skills/tree/main/skills/resolve-conflicts
Command: npx skills add https://github.com/mthines/agent-skills --skill resolve-conflicts-mthines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers understand and resolve Git merge and rebase conflicts efficiently, reducing manual effort and errors during integration.

Core Features & Use Cases

  • Conflict Detection: Identifies active merge or rebase conflicts in a repository.
  • Conflict Analysis: Shows detailed diffs and conflict markers within files to aid decision-making.
  • Resolution Guidance: Provides recommendations on accepting current changes, incoming changes, merging, or manual editing.
  • Use Case: When facing a complex merge conflict, users can follow the guidance to resolve issues quickly and accurately, avoiding common pitfalls and mistakes.

Quick Start

Ask the AI to analyze your current Git conflict state and suggest resolutions based on the conflict details presented.

Frequently Asked Questions about resolve-conflicts

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

FAQPage Schema
How do I resolve complex Git merge conflicts accurately?

To resolve Git merge conflicts, analyze the conflicting changes using detailed diffs and conflict markers, then choose to accept current changes, incoming changes, merge them, or manually edit the files to ensure smooth version control integration.

What happens during a Git rebase conflict?

A Git rebase conflict occurs when overlapping changes block the rebase process. The repository enters a conflict state, requiring you to diagnose the conflicting file segments and apply the appropriate correction strategy before continuing.

What's the best way to understand Git conflict markers in my code?

Understanding Git conflict markers involves reading the detailed diffs to see the boundaries between current and incoming changes. This analysis aids decision-making by showing exactly what overlapping modifications caused the integration failure.

How do I diagnose an active merge conflict state in my repository?

Diagnosing an active merge conflict state requires checking the repository for active merge or rebase operations, then examining the specific files with conflict markers to identify the exact overlapping changes needing resolution.

When should I manually edit files instead of accepting incoming changes during a Git merge?

You should manually edit files during a Git merge when neither the current nor incoming changes are entirely correct, requiring you to combine segments from both versions to produce an accurate merged output.