Skip to content
Skills Library
Programming · Building & coding

resolving-merge-conflicts

/resolving-merge-conflicts

Resolve in-progress Git merge or rebase conflicts cleanly. Use when a branch merge, rebase, or worktree integration hits conflicting hunks that must be reconciled and verified.

Repository
RelayStudio ↗
Licence
MIT
Last repository change
12.11.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Resolve in-progress Git merge or rebase conflicts cleanly. Use when a branch merge, rebase, or worktree integration hits conflicting hunks that must be reconciled and verified.

Original author description

Resolve in-progress Git merge or rebase conflicts cleanly. Use when a branch merge, rebase, or worktree integration hits conflicting hunks that must be reconciled and verified.

How it works

  1. Process
  2. Completion & Caller Return Gate (Recency Peak)
Original SKILL.md headings · 30 lines, 382 words
SKILL.md preview
---
name: resolving-merge-conflicts
description: Resolve in-progress Git merge or rebase conflicts cleanly. Use when a branch merge, rebase, or worktree integration hits conflicting hunks that must be reconciled and verified.
---

# Resolving Merge & Rebase Conflicts (`resolving-merge-conflicts`)

Focused worker skill for reconciling Git merge or rebase conflicts across worktree branches and `integration` while preserving module seam contracts.

- **`Standard` (Orthogonal or spec-arbitrated conflict hunks)**: Reconcile conflicted files via Steps 1–5 and verify at the `1–3s` module seam.
- **`Normalize` (Stale worktree state or unmerged submodules/lockfiles)**: Inspect `git status --porcelain` and `git log --merge -p` first; regenerate lockfiles via the package manager after merging manifest changes rather than hand-editing lockfile conflict markers.
- **`Bailout` (Genuine spec contradiction between `HEAD` and incoming branch)**: Leave the conflict state intact (or abort only when instructed by the caller) and emit `Error: conflicting behavioral contracts on <seam>` + `Route: ask-user <decision>`.

---

## Process

1. **Inspect current merge or rebase state**: Run `git status --porcelain` and `git log --merge -p` to list every conflicted file and identify the two diverging commits across the integration seam (`Seam`).
2. **Trace each side's primary source of truth**: Read the commit messages, ticket files, and `Effective Spec` (`Original Spec ⊕ Accepted Amendments`) for both `HEAD` and the incoming branch so you understand the exact invariant each side establishes.
3. **Reconcile each conflicted hunk**:
   - Combine both sides cleanly whenever their changes are orthogonal;
   - When the two sides touch the same lines with competing shapes, select the side that conforms to the locked interface seam and `Effective Spec`, keeping behavior strictly within the approved specification.
4. **Verify at the module seam (`1–3s` Tight Loop + static typecheck)**: Run the target module's `1–3s` `Tight Loop` test command, static typechecker, and formatter in order, fixing any broken imports or contract mismatches introduced by the merge.
5. **Complete the merge or rebase**: Stage all resolved files (`git add`), verify zero `<<<<<<<` / `=======` / `>>>>>>>` conflict markers remain (`git diff --check`), and complete the commit or `git rebase --continue`.

---

## Completion & Caller Return Gate (`Recency Peak`)

Conflict resolution is complete when:
1. `git diff --check` and `git status --porcelain` report zero remaining conflict markers or unmerged paths;
2. The target module's `1–3s` `Tight Loop` test file and static typechecker exit `0`;
3. **Immediate Caller Return**: When invoked mid-flight by `develop` (e.g., during worktree pre-report merge of `integration`), immediately resume the caller's step to emit the 6-line handoff or advance the integration frontier.
Files in this package (2)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB

Versions

RepositoryScoreLicence
This page · yuan88964/RelayStudio90MIT
axiomantic/spellbook100MIT
FrancoStino/opencode-skills-collection96MIT
sickn33/agentic-awesome-skills96MIT
akillness/jeo-skills91MIT
aethrox/doctrine90MIT
natsummerance/agents88MIT
zenobi-us/dotfiles86MIT
PracticalSwan/agent-skills86MIT

Database snapshot: 13.11.2026 · package version b7a34c8796fc (SHA-256 digest of the entire package)

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100hk-merge-resolve
    Resolve the conflicts of an in-progress merge, rebase or cherry-pick, then run the affected suite with the verify gate the entrypoint names. Triggers on: 'merge conflict', 'resolve conflicts', 'conflict markers', 'rebase conflict', or /hk-merge-resolve.
  • 100git-conflicts
    Resolve merge conflicts file-by-file. Use when a merge/rebase has conflicts, a PR can't merge, \"fix conflicts\" is requested, or branches have diverged.
  • 100workflow-merge-conflicts
    Resolve an in-progress merge or rebase conflict by tracing each side back to its intent. Use when "resolve the conflicts", "fix this merge", "the rebase is stuck", or a pull has left conflict markers in the tree.
  • 81conflicts
    Resolve git merge or rebase conflicts and continue the operation. Use when a rebase, merge, or cherry-pick stops on conflicted files.
  • 90resolve-git-conflicts
    Conflict resolution flow — understand the local git conflicts, present a resolution plan, and resolve them after the user approves it. Never continues the rebase. Use it when the repo has unresolved conflicts (rebase, merge, cherry-pick) or the user asks to resolve them.
  • 100resolve-merge-conflicts
    Use when a merge, rebase, cherry-pick, or revert stops on conflicts, when a pull request is blocked by conflicts with its base, or when the user asks to resolve conflicts or bring a branch up to date with its base.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.