Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Git Merge Conflict Resolver Guide

    by Saizul Amin

    1

    This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.

    Free

    Security scanned
    Git Merge Conflict Resolver Guide

    Git Merge Conflict Resolver Guide

    Example session with this skill installed

    Run the Git Merge Conflict Resolver Guide skill on my project and give me a prioritised list of what to fix, with exact changes.

    • Read your context and instructions
    • Compiled the git merge conflict

    Here is what the Git Merge Conflict Resolver Guide skill produced.

    Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.

    Output

    Operation: merge
      ours   = your current branch (HEAD)
      theirs = the branch being merged in (MERGE_HEAD)
      continue: git merge --continue (or git commit)   abort: git merge --abort
    Conflict style: merge (diff3/zdiff3 also shows the common base)
    
      deleted by us    gone.txt 0 hunk(s), 0 lines
          -> decide keep (`git add <file>`) or delete (`git rm <file>`)
      both modified    package-lock.json 1 hunk(s), 2 lines
          -> lockfile: take one side, then regenerate with `npm install`
      both modified    src/app.txt 1 hunk(s), 2 lines
    

    What you do next

    1. Fix the highest-severity items first.
    2. Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
    3. Keep the skill installed and re-run it whenever the project changes.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Resolve git merge, rebase, cherry-pick and stash conflicts step by step. A read-only script detects the operation in progress, explains what "ours" and "theirs" mean for it (they swap during a rebase), lists every unmerged file with its conflict type (both modified, both added, deleted by us/them), counts hunks, spots lockfiles to regenerate and binaries to pick whole, and catches malformed or leftover conflict markers; --check works as a pre-commit or CI guard. Covers diff3/zdiff3, rerere, checkout --ours/--theirs, and when to abort.

    Who it's for

    Use when the user hits "CONFLICT (content)", "Automatic merge failed", "could not apply" during a rebase, has conflict markers in files, asks how to resolve or undo a merge, or asks which side is ours.

    What's inside

    • Tested, offline Python script(s): conflict_report.py (deterministic results, standard library only unless noted)
    • Reference guides: resolution-guide.md
    • Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow

    Why it's worth it

    Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.

    Works with every major AI agent

    Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.

    Requirements

    • Python 3.8+ for the bundled scripts
    • No API keys, no account, runs locally

    Open source: saizul/git-workflow-skills on GitHub (MIT licence, by Saizul Amin).

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Resolve git merge, rebase, cherry-pick and stash conflicts step by step. A read-only script detects the operation in progress, explains what "ours" and "theirs" mean for it (they swap during a rebase), lists every unmerged file with its conflict type (both modified, both added, deleted by us/them...

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Git Merge Conflict Resolver Guide on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    Free