conflict

Analyzes and resolves git merge conflicts by categorizing hunks and staging resolutions.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/Dawaad/skills --skill conflict-dawaad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: conflict
Source: https://github.com/Dawaad/skills/tree/main/commands/conflict
Command: npx skills add https://github.com/Dawaad/skills --skill conflict-dawaad

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Resolving git merge conflicts after pulling or merging main is tedious and error-prone, especially when deciding which side of a conflict should win or when code merges cleanly but breaks logically. ## Core Features & Use Cases - Conflict Categorization: Classifies each conflict hunk as trivial, clear-winner, or needs-human, auto-resolving mechanical cases like import merges and formatting differences. - Context-Aware Resolution: Reads commit messages and diffs on both sides to determine intent, combining changes (e.g., applying a rename plus both sides' logic additions) rather than blindly picking one side. - Semantic Conflict Detection: Detects issues where merges succeed textually but break logically, such as missing imports, signature mismatches, and dangling references. - Use Case: After pulling main into a feature branch and hitting conflicts across auth.ts and config.ts, the skill resolves trivial hunks, explains clear-winner decisions with reasoning, and presents ambiguous business-logic conflicts for your decision before staging. ## Quick Start Ask the assistant to resolve the merge conflicts from pulling main into your current branch and present a summary before committing.

Frequently Asked Questions about conflict

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

FAQPage Schema
How do I resolve git merge conflicts after pulling main?

Run git status and git diff --name-only --diff-filter=U to list conflicted files, then analyze each conflict hunk. Trivial cases like import merges can be resolved mechanically, while competing logic changes require reviewing commit messages on both sides before deciding.

How to decide which side of a merge conflict to keep?

Read the commit messages and diffs on both branches to understand each side's intent. Deletions that are part of intentional removals should win, while renames should be combined with the other side's logic additions rather than chosen wholesale.

Can merge conflicts be resolved automatically without committing?

Yes, trivial conflicts like import ordering, whitespace differences, and adjacent additions can be auto-resolved and staged with git add. The changes remain staged for review and are never committed without explicit user approval.

What are semantic merge conflicts and how to detect them?

Semantic conflicts occur when code merges cleanly but breaks logically, such as missing imports, signature mismatches, or references to renamed functions. Detect them by running the project's type checker or compiler and grepping for duplicate definitions after resolving textual conflicts.

When should merge conflicts be escalated to a human instead of auto-resolved?

Escalate when both sides made substantive changes reflecting different intentions, such as competing implementations, conflicting business logic, or divergent config values. Auto-resolving these risks silently making wrong product or architecture decisions.