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.