resolve-merge-conflicts

Extract unresolved paths, conflict hunks, and compact diffs from Git merges.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/lalaABC/waprcn --skill resolve-merge-conflicts-lalaabc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-merge-conflicts
Source: https://github.com/lalaABC/waprcn/tree/main/.agents/skills/resolve-merge-conflicts
Command: npx skills add https://github.com/lalaABC/waprcn --skill resolve-merge-conflicts-lalaabc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Resolve Git merge conflicts by extracting only unresolved paths, conflict hunks, and compact diffs without loading entire files.

Core Features & Use Cases

  • Provide per-file conflict context with concise diffs to speed resolution.
  • Generate index previews for conflicted files without applying changes.
  • Use during merges, rebases, cherry-picks, or stash pops when conflicts arise.

Quick Start

Run the resolve-merge-conflicts script to produce a concise report of unresolved paths and per-file hunks for the current merge.

Frequently Asked Questions about resolve-merge-conflicts

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

FAQPage Schema
How do I resolve git merge conflicts without loading entire large files?

To resolve git merge conflicts efficiently, you can extract only unresolved paths, conflict hunks, and compact diffs. This approach provides per-file conflict context without loading entire files, preserving original contents while speeding up resolution.

Can I use this to get context for conflicts during a git rebase or cherry-pick?

Yes, you can extract conflict context during git rebases, cherry-picks, merges, or stash pops. It generates per-file conflict summaries and concise diffs whenever conflict markers are present in your files.

What is the best way to preview conflicted files before applying changes?

The best way to preview conflicted files is to generate index previews using a lightweight context extractor. This produces per-file summaries and compact diffs for quick review without modifying your original file contents.

Does this conflict resolution approach work with standard git diff outputs?

Yes, it works by extracting conflict hunks and producing compact diffs from standard git version control states. It leverages a Python-based context extractor to parse unresolved paths and generate concise reports for quick review.

Why should I extract only conflict hunks instead of viewing the full file diff?

Extracting only conflict hunks provides compact context that speeds up resolution. By avoiding loading entire files, you reduce cognitive overhead and focus strictly on the unresolved merge markers and concise diffs.

Do I need to install Python dependencies to extract git conflict context?

The context extractor uses a lightweight Python-based script to produce per-file summaries and diffs. It operates as a standalone script to extract unresolved paths and conflict hunks without requiring heavy external dependencies.