resolve-conflicts

Analyze Git merge conflicts and execute user-approved resolution plans.

3|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/ahiendz/DuAnCuoiKhoa --skill resolve-conflicts-ahiendz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-conflicts
Source: https://github.com/ahiendz/DuAnCuoiKhoa/tree/main/.agents/skills/resolve-conflicts
Command: npx skills add https://github.com/ahiendz/DuAnCuoiKhoa --skill resolve-conflicts-ahiendz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Git merge conflicts stall development by forcing teams to manually reconcile imports, tests, and configuration across branches. This skill provides a structured, plan-first framework that captures intent from both sides and guides users through a repeatable conflict-resolution process.

Core Features & Use Cases

  • Assess and categorize conflicts (regular, deleted-modified, generated, test, import, config, and struct changes) to inform a consistent plan.
  • Create a Merge Resolution Plan with a clear Conflict Summary, Execution Order, and decision points, then require user approval before applying changes.
  • Handle deleted-modified conflicts by backing up modifications, suggesting relocation targets, and preserving user work.
  • Execute the resolution plan step-by-step, providing one-line explanations for each resolved conflict and surfacing user decisions when ambiguity remains.
  • Regenerate generated files (lock files, codegen artifacts) instead of manual merges, ensuring the merged state reflects source-of-truth changes.
  • Merge imports and tests using additive, non-destructive patterns; resolve configuration and code-logic conflicts with documented decisions.
  • Validate outcomes with automated checks and provide a concise plan for follow-up verification.
  • Maintain traceability by documenting resolutions and decisions for auditability.

Quick Start

Generate a structured conflict-resolution plan for the current merge and request user approval before applying changes.

Frequently Asked Questions about resolve-conflicts

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

FAQPage Schema
How do I resolve Git merge conflicts automatically without losing code from either branch?

Handling deleted-modified conflicts involves backing up modifications, suggesting relocation targets, and preserving user work before proceeding with the structured resolution plan.

What is the best way to resolve Git conflicts involving generated lock files and codegen artifacts?

Merging imports and tests uses additive, non-destructive patterns to combine changes from both branches, while configuration and code-logic conflicts are resolved with documented decisions for traceability.

How do I handle deleted-modified Git conflicts where one branch deletes a file and the other modifies it?

Handling deleted-modified conflicts involves backing up modifications, suggesting relocation targets, and preserving user work before proceeding with the structured resolution plan.

Can I merge imports and tests from different Git branches without breaking existing configurations?

Merging imports and tests uses additive, non-destructive patterns to combine changes from both branches, while configuration and code-logic conflicts are resolved with documented decisions for traceability.

Does a plan-first Git merge resolution process validate outcomes after executing conflict resolutions?

A plan-first Git merge resolution validates outcomes by running automated checks after executing the resolution plan, providing a concise plan for follow-up verification to ensure stability.