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.
- Author
- yuan88964 ↗
- Repository
- RelayStudio ↗
- Licence
- MIT
- Last repository change
- 12.11.2026
Assessment and security
- Files in this package
- 2
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 12.11.2026, without references to retired models or APIs.
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
- Process
- Completion & Caller Return Gate (Recency Peak)
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
| Repository | Score | Licence |
|---|---|---|
| This page · yuan88964/RelayStudio | 90 | MIT |
| axiomantic/spellbook | 100 | MIT |
| FrancoStino/opencode-skills-collection | 96 | MIT |
| sickn33/agentic-awesome-skills | 96 | MIT |
| akillness/jeo-skills | 91 | MIT |
| aethrox/doctrine | 90 | MIT |
| natsummerance/agents | 88 | MIT |
| zenobi-us/dotfiles | 86 | MIT |
| PracticalSwan/agent-skills | 86 | MIT |
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.