Merge Pr banner
gnodet gnodet

Merge Pr

Git community

Description

Merge a PR after verifying all requirements are met. If a PR number is provided ("$ARGUMENTS"), use that. Otherwise, detect the PR associated with the current branch by running `gh pr view --json number,url --jq '.number'`. If no PR is found, abort with a clear message. ## Phase 1: Pre-merge Checks Run ALL of the following checks. If ANY check fails, abort immediately and report which checks failed. ### 1.1 CI Status - Run `gh pr checks <number>` and verify ALL checks have passed (no failure

Installation

Installs to ~/.claude/skills/gnodet-claude-code-commands-merge-pr/SKILL.md

Terminal
mkdir -p ~/.claude/skills/gnodet-claude-code-commands-merge-pr && curl -fsSL https://raw.githubusercontent.com/gnodet/claude-code-commands/HEAD/commands/merge-pr.md -o ~/.claude/skills/gnodet-claude-code-commands-merge-pr/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository