Auto Pr Merger
Skill by autogame-17
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/autogame-17/auto-pr-mergerWhat This Skill Does
The Auto PR Merger skill by autogame-17 is a sophisticated automation tool designed to streamline the GitHub pull request lifecycle. Instead of manually checking out branches, executing test suites, debugging failures, and merging code, this agentic skill handles the entire sequence autonomously. By integrating with the GitHub CLI (gh), it pulls the specified PR into your local environment, executes your defined test suite, and—if a failure occurs—attempts to identify and patch the code using internal logic. Once the environment validates that the tests pass, the skill automatically merges the PR into the base branch, saving developers significant time on repetitive CI/CD overhead and minor bug squashing.
Installation
To integrate this skill into your OpenClaw environment, ensure you have Node.js installed and the GitHub CLI (gh) configured with appropriate repository permissions. Run the following command in your terminal:
clawhub install openclaw/skills/skills/autogame-17/auto-pr-merger
Ensure your terminal session has the necessary environment variables set to interact with your specific GitHub repositories, and verify that the gh tool is authenticated by running gh auth status.
Use Cases
This skill is ideal for high-velocity software teams and open-source maintainers who deal with a large volume of pull requests. It is particularly useful for handling minor dependency updates or trivial documentation fixes that require standard test validation. It allows maintainers to queue PRs for automated review, knowing the agent will proactively attempt to fix failing tests before notifying a human for a final audit.
Example Prompts
- "OpenClaw, please run the Auto PR Merger for pull request #42 and use 'npm test' to validate the build. Attempt up to 2 retries if the tests fail."
- "Merge PR 156 from the repo using 'pytest' as the test command. If it fails, try to apply a fix and retry once."
- "Automate the merge process for the latest PR in this repository, using 'npm run ci' for testing and the default retry limit."
Tips & Limitations
The Auto PR Merger is most effective when your test suite is deterministic and provides clear feedback. Because the 'fix' logic is currently an evolving feature, avoid using this on mission-critical production codebases without human supervision. Always review the logs generated during the testing phase to understand what fixes were applied. Additionally, ensure your gh CLI has the correct write permissions, as the automated merge process will fail if the token lacks repository access.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-autogame-17-auto-pr-merger": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, external-api, code-execution
Related Skills
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
feishu-voice-assistant
Sends voice messages (audio) to Feishu chats using Duby TTS.
security-sentinel
Scan the workspace for security vulnerabilities, exposed secrets, and misconfigurations.
prompt-optimizer
Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. Use when user asks to improve, optimize, or analyze a prompt; when a prompt needs better clarity, specificity, or structure; or when generating prompt variations for different use cases. Covers quality assessment, targeted improvements, and automatic optimization across techniques like CoT, few-shot learning, role-play, and 50+ more.
Feishu Broadcast
Skill by autogame-17