Skills warpdotdev common-skills

resolve-merge-conflicts

Use it when:
A merge, rebase, cherry-pick or stash pop stops on conflicts.
It does:
Runs a bundled Python script that lists the unresolved files, then shows one file's conflict hunks with ours, base and theirs and a compact diff.
You get:
The conflicts resolved and staged, with no markers left and targeted tests, builds or linters run on the touched area.
Keeps:
Context small: whole files are opened only when the compact view isn't enough.
Needs:
Python 3; its commands call the script at .agents/skills/resolve-merge-conflicts/scripts/ in your repo.

TL;DR

The point is to keep the agent's context small. A bundled Python script first summarizes the conflict: which files are unmerged, which index stages exist and how many hunks each file has. The agent then takes one file at a time, asking the script for just that file: nearby lines, the ours, base and theirs versions of each hunk, and a compact diff between ours and theirs. It takes one side whole with git checkout --ours or --theirs, or edits the file and removes the markers, reading more of the file only when the compact view isn't enough to decide. Conflicts that leave no markers in the file, such as add/add or modify/delete, are shown from the index stages. Options print every conflicted file at once, output JSON, or change how many context lines and how much output it shows. It's done when no unmerged paths and no conflict markers remain, targeted tests, builds or linters have run for the touched area, and the resolved files are staged.

Summarizes the skill at 8792394.

npx skills add https://github.com/warpdotdev/common-skills --skill resolve-merge-conflicts
Total Downloads
28,800 on skills.sh, Nov 9, 2026
Repo stars
678 warpdotdev/common-skills
First seen
May 9, 2026 on skills.sh
Weekly Downloads
102
-84% over the 8 weeks to Nov 9
Weekly values
Week toInstalls
Sep 21643
Sep 28580
Oct 5931
Oct 12503
Oct 19385
Oct 26373
Nov 2119
Nov 9102
Category

Test-first work, implementation from specs, git hygiene and scope control.

Everything for building software: planning, coding, debugging, design, frameworks, cloud, agents and skills.

Type

A multi-step process the agent follows: interview, debug, run a TDD loop, review.

Effect

Its own steps create or change files, git state or local tools.

Needs

Instructions only. Works in any agent that supports skills.

Publisher

Everyone else. Unverified vendor claims default to community.

Topics
Stack

SKILL.md

No copy of its SKILL.md yet.