auto-pr-merge

Automate GitHub PR creation, CI monitoring, failure fixes, and merge.

40.6k|2.9k|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/stablyai/orca --skill auto-pr-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auto-pr-merge
Source: https://github.com/stablyai/orca/tree/main/.agents/skills/auto-pr-merge
Command: npx skills add https://github.com/stablyai/orca --skill auto-pr-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the entire PR lifecycle from creation to merge, reducing manual intervention and speeding up delivery.

Core Features & Use Cases

  • Orchestrates PR creation, CI check polling, and iterative fixes with an admin-approved merge.
  • Monitors CI results, diagnoses failures, applies fixes, and re-polls until success.
  • Performs a safe, worktree-aware merge with optional branch deletion.

Quick Start

Trigger the auto-pr-merge workflow on a feature branch to start autonomous PR creation and merge.

Frequently Asked Questions about auto-pr-merge

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

FAQPage Schema
How do I automate GitHub pull request merges after CI checks pass?

To automate GitHub pull request merges after CI checks pass, this Skill orchestrates PR creation, polls CI results, diagnoses and fixes failures, and performs an admin-approved merge. It runs an autonomous loop until checks succeed.

Can I automatically fix CI failures and re-run checks on a GitHub pull request?

Yes, you can automatically fix CI failures and re-run checks on a GitHub pull request. The Skill monitors CI results, diagnoses failures, applies automated fixes, and re-polls until success before proceeding to merge.

What is the best way to manage an end-to-end PR workflow without manual intervention?

The best way to manage an end-to-end PR workflow without manual intervention is using an autonomous loop that handles PR creation, CI monitoring, failure fixes, and worktree-safe cleanup with optional branch deletion.

Does this automated PR merge tool work with existing GitHub CI workflows?

Yes, this automated PR merge tool works with existing GitHub CI workflows. You apply it to GitHub repositories with CI checks to handle polling, failure diagnosis, automated fixes, and merging.

How do I ensure a safe merge and cleanup when automating GitHub pull requests?

To ensure a safe merge and cleanup when automating GitHub pull requests, the Skill performs a worktree-aware merge with optional branch deletion, preventing conflicts and maintaining repository hygiene.

What are the limitations of automating GitHub PR merges with admin override?

Limitations of automating GitHub PR merges with admin override include reliance on CI checks for polling success and the need for proper worktree management to avoid conflicts during the iterative fix and merge loop.