Auto PR Merger Skill
This skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.
Best use case
Auto PR Merger Skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
This skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.
Teams using Auto PR Merger Skill should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/auto-pr-merger/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Auto PR Merger Skill Compares
| Feature / Agent | Auto PR Merger Skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
This skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Auto PR Merger Skill
This skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.
## Usage
```bash
node skills/auto-pr-merger/index.js --pr <PR_NUMBER_OR_URL> --test "<TEST_COMMAND>" [--retries <NUMBER>]
```
## Arguments
- `--pr`: The PR number or URL (e.g., `123` or `https://github.com/owner/repo/pull/123`).
- `--test`: The command to run tests (e.g., `npm test`, `pytest`).
- `--retries`: (Optional) Number of times to attempt fixing the code if tests fail. Default: 3.
## Requirements
- `gh` CLI installed and authenticated.
- Node.js environment.
## Logic
1. Checks out the PR using `gh pr checkout`.
2. Runs the specified test command.
3. If tests fail:
* Reads the output.
* Attempts a fix (Currently a placeholder/mock fix logic).
* Commits and pushes the fix.
* Retries the test command.
4. If tests pass:
* Merges the PR using `gh pr merge --merge --auto`.Related Skills
BTC15 Autonomous Prediction Market
A fully autonomous BTC prediction market powered by three cooperating agents using USDC.
autonomous-agent
CreditNexus x402 agent. Use when the user wants stock predictions, backtests, bank linking, or agent/borrower scores. Payment-protected MCP tools (run_prediction, run_backtest, link_bank_account, get_agent_reputation_score, get_borrower_score, and by-email variants) with x402 flow (Aptos + Base). Agent handles 402 → pay → retry autonomously. Supports wallet attestation (signing) for onboarding.
automation-workflows
Design and implement automation workflows to save.
ahc-automator
Custom automation workflows for Alan Harper Composites.
telegram-auto-topic
Add `/topic` to the start of any message in a Telegram forum group to auto-create a new topic from it. A title is generated automatically from the message content. Github: https://github.com/itstauq/telegram-auto-topic
autonomous-executor
Self-healing, error-recovering task execution with full autonomy.
autotask-mcp
Use when you need to interact with Datto/Kaseya Autotask PSA via an MCP server (tickets, companies, contacts.
auto-context-manager
AI-powered automatic project context management.
auto-updater
Automatically update Clawdbot and all installed skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
x-automation
Automates the process of identifying trends on X (Twitter), generating opinionated/engaging content, and posting it. Use when asked to post to X, run X automation, or check trends for content creation.
agent-autonomy-primitives
Build long-running autonomous agent loops using ClawVault primitives (tasks, projects, memory types, templates.
web-automation-apify
This skill enables Claude to automate web interactions — filling forms, testing UIs,.