Merge conflict

From berkcangumusisik/claude-code-practices · View interactive version

Merge conflict is an AI agent skill from the GitHub repository berkcangumusisik/claude-code-practices. Finds all merge conflict markers in the repo and resolves them with explanation

How to use this skill

Skill file

Resolve Merge Conflicts

  1. Find all files with conflicts:
git diff --name-only --diff-filter=U
grep -rl "<<<<<<< " . --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.py" --include="*.go" 2>/dev/null
  1. For each conflicted file:
  1. Propose the resolution for each conflict. Explain the reasoning.
  1. Ask for confirmation, then apply.
  1. After all conflicts resolved:
git add .

Remind the user to run tests before committing.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.