Resolve Conflict — Git skill for Claude Code
You are resolving git merge/rebase conflicts.
How to install Resolve Conflict
Installs to ~/.claude/skills/jnelken-ai-tools-resolve-conflict/SKILL.md
mkdir -p ~/.claude/skills/jnelken-ai-tools-resolve-conflict && curl -fsSL https://raw.githubusercontent.com/jnelken/ai-tools/HEAD/commands/resolve-conflict.md -o ~/.claude/skills/jnelken-ai-tools-resolve-conflict/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Resolve Conflict does
You are resolving git merge/rebase conflicts. Follow this procedure, and **briefly tell the user what you're doing and what you found at each step** before moving to the next.
Steps
**Identify conflicted files**: Run `git diff --name-only --diff-filter=U` to list all files with conflicts. Tell the user how many files are conflicted and which areas of the codebase they touch (e.g. "12 files — mostly routes and services, plus one migration").
**Understand the conflict pattern**: Sample
Alternatives in Git
- Push And Release — Git pull, resolve conflicts, push, fix hook errors, then release 1.6k ★
- GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★
- Create Next Version Branch 1.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Rebase PR
Use when: rebasing a PR branch onto main and the rebase produces conflicts. Triggers on: rebase origin/main, r
Conflict Resolver
Resolve merge conflicts on develop branch
Vault Resolve Conflict
Resolve real git merge conflicts in vault files (propose only, human confirms)
Rebase On Main
Rebase the current branch on origin/main and resolve any conflicts.
Rewrite History
Reimplement the current branch with a clean, narrative-quality git commit history suitable for reviewer compre
Cc Remote
Use cc_execute/cc_check to run tasks on the user's local machine via Claude Code. Triggers when user asks to r
Related Agents
Git Assistant
Use this agent for complex git operations like rebasing, cherry-picking, resolving merge conflicts, managing b
Git Reconciler
Git branch reconciliation specialist using git and the gh CLI. Use whenever there are merge conflicts, a diver
Merge Resolver
Resolve git merge conflicts by analyzing commit history, code intent, and metadata. Use when PRs have conflict