Github Pr Merge
Automatically merges approved GitHub pull requests based on defined criteria and user permissions.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add github-pr-merge npx -- -y @trustedskills/github-pr-merge
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"github-pr-merge": {
"command": "npx",
"args": [
"-y",
"@trustedskills/github-pr-merge"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The github-pr-merge skill enables AI agents to programmatically merge pull requests directly within GitHub repositories. It streamlines the final step of the contribution workflow by executing merge commands without manual intervention.
When to use it
- Automating the merging of approved pull requests in continuous integration pipelines.
- Reducing manual overhead for teams with high volumes of code submissions.
- Enforcing automated workflows where specific approval criteria are met before merging.
- Integrating merge actions into broader DevOps automation scripts or agent routines.
Key capabilities
- Direct execution of pull request merges on GitHub.
- Programmatic interaction with repository state to finalize changes.
- Facilitation of seamless code integration workflows.
Example prompts
- "Merge the latest pull request for the feature branch into main."
- "Automatically merge all approved pull requests in this repository."
- "Execute a merge command for PR #42 after verifying the status."
Tips & gotchas
Ensure the AI agent has the necessary write permissions and authentication tokens to perform merge actions on the target repository. Be cautious of merging unverified code; always validate that approval criteria are met before triggering the skill.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.