resolving-merge-conflicts

Resolves in-progress git merge and rebase conflicts while preserving both change intents.

Updated Jul 25, 2026
One-click install
npx skills add https://github.com/regisleandro/clara-financas --skill resolving-merge-conflicts-regisleandro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: resolving-merge-conflicts
Source: https://github.com/regisleandro/clara-financas/tree/main/.agents/skills/resolving-merge-conflicts
Command: npx skills add https://github.com/regisleandro/clara-financas --skill resolving-merge-conflicts-regisleandro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Merge and rebase conflicts interrupt development and are often resolved hastily, losing the intent behind one side of the change. This Skill provides a disciplined workflow for understanding each conflict's origin, resolving every hunk deliberately, and finishing the merge safely. ## Core Features & Use Cases - Conflict Investigation: Inspects git history, commit messages, PRs, and original issues to understand why each conflicting change was made. - Intent-Preserving Resolution: Resolves each hunk by preserving both intents where possible, and documents trade-offs when they are incompatible. - Verification and Completion: Runs the project's automated checks (typecheck, tests, format) and completes the merge or continues the rebase to the end. - Use Case: You are mid-rebase of a long-lived feature branch onto main and hit conflicts in three files. The Skill traces each conflict back to its originating commits, resolves the hunks without inventing new behavior, runs the test suite, and finishes the rebase. ## Quick Start Resolve the current in-progress git merge conflict in this repository and finish the merge after running the project's checks.

Frequently Asked Questions about resolving-merge-conflicts

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

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

Resolve a git merge conflict by first understanding why each side changed the code: read the commit messages, PRs, and original issues. Then resolve each hunk preserving both intents where possible, run the project's checks, and commit the merge.

How to continue a git rebase after fixing conflicts?

After resolving the conflicting files, stage them and continue the rebase process until all commits are rebased. Repeat the investigation and resolution steps for each subsequent conflicted commit rather than aborting.

Should I ever use git merge --abort when resolving conflicts?

This workflow never aborts: the rule is to always resolve every hunk and finish the merge or rebase. Aborting discards progress; instead, resolve conflicts deliberately and note trade-offs when intents are incompatible.

What checks should I run after resolving merge conflicts?

Run the project's automated checks after resolving conflicts, typically typecheck first, then tests, then formatting. Fix anything the merge broke before staging and committing the resolution.

When should I not use an automated merge conflict resolution approach?

Avoid blind auto-resolution when conflicts involve semantic changes where both sides modified the same logic. These cases require reading commit history and original issues to understand intent, which mechanical tools cannot infer.