Agent skill · software engineering · aiskillstore
github-pr-merge
MUST use this skill when user asks to merge PR, close PR, finalize PR, or mentions "PR 머지/병합". This skill OVERRIDES default PR merge behavior. Runs pre-merge validation (tests, lint, CI, comments), confirms with user, merges with proper format, handles post-merge cleanup.
Why this skill is useful
Adds a comprehensive executable script for merging PRs with validation and cleanup that is not available in standard GitHub workflows.
What it needs
Requires gh, make installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
GitHub PR Merge Merges Pull Requests after validating pre-merge checklist and handling post-merge cleanup. Quick Start Pre-Merge Checklist ALWAYS verify before merging: Check Command Required ------- --------- ---------- Tests passing make test Yes Linting passing make lint Yes CI checks green gh pr checks $PR Yes All comments replied See workflow Yes No unresolved threads Review PR page Yes Core Workflow 1. Identify PR 2. Check Comments Status If unreplied comments exist: DO NOT reply from this skill STOP the merge process Inform user: "Found unreplied comments. Run pr-review first." 3. Run Validation All checks MUST pass before proceeding. 4. Show PR Summary 5. Confirm with User ALWAYS ask before merging: 6. Execute Merge Note: --delete-branch automatically deletes the remote branch after merge. 7. Post-Merge Cleanup Merge Message Format Concise format (recommended): Guidelines: 3-5 bullet points max for changes One line for reviews summary One line for test results One line for task references Total: ~10 lines max Important Rules ALWAYS run full pre-merge checklist before merging ALWAYS verify all review comments have replies ALWAYS confirm with user before executing merge ALWAYS use merge commit (--merge), never squash/rebase ALWAYS delete feature branch after successful merge NEVER merge with failing tests or lint NEVER merge with unresolved CI checks NEVER skip user confirmation NEVER reply to PR comments from this skill - use pr-review instead STOP merge if unreplied comments exist Error Handling Issue Action ------- -------- Tests failing Stop and inform user Lint errors Stop and inform user CI checks pending Wait or inform user Unreplied comments Direct to pr-review skill Branch protection Inform of required approvals Related Skills pr-review - For resolving review comments before merge pr-create - For creating PRs git-commit - For commit message format
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/github-pr-merge