Auto PR Merger Skill

Check out GitHub PRs, run tests, apply AI fixes, and merge on success.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/velamints2/clawbot-lab --skill auto-pr-merger-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Auto PR Merger Skill
Source: https://github.com/velamints2/clawbot-lab/tree/main/skills/auto-pr-merger
Command: npx skills add https://github.com/velamints2/clawbot-lab --skill auto-pr-merger-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires minimist.

What problem does it solve?

Automates the end-to-end PR workflow by checking out a GitHub PR, running tests, attempting automated fixes when tests fail, and merging the PR when checks pass.

Core Features & Use Cases

  • Automates PR checkout and test execution to streamline code review cycles.
  • Attempts automated fixes for test failures using AI-assisted guidance, then re-tests.
  • Merges PR automatically when tests pass and checks complete.

Quick Start

Provide a PR number and a test command to start the automated PR merge workflow.

Frequently Asked Questions about Auto PR Merger Skill

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

FAQPage Schema
How do I automate GitHub PR merge workflows after CI tests pass?

Automate GitHub PR merge workflows by checking out the PR, running tests, attempting AI-assisted fixes for failures, and merging automatically when checks pass. This streamlines code review cycles and handles retries with built-in safeguards.

Can I automatically fix failing tests in a GitHub PR before merging?

Yes, you can automatically fix failing tests in a GitHub PR using AI-assisted conflict resolution. The workflow attempts automated code fixes for test failures, re-tests the changes, and proceeds to merge only when the tests pass successfully.

What do I need to set up to automate PR checkout and test execution in CI?

To automate PR checkout and test execution in CI, you need a GitHub PR number and a test command. The workflow orchestrates GitHub CLI commands within common CI environments to execute the automated merge process safely.

How does AI-assisted conflict resolution work for automated PR merges?

AI-assisted conflict resolution for automated PR merges works by applying AI-generated code fixes when tests fail. It orchestrates test execution, analyzes failures, attempts fixes, and retries the checks before performing a safe auto-merge.

Are there built-in safeguards when auto-merging GitHub PRs in CI environments?

Yes, there are built-in safeguards when auto-merging GitHub PRs in CI environments. The workflow ensures the PR is only merged automatically when tests pass and checks complete, preventing broken code from entering the main branch.

What is the best way to run an end-to-end PR workflow with automated fixes?

The best way to run an end-to-end PR workflow with automated fixes is to provide a PR number and test command. The automation handles PR checkout, test execution, AI-assisted fixes for failures, and safe auto-merge upon success.