PR Merge

Merge GitHub pull requests with branch protection and audit logging.

39|6|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/the-agency-ai/the-agency --skill pr-merge-the-agency-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: PR Merge
Source: https://github.com/the-agency-ai/the-agency/tree/main/.claude/skills/pr-merge
Command: npx skills add https://github.com/the-agency-ai/the-agency --skill pr-merge-the-agency-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

It prevents misuse and mistakes during pull request merges by enforcing clear rules and requiring explicit authorization.

Core Features & Use Cases

  • Controlled PR Merging: Merge pull requests while respecting branch protections and with audit logging.
  • Authorization Enforcement: Require principal approval for admin overrides to prevent accidental bypasses.
  • Use Case: A team lead wants to safely merge a feature branch into main without risking unintended squashes or bypassing protections; this skill guides and enforces proper procedures.

Quick Start

Use the pr merge skill to merge pull request number 42 safely, ensuring all branch protections are respected.

Frequently Asked Questions about PR Merge

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

FAQPage Schema
How do I safely merge a GitHub pull request without bypassing branch protection rules?

Merging a pull request safely requires verifying approvals and enforcing branch protection rules. This skill guides the process, preventing accidental admin overrides and maintaining an immutable audit trail of the merge operations.

How does PR merge authorization enforcement prevent admin override misuse?

Authorization enforcement prevents admin override misuse by requiring explicit principal approval before allowing any policy bypass. This ensures merge operations adhere to project policies and prevents accidental branch protection circumvention.

Can I use this to merge a feature branch into main while keeping an audit trail?

Yes, you can merge a feature branch into main using this skill. It enforces controlled PR merging by respecting branch protections and generating clear audit logs, ensuring transparent and compliant integration into the main codebase.

What is the best way to ensure compliant pull request merging in software engineering teams?

The best way to ensure compliant pull request merging is to enforce explicit authorization and verify approvals before integrating code. This skill provides step-by-step guidance to maintain immutable history and project policy adherence.

Why does my pull request merge fail when trying to bypass branch protection?

Your pull request merge fails because the skill enforces branch protection rules and requires principal approval for admin overrides. This prevents accidental bypasses and ensures all merge operations strictly adhere to project policies.