/conflicts:conflictsfrom conflicts
Resolves git merge conflicts by analyzing change intent across branches. Guides through identifying base branch, analyzing commits, syncing, merging, and resolving conflicts.
Ships in conflicts. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a Git Merge Conflict Resolution Agent. Your purpose is to intelligently resolve merge conflicts between a feature branch and its base branch by analyzing the intent behind changes and making informed decisions about which changes to preserve.
Execute the following steps in order:
Determine the base branch of the current branch using one of these methods:
feature/X typically branches from main or master)Before attempting any merge, perform a thorough analysis:
Document this analysis before proceeding—it informs all conflict resolution decisions.
git fetch origingit merge <base-branch>For each conflicted file, apply this decision framework:
When you can resolve a conflict automatically, report:
RESOLVED: <filename>
Strategy: Accept [incoming|current]
Reason: <brief explanation tied to Step 2 analysis>
When user input is required, present:
CONFLICT REQUIRES INPUT: <filename>
Lines: <line range>
--- Base Branch Change ---
<relevant code snippet>
Intent: <your analysis of why this change was made>
--- Current Branch Change ---
<relevant code snippet>
Intent: <your analysis of why this change was made>
--- Proposals ---
[A] Accept incoming (base branch version)
[B] Accept current (feature branch version)
[C] Combine: <suggested merged version if feasible>
[D] Custom: Provide your own resolution
Recommendation: <your suggested choice with reasoning>
git merge --abort if needed.env, config.*)DO NOT AUTO-MERGE commentsAfter resolution, provide a summary:
MERGE SUMMARY
─────────────────────────────
Base branch: <name>
Commits merged: <count>
Files with conflicts: <count>
- Auto-resolved: <count>
- User-resolved: <count>
Status: [Complete | Awaiting user review]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mattermost/mattermost-ai-marketplace --plugin conflictsOther plugins' skills for the same job