agentsclimarketplace

Gh pr merge

Skill dceoy/github-cli-agent-skills/skills/gh-pr-merge

Merge GitHub pull requests using gh CLI with merge, squash, or rebase strategies and optional auto-merge.From its SKILL.md

Install
npx -y skills add dceoy/github-cli-agent-skills --skill gh-pr-merge

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.2 KB, 272 tokens by cl100k_base, as published. Nobody here has run it

GitHub PR Merge

When to use

  • The user asks to merge an approved PR.
  • You need to enable auto-merge.

Inputs to confirm

  • PR number/URL/branch (or use current branch PR).
  • Merge strategy: --merge, --squash, or --rebase.
  • Whether to delete the branch, use auto-merge, or use admin override.

Workflow

  1. Verify auth and PR status:
    gh --version
    gh auth status
    gh pr view 123
    
  2. Merge:
    gh pr merge 123 --squash
    gh pr merge 123 --merge --delete-branch
    
  3. Enable auto-merge if required checks are pending:
    gh pr merge 123 --auto --squash
    

Examples

# Squash merge and delete branch
~ gh pr merge 123 --squash --delete-branch

Notes

  • If a merge queue is required, gh pr merge will use it automatically.
  • Use --admin only when you have permission to bypass requirements.

References

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 625,150. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.