resolve-conflict

Resolve Git merge, rebase, or cherry-pick conflicts with per-block decisions.

22|3|Updated Jul 28, 2024
One-click install
npx skills add https://github.com/webdevcody/go-mailing-list --skill resolve-conflict-webdevcody
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolve-conflict
Source: https://github.com/webdevcody/go-mailing-list/tree/main/.claude/skills/resolve-conflict
Command: npx skills add https://github.com/webdevcody/go-mailing-list --skill resolve-conflict-webdevcody

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you safely resolve Git merge or rebase conflicts by forcing you to read both sides of every conflict block before choosing, preventing accidental loss of changes.

Core Features & Use Cases

  • Conflict state detection: Identifies whether you are in a merge, rebase, cherry-pick, or another interrupted operation based on Git’s in-flight markers.
  • Lockfile and generated-file safety: Regenerates lockfiles and rebuilds generated outputs instead of hand-merging them.
  • Per-block reasoning and guardrails: Classifies conflicts (identical intent, complementary changes, or incompatible logic) and stops to ask you to choose when incompatible edits would otherwise be guessed.
  • Completion workflow: Continues merges/rebases/cherry-picks only after unresolved markers are eliminated and files are staged.

Quick Start

Ask the skill to resolve conflicts by walking you through reading each conflicted file’s markers and generating a final staged resolution that you can commit or continue.

Frequently Asked Questions about resolve-conflict

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

FAQPage Schema
How do I resolve git merge conflicts without losing changes?

To resolve git merge conflicts without losing work, you must read both sides of every conflict block before choosing a resolution. This process classifies conflicts as identical intent, complementary changes, or incompatible logic, stopping to ask for explicit input when edits cannot be safely merged automatically.

What is the best way to handle lockfile conflicts during a git rebase?

Handling lockfile conflicts during a git rebase requires regenerating the lockfile from source files instead of hand-merging the conflicting text. This ensures the generated asset is rebuilt correctly based on the resolved source dependencies and properly staged for the continuation of the rebase.

How do semantic conflicts break behavior after a git merge resolution?

Semantic conflicts break behavior after a git merge resolution when source-level edits are combined in ways that are syntactically valid but functionally incompatible. Detecting these conflicts requires per-block reasoning to classify whether edits have complementary changes or incompatible logic that would otherwise break the application.

Can I automatically continue a git cherry-pick after resolving all conflict markers?

You can continue a git cherry-pick after resolving conflicts only when all unresolved markers are eliminated and the corrected files are staged. The completion workflow detects the active Git operation and continues the cherry-pick specifically after verifying that no incompatible blocks remain unaddressed.

Does resolving generated file conflicts require manually editing the diff?

Resolving generated file conflicts does not require manually editing the diff because the correct approach is to rebuild the generated outputs from their sources. Hand-merging generated assets is bypassed entirely by regenerating the files and staging the freshly built results.