
Github Pr Merge
This handles the full PR merge ceremony so you don't skip steps. It validates that all review comments have replies (blocks the merge if they don't), runs tests and lint, checks CI status, and warns if you forgot to assign a milestone. Always shows you a checklist summary before merging, uses merge commits instead of squash, auto-deletes the feature branch, and checks if the milestone is done afterward. The merge message format is refreshingly terse, just bullets for changes plus one-liners for review stats and test coverage. Good for teams that want enforcement on the boring pre-merge stuff without writing the same bash incantations every time.
- skills.sh installs
- 281
- GitHub stars
- 72
- last updated
- Aug 21, 2026
Install
$ npx -y skills add fvadicamo/dev-agent-skills --skill github-pr-merge --agent claude-codeInstalls into .claude/skills of the current project.
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'
Sponsors
Details
- Repository
- github.com/fvadicamo/dev-agent-skills
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building, Sales & Marketing
- First seen
- Jun 3, 2026