pr-captain-merge

Official

Ensure safe, transparent PR merges respecting branch protections.

Authorthe-agency-ai
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates and safeguards the process of merging pull requests on GitHub, ensuring that only authorized, conflict-free merges occur with full branch protection compliance.

Core Features & Use Cases

  • Secure Merge Operations: Performs true merge commits without squash or rebase, respecting branch rules and branch protection.
  • Principal Authorization: Enforces explicit principal approval for bypassing branch protections via --principal-approved.
  • Use Case: A captain on the main branch in a production environment seamlessly merges approved PRs while maintaining a clean, auditable history, preventing accidental history rewrites.

Quick Start

State the PR number you wish to merge, then issue the command with optional flags such as --principal-approved or --dry-run to simulate the merge without executing it.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pr-captain-merge
Download link: https://github.com/the-agency-ai/the-agency/archive/main.zip#pr-captain-merge

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.