mcpField
M
merge-pr

merge-pr

github.com/lwlee2608Development141 installsUpdated 1d ago
Repository

About merge-pr

merge-pr is a skill for maintainers handling pull request merges and follow-up cleanup. It specifies the merge method and how to handle linked issues and branches.

Key features

  1. 01Use a merge commit
  2. 02Close linked open issues
  3. 03Update partially completed issue checklists
  4. 04Delete local and remote branches

Use cases

  1. 01Merge the current branch's PR as specified
  2. 02Close linked issues that remain open
  3. 03Mark issue items completed by a PR
  4. 04Clean up local and remote branches after merging

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/lwlee2608/agent-skills --skill merge-pr

After installing, type/merge-prin Claude Code to confirm it loaded.

Details

From the project README

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 in the issue body and keep the issue open. Skip if none.
  4. Delete the branch, remote and local.

Comments

Markdown supported