resolving-merge-conflicts

Resolves git merge and rebase conflicts by tracing original intent and running project checks.

2|Updated Jun 21, 2026
One-click install
npx skills add https://github.com/IsKenKenYa/skills --skill resolving-merge-conflicts-iskenkenya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolving-merge-conflicts
Source: https://github.com/IsKenKenYa/skills/tree/main/skills/engineering/resolving-merge-conflicts
Command: npx skills add https://github.com/IsKenKenYa/skills --skill resolving-merge-conflicts-iskenkenya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Merge and rebase conflicts stall development when it is unclear why each side changed the code, and resolving them blindly risks losing one side's intent or breaking the build. ## Core Features & Use Cases - Intent-Grounded Resolution: Inspects git history, commit messages, PRs, and original issues to understand why each conflicting change was made before resolving. - Hunk-by-Hunk Resolution: Preserves both intents where possible, picks the side matching the merge's stated goal when incompatible, and never aborts the merge. - Verification and Completion: Runs the project's automated checks (typecheck, tests, format), fixes merge-induced breakage, then stages, commits, and finishes the merge or rebase. - Use Case: You are mid-rebase with conflicts across several files and unsure which side is correct. This Skill traces each conflict back to its originating commit and PR, resolves every hunk, runs the test suite, and completes the rebase. ## Quick Start Resolve the conflicts in my current git rebase, preserving the intent of both branches, then run the tests and finish the rebase.

Frequently Asked Questions about resolving-merge-conflicts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resolve git merge conflicts without losing changes?

Resolve each conflicting hunk by first understanding why both sides changed the code, using git history, commit messages, and PRs. Preserve both intents where possible, and when they are incompatible, keep the change matching the merge's stated goal while noting the trade-off.

How to finish a git rebase after fixing conflicts?

After resolving all conflicting files, stage everything and continue the rebase until all commits are replayed. Run the project's automated checks such as typecheck and tests first to catch anything the merge broke.

Should I use git merge or git rebase when conflicts happen?

Both produce conflicts when branches diverge on the same lines, and the resolution process is the same: inspect each hunk, understand intent, and resolve. This Skill handles either case and always completes the operation rather than aborting.

Why do merge conflicts keep breaking my build after resolution?

Textual conflict resolution does not guarantee semantic correctness; two changes can merge cleanly yet break types or tests together. Always run the project's automated checks after resolving and fix any breakage before committing.

When should I abort a merge instead of resolving conflicts?

This Skill never aborts; it always resolves conflicts by tracing original intent. Aborting is only appropriate when the merge itself was started by mistake, not because conflicts seem difficult.