merge-conflict-resolution

merge-conflict-resolution is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 114 tokens per session (1,088 once invoked), scanned A, original, Apache-2.0.

A workflow for finding, classifying, and resolving Git merge conflicts, which happen when branches change overlapping code. It includes checks after the resolution.

In plain words
What is it for?
Use it to inspect conflicted files, choose a resolution strategy, merge difficult sections manually when needed, and run builds and tests afterward.
Why use it?
It helps preserve relevant changes from both sides and catches leftover conflict markers or newly introduced failures.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter; names the AskUserQuestion tool.

Part of the flow plugin — 33 skills, 21 commands, 9 agents shipped together

Good fit Use it to inspect conflicted files, choose a resolution strategy, merge difficult sections manually when needed, and run builds and tests afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/synapti-marketplace/merge-conflict-resolution
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synaptiai/synapti-marketplace --skill merge-conflict-resolution
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 21 commands, 9 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for merge-conflict-resolution

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/merge-conflict-resolution/github.svg)](https://agentmods.dev/skills/synaptiai/synapti-marketplace/merge-conflict-resolution)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/merge-conflict-resolution"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/merge-conflict-resolution/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for merge-conflict-resolution

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/merge-conflict-resolution"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/merge-conflict-resolution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,088 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.01088
Opus 5 $0.00057 $0.00544
Sonnet 5 $0.00023 $0.00218
Haiku 4.5 $0.00011 $0.00109

Measured 2d ago against content hash 221c40650ea1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

merge-conflict-resolution scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/flow/skills/merge-conflict-resolution/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Merge Conflict Resolution

Contract

Iron law: never silently drop changes — every resolution accounts for both sides, documents any excluded lines, and asks the user rather than guessing. Invoked by /flow:resolve Phase 1 (detect and classify), Phase 2 (per-file strategy plan), Phase 3 (resolve hunks), and Phase 4 (marker audit, complete merge/rebase, quality checks). Returns, per conflicted file: type (UU/AA/UD/DU/AU/UA), complexity (trivial/semantic/structural/delete-modify), strategy (accept-ours/accept-theirs/manual-merge/ask-user), hunk count, and result, plus the quality outcome. Permitted skips: none — trivial files auto-resolve only when conflictResolution.autoResolveTrivial is true; delete-modify and competing hunks always go to the user.

Detect

git diff --name-only --diff-filter=U
git status --porcelain

Settings: conflictResolution.autoResolveTrivial (default true), conflictResolution.maxConflictFiles (default 20). Above the limit, AskUserQuestion: proceed anyway, or abort and rebase in smaller steps.

Classify

Status Type
UU Content — both sides modified the same file
AA Add-add — both sides added the same name
UD Delete-modify — ours deleted, theirs modified
DU Delete-modify — theirs deleted, ours modified
AU / UA Rename collision
Complexity Meaning
trivial Non-overlapping changes in different sections
semantic Both sides change the same logical unit
structural One side refactored (moved code, renamed, restructured)
delete-modify One side deleted what the other modified

Strategy

Strategy When Autonomy
accept-ours Their change is superseded by ours Tier 1 for trivial
accept-theirs Our change is superseded by theirs Tier 1 for trivial
manual-merge Both changes are needed Tier 2 — show rationale
rebase Linear history wanted, few conflicts Tier 2 — show rationale

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · -61 lines 221c40650ea1
  2. 9d ago First seen · 132 lines · 114 tokens per session scan A f2a1a93ded5d

Subscribe to this mod's changes

merge-conflict-resolution is a skill published in the GitHub repository synaptiai/synapti-marketplace (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 114 tokens to every session and 1,088 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

create-pr

Creates a GitHub Pull Request on the current branch with a description focused on WHAT changed (not HOW). Uses emojis in the title and description. Use when the user asks to create a PR, open a pull request, or submit changes for review. Triggers on mentions of PR, pull request, merge request, or code review.

CaptainMe-AI/lead-dev-os · 70 tokens

document

Run /document pr | changelog | release-note | postmortem (or let it ask) to write the human facing prose about a change. Drafts from the real commits and diff, writing to the right place. Does not write code, tests, or specs.

jsmastery-pro/skills · 65 tokens

debug

Run /debug to find and fix a bug's root cause: a test failing for an unclear reason, /check verify finding a failure, or behavior being wrong. Runs a reproduce, localize, hypothesize, test, fix, verify loop, makes the minimal fix, and hands a regression test to /test. No features, no extra refactors.

jsmastery-pro/skills · 74 tokens

resolving-merge-conflicts

Use when a git merge or rebase reports conflicts and the operation is in progress.

romiluz13/cc10x · 25 tokens

git-investigate

Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report.

sd0xdev/sd0x-harness · 53 tokens

x-bug2rag

A knowledge-capture tool that turns reusable bug explanations into a local RAG collection, meaning a searchable store of text that an agent can retrieve later. It records the trigger, incorrect implementation, correct implementation, and observable difference.

KtKID/x-dev-pipeline · 255 tokens