claude/ai-resources-plugin/skills/fix-merge-conflicts/SKILL.md
Resolve git merge conflicts. Use when git status shows unmerged paths or files contain standard Git conflict markers.
npx skillsauth add amhuppert/my-ai-resources fix-merge-conflictsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Resolve git merge conflicts systematically by understanding the intent behind conflicting changes before proposing resolutions.
!git status
Follow all five phases in order. Complete analysis and receive user approval before implementing any changes.
Examine what changed in each branch:
MERGE_HEAD (merge), REBASE_HEAD (rebase), or CHERRY_PICK_HEAD (cherry-pick) to identify the operation in progressgit log --oneline --graph HEAD <source_HEAD> to see commit history on both sidesgit diff --name-only --diff-filter=U to list all files with conflictsgit show on commits that modified the conflicting filesgit diff HEAD...<source_HEAD> -- <file> to see branch-level differencesFrom the analysis, identify:
Determine the resolution strategy:
Present the resolution plan to the user before making any changes. Include:
Implement changes ONLY after the user explicitly approves the resolution plan.
After approval:
git diff to verify the resolution looks correctgit adddevelopment
Debug a running web app via the web-debugger SDK: app logs, application state, runtime snapshots, React state, query cache.
development
Thoroughly understand a software development objective before implementation: research, identify ambiguities, ask clarifying questions. Use before starting implementation of a non-trivial or ambiguously specified feature, or when requirements leave open design decisions.
development
Locate the on-disk Claude Code transcript file (.jsonl under ~/.claude/projects/) for the current or a specified conversation.
development
Reflect on codebase navigation effectiveness at end of conversation. Surfaces dead ends, inefficiencies, missing context. Does not write files — pair with /kiro:steering-custom to persist.