lwlee2608/agent-skills

merge-pr

Merge a GitHub PR, close linked issues, and delete the branch.

View source

How to use

  1. Copy the installation command and review the source package before installing it in your own agent environment.
  2. Check the source document for required tools, credentials and supported hosts.
  3. Describe your input and desired deliverable; review the output against the source material.
npx skills add https://github.com/lwlee2608/agent-skills --skill merge-pr

Before you start

  • Installation does not include a model subscription, API allowance or permission to access your files.
  • Repository stars and installation counts describe activity, not an independent quality or security test.
Original skill document

Rendered from the source repository. Headings, examples, code, tables, links, and referenced images are preserved.

Merge PR

Rules

  1. Merge with a merge commit, not squash or rebase. Default to the current branch's PR.
  2. Close linked issues still open. GitHub auto-closes them only for merges into the default branch. Skip if none.
  3. Update partially addressed issues. For issues the PR references without closing (e.g. "fixes from #125"), check off the items it completed with gh issue edit --body-file and keep the issue open. Skip if none. List these edits, by issue and checkbox, in any merge approval you ask for. If one is denied, don't reroute; report it and ask.
  4. Delete the branch, remote and local.
from this repository

More skills

All skills