merge-pr
Squash-merge a GitHub PR as "<title> (#N)" and delete its branches.
Skill by headfirst-msp
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.
About
Reviews
Write a reviewNo 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
- 0.565score
pi-project-setup
lunitrixx
Bootstrap a new project or migrate an existing one to the Pi-native agent config (AGENTS.md, thin CLAUDE.md, .pi/skills, .claude symlink, scaffolding files).
SkillAFreshness: AClaude Code +9 - 0.561score
extend-pi
lunitrixx
Pick and build the right Pi extension type (skill, extension, agent, prompt).
SkillAFreshness: AClaude Code +9 - 0.561score
readme
lunitrixx
Generate or update README.md from the actual codebase.
SkillAFreshness: AClaude Code +9 - 0.561score
grill-me
lunitrixx
Harsh, unfiltered code review - bugs, security holes, anti-patterns, bad names, design flaws.
SkillAFreshness: AClaude Code +9 - 0.561score
project-onboarding
lunitrixx
Build a working model of an unfamiliar codebase - structure, flows, conventions, fragile areas.
SkillAFreshness: AClaude Code +9 - 0.561score
pr
lunitrixx
Write a pull request description from the branch's changes.
SkillAFreshness: AClaude Code +9 - 0.559score
debug
lunitrixx
Systematic debugging.
SkillAFreshness: AClaude Code +9 - 0.556score
changelog
lunitrixx
Write or update CHANGELOG.md from git history.
SkillAFreshness: AClaude Code +9 - 0.556score
dep-update
lunitrixx
Check and update dependencies for any package manager.
SkillAFreshness: AClaude Code +9 - 0.556score
commit
lunitrixx
Write a conventional commit message from staged changes.
SkillAFreshness: AClaude Code +9 - 0.556score
docs-gen
lunitrixx
Generate a documentation site under docs/ (guides, API reference, examples).
SkillAFreshness: AClaude Code +9 - 0.553score
version-management
lunitrixx
Bump the version, write changelog entries and create git tags (Keep a Changelog + SemVer).
SkillAFreshness: AClaude Code +9
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
- Repository
- github.com/lunitrixx/pi-agent-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Cite this page
merge-pr skill. Agent Mart. https://agentmart.dev/skills/lunitrixx-merge-pr (last updated 2026-10-24)