auto-pr-mergerAutomatically checks out a GitHub PR, runs tests, retries fixes if tests fail, and merges the PR upon successful tests.
Install via ClawdBot CLI:
clawdbot install autogame-17/auto-pr-mergerThis skill automates the workflow of checking out a GitHub PR, running tests, attempting to fix failures, and merging if successful.
node skills/auto-pr-merger/index.js --pr <PR_NUMBER_OR_URL> --test "<TEST_COMMAND>" [--retries <NUMBER>]
--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.gh CLI installed and authenticated.gh pr checkout.gh pr merge --merge --auto.Generated Mar 1, 2026
Automates merging of pull requests in open-source repositories by running tests and attempting fixes. Reduces manual review workload for maintainers, ensuring only passing code is merged. Ideal for projects with frequent community contributions.
Integrates into agile development workflows to automatically test and merge feature branches. Helps teams maintain code quality by catching failures early and attempting fixes, speeding up release cycles. Suitable for fast-paced software companies.
Enhances CI/CD pipelines by adding automated fix attempts for failed tests before merging. Reduces pipeline failures and manual intervention, improving deployment reliability. Useful for organizations with complex microservices architectures.
Supports coding bootcamps or online learning platforms by automatically testing student submissions and providing fix attempts. Helps instructors manage large volumes of assignments while giving students immediate feedback. Applicable in education technology.
Automates merging of internal tool updates within large enterprises, ensuring only tested code reaches production. Reduces bottlenecks in development teams by handling routine merge tasks. Relevant for sectors like finance or healthcare with strict compliance needs.
Offer this skill as part of a SaaS platform for development teams, charging a monthly fee per user or repository. Provides value by reducing manual work and improving code quality, with potential upsells for advanced features. Revenue streams include tiered pricing based on usage levels.
Provide consulting services to integrate this skill into existing client workflows, with customization for specific test suites or fix logic. Targets enterprises needing tailored automation solutions, generating revenue through project-based fees and ongoing support contracts. Leverages expertise in DevOps and CI/CD.
Offer a free version for open-source projects with basic features, and a premium version for private repositories with advanced capabilities like detailed analytics or priority support. Drives adoption in the developer community and converts users to paid plans as their needs grow. Revenue comes from premium subscriptions.
š¬ Integration Tip
Ensure the gh CLI is properly authenticated and the test command is correctly specified to avoid runtime errors. Start with a small number of retries to monitor the fix logic's effectiveness.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Provides a 7-step debugging protocol plus language-specific commands to systematically identify, verify, and fix software bugs across multiple environments.
A comprehensive skill for using the Cursor CLI agent for various software engineering tasks (updated for 2026 features, includes tmux automation guide).
Write, run, and manage unit, integration, and E2E tests across TypeScript, Python, and Swift using recommended frameworks.
Control and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Opencode.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.