resolving-merge-conflicts

Resolves in-progress git merge and rebase conflicts while preserving both change intents.

2|Updated May 12, 2026
One-click install
npx skills add https://github.com/tajo9128/BioDockify-Pharma-AI --skill resolving-merge-conflicts-tajo9128
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolving-merge-conflicts
Source: https://github.com/tajo9128/BioDockify-Pharma-AI/tree/main/.agents/skills/resolving-merge-conflicts
Command: npx skills add https://github.com/tajo9128/BioDockify-Pharma-AI --skill resolving-merge-conflicts-tajo9128

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Merge and rebase conflicts interrupt development work and are often resolved hastily, losing the intent behind one side of the change or introducing regressions that break the build. ## Core Features & Use Cases - Intent-Preserving Resolution: Traces each conflict back to its primary sources (commit messages, PRs, original issues) so both sides' goals are understood before editing. - Guided Hunk-by-Hunk Workflow: Resolves each conflicting hunk deliberately, preserving both intents where possible and documenting trade-offs where they are incompatible. - Verification Before Completion: Runs the project's automated checks (typecheck, tests, formatting) after resolution and finishes the merge or continues the rebase to completion. - Use Case: You run git rebase main on a long-lived feature branch and hit conflicts across five files. The Skill inspects the conflicting commits, resolves each hunk according to the rebase's stated goal, runs the test suite, and continues the rebase until all commits are applied. ## Quick Start Resolve the current git merge conflict in my repository, then run the tests and finish the merge.

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 a git merge conflict step by step?

First inspect the merge state and conflicting files, then trace each conflict to its source commits and PRs to understand intent. Resolve each hunk preserving both intents where possible, run the project's typecheck and tests, then stage everything and commit to finish the merge.

How to resolve conflicts during a git rebase?

During a rebase, resolve each conflicting hunk in the affected files, stage the changes, and continue the rebase process. Repeat for every commit until all commits are rebased, and run the project's automated checks to confirm nothing broke.

Should I use git merge or git rebase for my branch?

Both are supported by this workflow. Merge preserves branch history with a merge commit, while rebase replays commits for a linear history. The resolution approach is the same: understand each change's intent and never abort mid-conflict.

What should I do when both sides of a conflict are incompatible?

Pick the side that matches the merge's stated goal and note the trade-off explicitly. Do not invent new behavior that neither side intended, and verify the decision by running the project's tests and typecheck afterward.

Why do merge conflicts keep breaking my build after resolution?

Conflicts resolved without understanding the original intent often combine incompatible assumptions. Always read the commit messages and linked issues behind each change, then run typecheck, tests, and formatting before committing the resolution.