fix-pr-conflict

Rebase a GitHub pull request head branch onto its base to resolve merge conflicts.

9|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/paultyng/skill-issue --skill fix-pr-conflict
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-pr-conflict
Source: https://github.com/paultyng/skill-issue/tree/main/skills/fix-pr-conflict
Command: npx skills add https://github.com/paultyng/skill-issue --skill fix-pr-conflict

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Merge conflicts on pull requests block code merging and require time-consuming, error-prone manual git work to resolve, especially when the base branch has new changes. This Skill automates the entire conflict resolution workflow, from rebasing the PR branch to classifying and fixing conflicts, eliminating manual effort for common cases.

Core Features & Use Cases

  • Automated Rebase Workflow: Automatically fetches the base and PR branches, rebases the PR head onto the base, and handles the full rebase process end-to-end.
  • Intelligent Conflict Handling: Automatically skips generated code files, classifies conflicts as mechanical, semantic, or ambiguous, delegates complex multi-file conflict analysis to subagents, and escalates design-related ambiguous conflicts to the user.
  • Use Case: When a team member updates the main branch and your PR now has merge conflicts, use this Skill to automatically resolve non-ambiguous conflicts, push the fixed branch, and verify the PR is mergeable without manual git commands.

Quick Start

Use the fix-pr-conflict skill to resolve all merge conflicts on pull request #42 and push the fixed changes to the remote repository.

Frequently Asked Questions about fix-pr-conflict

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

FAQPage Schema
How do I automatically resolve merge conflicts on a GitHub pull request?

To automatically resolve merge conflicts on a GitHub pull request, this Skill rebases the PR head branch onto its base branch, classifies conflicts, and pushes the fixed changes. It handles the full rebase process end-to-end without manual git commands.

Can I fix PR conflicts without manually running git rebase commands?

Yes, you can fix PR conflicts without manually running git rebase commands. This Skill fetches the base and PR branches, performs the rebase automatically, skips generated code files, and verifies the PR is mergeable after resolution.

What happens to ambiguous design-related conflicts during automated conflict resolution?

During automated conflict resolution, ambiguous design-related conflicts are escalated to the user. The Skill classifies conflicts as mechanical, semantic, or ambiguous, ensuring complex design decisions are not automatically overridden.

Does automated PR conflict resolution skip generated code files?

Yes, automated PR conflict resolution skips generated code files. The Skill intelligently handles conflicts by automatically bypassing generated files and delegating complex multi-file conflict analysis to subagents for semantic resolution.

What is the best way to handle pull request merge conflicts after the base branch is updated?

The best way to handle pull request merge conflicts after the base branch is updated is using an automated rebase workflow. This approach fetches the latest base branch, rebases the PR head, resolves mechanical conflicts, and verifies mergeability.

When should I not use automated rebase for merge conflict resolution?

You should not use automated rebase for merge conflict resolution when the conflicts involve ambiguous design decisions. The Skill includes guardrails to escalate these specific complex conflicts to the user rather than attempting automatic resolution.