Github Pr Merge
Pre-merge validation and merge execution for GitHub pull requests, with branch-deletion guardrails for long-lived branches.
- CCM score
- 60 of 100
- skills.sh installs
- 281
- GitHub stars
- 72
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full merge flow: comment check, milestone check, CI validation, changelog verification, user confirmation, merge, and cleanup
- Includes
ghandgitcommands for reading unreplied review comments, milestone status, PR checks, and changelog diffs - Enforces a hard stop on unreplied review comments and on behavior-changing commits missing from
CHANGELOG.md - Designed for repos using
developandmainbranches where topic branches merge intodevelopanddeveloppromotes intomain
Install
$ npx -y skills add fvadicamo/dev-agent-skills --skill github-pr-merge -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
GitHub PR merge
Merges Pull Requests after validating pre-merge checklist and handling post-merge cleanup.
Current PR
!gh pr view --json number,title,state -q '"PR #\(.number): \(.title) (\(.state))"' 2>/dev/null
Core workflow
1. Check comments status
Verify all review comments have at least one reply:
REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner')
PR=$(gh pr view --json number -q '.number')
# Find unreplied comment IDs
gh api repos/$REPO/pulls/$PR/comments --jq '
[.[] | select(.in_reply_to_id) | .in_reply_to_id] as $replied |
[.[] | select(.in_reply_to_id == null) | select(.id | IN($replied[]) | not) | .id]
'
If unreplied comments exist:
- STOP the merge process
- Inform user: "Found unreplied comments: [IDs]. Run github-pr-review first."
- NEVER reply to comments from this skill
2. Check milestone
gh pr view $PR --json milestone -q '.milestone.title // "none"'
- If milestone is assigned: include it in the checklist summary (step 5)
- If no milestone: check for open milestones and warn the user
gh api repos/$REPO/milestones --jq '[.[] | select(.state=="open")] | length'
Details
- Repository
- github.com/fvadicamo/dev-agent-skills
- Category
- Git & Releases
- First seen
- Jun 3, 2026
Questions
What does the github-pr-merge skill do?
The github-pr-merge skill merges GitHub Pull Requests after running a pre-merge checklist covering review comments, milestone, tests, lint, CI and changelog. It asks the user to confirm before merging with a merge commit and handles post-merge cleanup of the branch.
How do I install the github-pr-merge skill?
Run npx -y skills add fvadicamo/dev-agent-skills --skill github-pr-merge -y in a project. Once installed, the agent can validate a PR checklist and merge it when you ask to merge or finalize a pull request.
Which other skills are in its category?
The github-pr-merge skill is in the Git & Releases category on Claude Marketplaces, alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. What sets it apart is that it stops the merge when review comments lack replies and always uses a merge commit.
More from fvadicamo/dev-agent-skills
All 5Similar to Github Pr Merge
More Git & Releasesgithub-pr-creationfvadicamo/dev-agent-skills240 installsGuides creating GitHub pull requests with task validation, test runs, and Conventional Commits titles and bodies.
github-triagetrailofbits/skills2.1K installsTriages open issues and PRs via gh, gating merges and closures behind explicit user approval.
git-workflownetresearch/git-workflow-skill761 installsGit workflow skill covering branching, Conventional Commits, PR merge gates, and git hooks with guardrails.
check-prgreptileai/skills1.6K installsChecks a GitHub, GitLab, or Perforce pull request for unresolved review comments, failing checks, and incomplete descriptions.
agent-github-pr-managerruvnet/ruflo1.1K installsComplete pull request lifecycle manager that creates, reviews, and merges PRs through gh CLI and swarm coordination.