git-rebase-conflict-resolver

Resolve Git rebase conflicts while preserving compatible changes and running validation checks.

1|1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/robertolopezlopez/agent-skills --skill git-rebase-conflict-resolver
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-rebase-conflict-resolver
Source: https://github.com/robertolopezlopez/agent-skills/tree/main/skills/core/git-rebase-conflict-resolver
Command: npx skills add https://github.com/robertolopezlopez/agent-skills --skill git-rebase-conflict-resolver

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers safely rebase Git branches while resolving conflicts without losing compatible changes from either side, reducing the risk of broken history rewrites.

Core Features & Use Cases

  • Conflict-Preserving Rebases: Guides branch rebases onto a target branch while analyzing both local commits and target changes to produce compatible merges.
  • Validation Workflow: Ensures the rebased result is checked with repository-specific linting, formatting, and test commands before completion.
  • Use Case: When a feature branch has fallen behind origin/main and contains conflicting changes, use this Skill to complete the rebase, resolve conflicts carefully, and verify the final branch state.

Quick Start

Use the git-rebase-conflict-resolver skill to rebase my current branch onto origin/main, resolve any conflicts, and run the appropriate validation checks.

Frequently Asked Questions about git-rebase-conflict-resolver

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

FAQPage Schema
How do I resolve Git rebase conflicts without losing compatible changes?

To resolve Git rebase conflicts without losing changes, inspect the repository state, analyze both local commits and target branch histories, and merge compatible modifications. Continue interrupted rebases carefully to avoid broken history rewrites.

What is the best way to rebase a feature branch that has fallen behind origin/main?

The best way to rebase a feature branch onto origin/main is to analyze conflicting changes between local commits and the target branch, preserve compatible modifications from both sides, and run repository-specific validation checks after completion.

How does post-rebase verification work for branch synchronization?

Post-rebase verification works by executing repository-specific validation commands, such as linting, formatting, and tests, to ensure the rebased branch state is stable and compatible changes are preserved before finalizing the branch synchronization.

Can I continue an interrupted Git rebase after analyzing conflict markers?

Yes, you can continue an interrupted Git rebase by carefully inspecting the current Git state, analyzing conflict markers to preserve compatible changes, and continuing the rebase process once conflicts are resolved and validated.

Why does rebasing my local branch result in broken history rewrites?

Rebasing results in broken history rewrites when conflicting changes between target and local histories are not carefully analyzed. Safe rebasing requires inspecting the Git state and preserving compatible changes from both sides before continuing.

What validation checks should I run after resolving merge conflicts during a rebase?

After resolving merge conflicts during a rebase, run repository-specific validation checks including linting, formatting, and test commands to verify the final rebased branch state and ensure no compatible changes were lost.