merge-pr

Merge approved GitHub pull requests with branch cleanup and repository synchronization.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/muskie9/agents --skill merge-pr-muskie9
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-pr
Source: https://github.com/muskie9/agents/tree/main/skills/merge-pr
Command: npx skills add https://github.com/muskie9/agents --skill merge-pr-muskie9

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of merging approved Pull Requests, cleaning up associated branches, and synchronizing the local repository, streamlining the workflow for software development teams.

Core Features & Use Cases

  • Automated Merge: Safely merges approved Pull Requests with cleanup and synchronization.
  • Branch Cleanup: Removes unnecessary branches post-merge to maintain a clean repository structure.
  • Repository Sync: Ensures the local repository is up-to-date with the remote after merging.
  • Use Case: Ideal for integrating into CI/CD pipelines to automate the merging of code reviews, reducing manual steps and potential errors.

Quick Start

Merge an approved PR with the command: merge-pr <pr-number>

Frequently Asked Questions about merge-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate merging approved pull requests in a GitHub repository?

You can merge an approved pull request by running the command `merge-pr <pr-number>`, which automates the integration, branch cleanup, and local repository synchronization in one step.

Can I use this to automate pull request merging in my CI/CD pipeline?

Yes, this is ideal for integrating into CI/CD pipelines to automate the merging of code reviews, which reduces manual steps and potential errors during continuous integration workflows.

Do I need a local git environment to merge pull requests with this tool?

Yes, you need a local git environment and GitHub API access to automate the pull request merge process, as the tool synchronizes the local repository with the remote after merging.

Does merging a pull request automatically clean up remote branches?

Yes, branch cleanup is a core feature that removes unnecessary branches post-merge to maintain a clean repository structure, followed by a synchronization of the local environment.

What is the best way to keep a local repository synchronized after merging a pull request?

The best way to keep your local repository synchronized after merging a pull request is to use an automated tool that performs repository sync alongside the merge and branch cleanup.