melt

Resolve git merge, rebase, and cherry-pick conflicts using mergiraf, rerere, and kdiff3.

15|1|Updated May 4, 2026
One-click install
npx skills add https://github.com/paulnsorensen/easy-cheese --skill melt-paulnsorensen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: melt
Source: https://github.com/paulnsorensen/easy-cheese/tree/main/skills/melt
Command: npx skills add https://github.com/paulnsorensen/easy-cheese --skill melt-paulnsorensen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Fixes stalled git workflows by resolving merge, rebase, or cherry-pick conflicts automatically when conflict markers are present, then guiding remaining conflicts to completion.

Core Features & Use Cases

  • Structural merge first (mergiraf): Attempts an AST-aware structural merge to combine base/ours/theirs before falling back to text-based or manual steps.
  • Replay past resolutions (git rerere): Reuses recorded human resolutions for recurring conflict signatures during long-running rebases.
  • Manual fallback (kdiff3): Opens a three-way diff tool for any conflicts the earlier stages cannot resolve.
  • Special-case guardrails: Detects squash-merge residue up front and stops to present the correct user remedies rather than trying to “fix” an incompatible history state.

Quick Start

Ask the AI to run the conflict resolver by saying: /melt

Frequently Asked Questions about melt

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

FAQPage Schema
How do I resolve git merge conflicts automatically during a rebase?

You can resolve git merge conflicts during a rebase by applying a structural-merge cascade that attempts AST-aware merging first, reuses past resolutions, and then falls back to a three-way diff tool for any remaining files.

What is the best way to handle recurring git conflict signatures in long-running rebases?

Handling recurring git conflict signatures in long-running rebases is done by replaying past recorded resolutions, allowing the system to reuse previously applied human resolutions for identical conflict patterns.

Does git rerere work with structural merge tools for conflict resolution?

Git rerere works with structural merge tools by receiving the output of an AST-aware structural merge, which combines base, ours, and theirs branches before rerere attempts to replay recorded historical resolutions.

Why does my git conflict resolver fail on squash-merge residue?

A git conflict resolver fails on squash-merge residue because it detects the incompatible history state up front and stops to present correct manual remedies rather than attempting to fix an invalid state.

How do I resolve cherry-pick conflicts with lockfiles and conflict markers?

Resolving cherry-pick conflicts with lockfiles and conflict markers involves orchestrating batch resolution scripts and specialized lockfile handling after performing a squash-residue precheck and generating a conflict summary.

When should I manually resolve git conflicts instead of using an automatic tool?

You should manually resolve git conflicts when an AST-aware structural merge and recorded past resolutions fail, requiring a three-way diff tool to handle the remaining unresolved files.