name: merge-resolution description: Merge conflict resolution conventions. Use when resolving git merge conflicts, especially in dependency files and lock files.
Merge Resolution
Version Conflicts
Prefer newer versions:
<<<<<<< HEAD
"package": "^2.0.0"
=======
"package": "^1.9.0"
>>>>>>>
# Resolve to: "^2.0.0"
Lock Files
Never manually resolve. Regenerate:
# Python
rm uv.lock && uv lock
# Node.js
rm package-lock.json && npm install
Pre-commit Config
For .pre-commit-config.yaml, prefer newer hook versions from the update branch.
Validation
git diff --check # No whitespace issues
grep -r "<<<<<<" . # No remaining markers
chat Comments (0)
Sign in to join the discussion and leave a comment.
Skill Details
GitHub Stars
0
GitHub Forks
0
Created
Jan 2026
Last Updated
5 months ago
tools
tools git workflows
Related Skills
Build your own?
Join 12,000+ developers contributing to the Claude ecosystem.
No comments yet. Be the first to share your thoughts!