Skip to content
Back to skills

Resolving Merge Conflicts

ASecurity

Resolve an in-progress Git merge or rebase conflict while preserving the relevant intent of both sides. Use when conflict markers or an interrupted merge/rebase need investigation and resolution.

  • 583 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 5, 2026
ai-agentsgogit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add stevesolun/ctx --skill resolving-merge-conflicts --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Resolving Merge Conflicts?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Resolving Merge Conflicts
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stevesolun-resolving-merge-conflicts/badge)](https://www.skillsdirectory.com/skills/stevesolun-resolving-merge-conflicts)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: resolving-merge-conflicts
description: Resolve an in-progress Git merge or rebase conflict while preserving the relevant intent of both sides. Use when conflict markers or an interrupted merge/rebase need investigation and resolution.
---

# Resolve Merge Conflicts

1. Inspect the current Git state, the operation in progress, its goal, and every
   conflicting file.
2. Reconstruct each side's intent from the code, nearby tests, history, commit
   messages, and linked work items that are available and useful.
3. Resolve each hunk by preserving compatible intent. Where intents conflict,
   prefer the merge's stated goal and current repository contracts; avoid
   inventing unrelated behavior.
4. Run focused checks for the affected surface, then broader checks when risk or
   repository guidance warrants them.
5. Unless the user requested advice or review only, stage resolved files and
   continue the current merge or rebase when it is safe to do so. Report what was
   resolved, what was verified, and any remaining uncertainty.

Pause rather than guess when neither intent can be preserved safely. Aborting or
restarting can be the correct recovery when the base is wrong, the operation is
contaminated, or the user prefers a clean retry; explain the trade-off before
taking that destructive step.

Files in this skill

  • SKILL.md1.3 KB
  • agents/openai.yaml113 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.