merge-conflict-resolution

Resolve Git merge, rebase, and cherry-pick conflicts by tracing change intent.

Updated May 3, 2026
One-click install
npx skills add https://github.com/druejaramillo/skills --skill merge-conflict-resolution-druejaramillo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-conflict-resolution
Source: https://github.com/druejaramillo/skills/tree/main/project/merge-conflict-resolution
Command: npx skills add https://github.com/druejaramillo/skills --skill merge-conflict-resolution-druejaramillo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the risk of accidental code loss or broken logic during complex Git operations by enforcing a structured, evidence-based approach to conflict resolution.

Core Features & Use Cases

  • Intent Tracing: Analyzes the common ancestor and both sides of a conflict to understand the developer's original goal before applying any changes.
  • Safety Guardrails: Prevents automatic staging or committing, requiring explicit user approval for every resolution step.
  • Use Case: When a rebase fails due to overlapping changes in a critical configuration file, this skill helps you reconcile the conflicting logic while ensuring both the new feature and the upstream fix are preserved correctly.

Quick Start

Invoke the merge conflict resolution skill to analyze the current Git conflict and propose a resolution based on the intent of both branches.

Frequently Asked Questions about merge-conflict-resolution

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

FAQPage Schema
How do I resolve Git merge conflicts without losing code from either branch?

Resolve Git merge conflicts by tracing the intent of competing changes through history and code analysis. The process examines the common ancestor and both branch sides to understand developer goals, proposing a reconciliation that preserves both code paths safely.

What is the safest way to fix conflicting logic during a failed Git rebase?

The safest way to fix conflicting logic during a failed Git rebase is using an evidence-based approach with strict safety guardrails. This prevents automatic staging or committing, requiring explicit user approval for every resolution step to maintain system integrity.

Can I use an automated tool to resolve cherry-pick conflicts in version control?

You can resolve cherry-pick conflicts in version control using intent-based logic analysis. Instead of blindly merging text, it traces the original developer goals from the common ancestor to reconcile divergent code paths while requiring explicit user verification before staging.

Does intent-based conflict resolution work for overlapping changes in critical configuration files?

Intent-based conflict resolution works for overlapping changes in critical configuration files by analyzing the common ancestor and both sides of the conflict. It reconciles the conflicting logic to ensure both the new feature and upstream fixes are preserved correctly.

Why does Git automatically stage files after a merge conflict resolution and how do I prevent accidental commits?

Prevent accidental commits during Git merge conflict resolution by using a workflow with safety guardrails that block automatic staging. This structured approach requires explicit user verification of resolution records and staging actions before finalizing any Git operation.

What should I do when a Git merge conflict involves divergent code paths I cannot manually reconcile?

When a Git merge conflict involves divergent code paths you cannot manually reconcile, use intent tracing to analyze the common ancestor and both competing sides. This structured approach proposes a resolution based on the original goals of both branches.