dk-merge-resolve

Diagnose git merge, rebase, cherry-pick, or stash pop conflicts and guide resolution.

87|12|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/deepklarity/harness-kit --skill dk-merge-resolve
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dk-merge-resolve
Source: https://github.com/deepklarity/harness-kit/tree/main/.claude/skills/dk-merge-resolve
Command: npx skills add https://github.com/deepklarity/harness-kit --skill dk-merge-resolve

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Resolve merge conflicts in the current branch and provide guided, safe resolution steps to minimize disruption to your workflow.

Core Features & Use Cases

  • Step-by-step conflict diagnosis: identifies the source of conflicts (merge, rebase, stash pop, cherry-pick) and prints an actionable abort command.
  • Safe conflict resolution: preserves user changes while integrating incoming changes, with guardrails to protect unstaged work.
  • Resilient guidance: detailed triage, per-file resolution strategy, and verification steps to ensure a clean merge.

Quick Start

Run the guided merge-conflict resolution on your current branch when conflicts appear.

Frequently Asked Questions about dk-merge-resolve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely resolve git merge conflicts without losing unstaged work?

To resolve git merge conflicts safely, you need step-by-step diagnosis that identifies the conflict source and applies guardrails to protect unstaged work. This approach provides per-file resolution strategies to integrate incoming changes while preserving user changes.

What is the best way to abort a failed git rebase or cherry-pick?

The best way to abort a failed git rebase or cherry-pick is to identify the exact conflict source first, which allows you to select the proper abort command. This prevents accidental data loss and restores the branch state.

How does guided conflict resolution handle conflicts from a git stash pop?

Guided conflict resolution handles git stash pop conflicts by diagnosing the specific source, applying triage steps, and verifying a clean merge. It preserves local changes while providing actionable abort commands if needed.

Do I need to manually verify a clean merge after resolving conflicts?

You do not need to manually verify a clean merge if your resolution process includes built-in verification steps. Proper conflict resolution automatically verifies the merge state and provides guardrails to prevent regression.

When should I use step-by-step git conflict resolution instead of manual editing?

You should use step-by-step git conflict resolution instead of manual editing when you need to protect unstaged work and prevent regression. It provides guardrails and source identification for complex scenarios like rebase, cherry-pick, or stash pop conflicts.