merge-contributor-pr - Resolve and merge a contributor PR without rewriting commits
Resolves blockers on a reviewed contributor pull request and merges it with a merge commit while preserving the contributor's commits and authorship.
Tags
Updated: 2026-11-25Capabilities
What this skill does
- Inspect pull request state
- Fetch the exact PR head
- Gate high-risk paths
- Resolve conflicts without rebasing
- Preserve commit authorship and SHAs
- Run checks before merging
- Push the resolution commit
- Merge with a merge commit
- Close superseded pull requests
Inputs
- Target pull request number
- Git repository
- origin/main reference
- GitHub pull request metadata
- Contributor branch
- GitHub credentials
Outputs
- Updated contributor branch
- Resolution commit
- Merged pull request
- Closed superseded pull request
- Final status report
- Repository checked out on main
Requirements
- Clean Git working tree
- GitHub CLI access
- jq command
- Permission to push to the PR repository
- Maintainer edits enabled for forked PRs
- Reviewed pull request
