Skip to content
Agentmart
Submit a tool

merge-pr

Squash-merge a GitHub PR as "<title> (#N)" and delete its branches.

Skill by headfirst-msp

IndexedMIT
Write a review

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/lunitrixx-merge-pr

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.

We use your email only for this newsletter. Privacy

About

Squash-merge a GitHub PR as "<title> (#N)" and delete its branches. Use for "merge PR 81", "land 81"; without a number, merges the current branch's PR.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/merge-pr

What's inside

Skill name
merge-pr
Description
Squash-merge a GitHub PR as "<title> (#N)" and delete its branches. Use for "merge PR 81", "land 81"; without a number, merges the current branch's PR.
License
MIT
Metadata
author: headfirst-msp · version: 1.2.0
Instructions
15 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Merge PR

Only with explicit maintainer approval. GitHub only (`gh`).

```bash
N=81   # omit the number in all gh calls to use the current branch's PR
TITLE=$(gh pr view $N --json title --jq .title)
BRANCH=$(gh pr view $N --json headRefName --jq .headRefName)
NUM=$(gh pr view $N --json number --jq .number)
gh pr merge $N --squash --delete-branch --subject "${TITLE} (#${NUM})"
git checkout main && git pull --ff-only
git branch -d "$BRANCH" 2>/dev/null || true
```

From lunitrixx/pi-agent-kit, MIT.

More from lunitrixx/pi-agent-kit

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 16, 2026 (13 days ago)

From GitHub (fetched Oct 24, 2026).

Details

Version
1.2.0
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

merge-pr skill. Agent Mart. https://agentmart.dev/skills/lunitrixx-merge-pr (last updated 2026-10-24)