github-pr-merge
Merges GitHub Pull Requests after validating pre-merge checklist.
Skill by myths-labs
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/myths-labs-github-pr-merge
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
github-pr-merge- Description
- Merges GitHub Pull Requests after validating pre-merge checklist. Use when user wants to merge PR, close PR, finalize PR, complete merge, approve and merge, or execute merge. Runs pre-merge validation (tests, lint, CI, comments), confirms with user, merges with proper format, handles post-merge cleanup.
- License
- MIT
- Instructions
- 207 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# GitHub PR Merge Merges Pull Requests after validating pre-merge checklist and handling post-merge cleanup. ## Quick Start ```bash # 1. Get PR info PR=$(gh pr view --json number -q '.number') REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner') # 2. Run pre-merge checklist make test && make lint && gh pr checks $PR # 3. Verify all comments replied gh api repos/$REPO/pulls/$PR/comments --jq '[.[] | select(.in_reply_to_id == null)] | length' # 4. Merge with concise message (--delete-branch auto-deletes remote) gh pr merge $PR --merge --delete-branch --body "- Change 1 - Change 2 Reviews: N/N addressed Tests: X passed (Y% cov) Refs: Task N" # 5. Post-merge cleanup (local only, remote already deleted) git checkout develop && git pull && git branch -d feature/<name> ``` ## Pre-Merge Checklist **ALWAYS verify before merging:** | Check | Command | Required | |-------|---------|----------| | Tests passing | `make test` | Yes | | Linting passing | `make lint` or `make check` | Yes | | CI checks green | `gh pr checks $PR` | Yes | | All comments replied | Verify only, don't reply | Yes | | No unresolved threads | Review PR page | Yes | ## Core Workflow ### 1. Identify PR ```bash PR=$(gh pr view --json number -q '.number') REPO=$(gh repo view --json nameWithOwner -q '.nameWithOwner') echo "PR #$PR in $REPO" ``` ### 2. Check Comments Status ```bash # Count original comments (not replies) ORIGINALS=$(gh api repos/$REPO/pulls/$PR/comments --jq '[.[] | select(.in_reply_to_id == null)] | length') # Count comments that have at least one reply REPLIED=$(gh api repos/$REPO/pulls/$PR/comments --jq ' [.[] | select(.in_reply_to_id)] | [.[].in_reply_to_id] | unique | length ') echo "Original comments: $ORIGINALS, With replies: $REPLIED" # Find unreplied comment IDs UNREPLIED=$(gh api repos/$REPO/pulls/$PR/comments --jq ' [.[] | select(.in_reply_to_id) | .in_reply_to_id] as $replied_ids | [.[] | select(.in_reply_to_id == null) | select(.id | IN($replied_ids[]) | not) | .id] ') echo "Unreplied: $UNREPLIED" ``` All original comments should have at least one reply. **If unreplied comments exist:** - DO NOT reply from this skill - STOP the merge process - Inform user: "Found unreplied comments: [IDs]. Run github-pr-review first." - Show which comment IDs are missing replies ### 3. Run Validation ```bash # Activate venv if Python project source venv/bin/activate 2>/dev/null # Run tests make test # Run linting make lint # or: make check # Check CI status gh pr checks $PR ``` **All checks MUST pass before proceeding.** ### 4. Show PR Summary ```bash gh pr view $PR --json title,body,commits,changedFiles --jq ' "Title: \(.title)\nCommits: \(.commits | length)\nFiles: \(.changedFiles)" ' ``` ### 5. Confirm with User **ALWAYS ask before merging:** ``` Pre-merge checklist verified: - Tests: passing - Lint: passing - CI: green - Comments: all replied Ready to merge PR #X. Proceed? ```
From myths-labs/muse, MIT.
More from myths-labs/muse
- 0.659score
growth-distribution
myths-labs
Cross-platform content distribution and growth strategy for DYA app across 10+ platforms (Xiaohongshu, Douyin, TikTok, Instagram Reels, X/Twitter, Reddit…
SkillAFreshness: A★ 36Claude Code +9 - 0.659score
github-pr-review
myths-labs
Handles PR review comments and feedback resolution.
SkillAFreshness: A★ 36Claude Code +9 - 0.659score
muse-orchestration
myths-labs
Run several long-lived AI coding sessions ("lanes") as one team led by an orchestrator lane.
SkillAFreshness: A★ 36Claude Code +9 - 0.656score
muse-commands
myths-labs
Run MUSE /resume, /save and /bye for continuous work in Codex or Claude Code, preserving the selected role, Lane, decisions and source evidence across sessions.
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
markitdown
myths-labs
A Python utility for converting various file formats (PDF, Word, Excel, PowerPoint, etc.) to Markdown.
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
coordinator-mode
myths-labs
Multi-agent coordination SOP derived from Anthropic's internal coordinator architecture.
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
semantic-search
myths-labs
Zero-dependency TF-IDF search across MUSE memory, roles, and skills.
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
javascript-typescript
myths-labs
JavaScript and TypeScript development with ES6+, Node.js, React, and modern web frameworks.
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
architect-agent
myths-labs
Software architecture specialist for system design, scalability, and technical decision-making.
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
database-reviewer
myths-labs
PostgreSQL database specialist for query optimization, schema design, security, and performance.
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
context-health-check
myths-labs
Check actual session context observations; save and reassess after compaction without forcing Bye or guessing model limits.
SkillAFreshness: A★ 36Claude Code +9 - 0.651score
strategic-compact
myths-labs
Suggests manual context compaction at logical intervals to preserve context through task phases rather than arbitrary auto-compaction.
SkillAFreshness: A★ 36Claude Code +9
Signals
- Stars
- 36
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Mar 12, 2026 (7 months ago)
- Last release
- Oct 24, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/myths-labs/muse
- Website
- github.com/myths-labs/muse
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from myths-labs
- 0.659score
github-pr-review
myths-labs
Handles PR review comments and feedback resolution.
SkillAFreshness: A★ 36Claude Code +9 - 0.659score
muse-orchestration
myths-labs
Run several long-lived AI coding sessions ("lanes") as one team led by an orchestrator lane.
SkillAFreshness: A★ 36Claude Code +9 - 0.659score
growth-distribution
myths-labs
Cross-platform content distribution and growth strategy for DYA app across 10+ platforms (Xiaohongshu, Douyin, TikTok, Instagram Reels, X/Twitter, Reddit…
SkillAFreshness: A★ 36Claude Code +9 - 0.656score
muse-commands
myths-labs
Run MUSE /resume, /save and /bye for continuous work in Codex or Claude Code, preserving the selected role, Lane, decisions and source evidence across sessions.
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
coordinator-mode
myths-labs
Multi-agent coordination SOP derived from Anthropic's internal coordinator architecture.
SkillAFreshness: A★ 36Claude Code +9 - 0.654score
semantic-search
myths-labs
Zero-dependency TF-IDF search across MUSE memory, roles, and skills.
SkillAFreshness: A★ 36Claude Code +9
Cite this page
github-pr-merge skill. Agent Mart. https://agentmart.dev/skills/myths-labs-github-pr-merge (last updated 2026-10-24)