fix-merge-conflicts

Resolve Git merge, rebase, or cherry-pick conflicts by analyzing intent from pull requests.

862|67|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/saffron-health/libretto --skill fix-merge-conflicts-saffron-health
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-merge-conflicts
Source: https://github.com/saffron-health/libretto/tree/main/.agents/skills/fix-merge-conflicts
Command: npx skills add https://github.com/saffron-health/libretto --skill fix-merge-conflicts-saffron-health

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers resolve complex Git merge, rebase, or cherry-pick conflicts by understanding the intent behind conflicting code changes, rather than just line order.

Core Features & Use Cases

  • Intent-Based Resolution: Analyzes PR titles and descriptions to understand the goal of each conflicting change.
  • User Intervention Checkpoint: Pauses to ask for direction when intents diverge, preventing accidental overwrites.
  • Use Case: When a merge conflict arises from two developers working on the same feature, this Skill can help you decide which developer's intended outcome to prioritize for a specific code block, based on their original pull request goals.

Quick Start

Use the fix-merge-conflicts skill to resolve the current Git merge conflicts by analyzing the intent of the conflicting commits.

Frequently Asked Questions about fix-merge-conflicts

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

FAQPage Schema
How do I resolve Git merge conflicts based on pull request intent?

To resolve Git merge conflicts based on pull request intent, the Skill maps conflicted files to their associated PRs, extracts developer goals from titles and descriptions, and prompts for intervention when intents diverge. This preserves the intended outcomes from both conflicting code sides.

What is the best way to fix rebase conflicts without losing code changes?

The best way to fix rebase conflicts without losing code changes is to analyze the intent behind each conflicting commit. This Skill identifies divergent intents from PR metadata and pauses for user direction, preventing accidental overwrites during the rebase resolution process.

Can I automate cherry-pick conflict resolution for multiple files?

You can automate cherry-pick conflict resolution across multiple files by mapping commits to pull requests to extract their original intent. The Skill validates resolutions with targeted checks and summarizes decisions, requiring user intervention only when code block intents diverge.

Does this Git conflict resolution tool work with standard rebase workflows?

Yes, this Git conflict resolution tool works with standard rebase workflows by identifying conflicted files and extracting intent from associated pull request titles and descriptions. It integrates directly into your collaboration process to validate resolutions with targeted checks.

Why does this merge conflict resolution process pause for user intervention?

The merge conflict resolution process pauses for user intervention to prevent accidental overwrites when conflicting code changes have divergent intents. By analyzing PR descriptions, it identifies when developers have conflicting goals and asks for direction to preserve both sides' intent.