Skip to content
Back to skills

Merge Conflict

ASecurity

Finds all merge conflict markers in the repo and resolves them with explanation

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 1, 2026
ai-agentsgobashgit

Security analysis

A100/100

Scanned June 1, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill merge-conflict --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Merge Conflict?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Merge Conflict
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/berkcangumusisik-merge-conflict/badge)](https://www.skillsdirectory.com/skills/berkcangumusisik-merge-conflict)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: merge-conflict
description: Finds all merge conflict markers in the repo and resolves them with explanation
user-invocable: true
allowed-tools: Bash(git *) Read Edit Grep
effort: medium
---

## Resolve Merge Conflicts

1. Find all files with conflicts:
```bash
git diff --name-only --diff-filter=U
grep -rl "<<<<<<< " . --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.py" --include="*.go" 2>/dev/null
```

2. For each conflicted file:
   - Read the full file
   - For each conflict block (`<<<<<<< / ======= / >>>>>>>`) explain:
     - What **HEAD** (ours) is trying to do
     - What **theirs** is trying to do
     - Why there's a conflict

3. Propose the resolution for each conflict. Explain the reasoning.

4. Ask for confirmation, then apply.

5. After all conflicts resolved:
```bash
git add .
```

Remind the user to run tests before committing.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.