कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

auto-pr-merger

autogame-17 द्वारा

Git & GitHub
729clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

This skill automates the workflow of checking out a GitHub.

विवरण

यह स्किल क्या करती है

Automates the cycle of checking out a GitHub PR, running a test suite, and merging when tests pass. If tests fail, it reads the output, attempts a fix, commits, pushes, and retries up to a configurable number of times.

Combines checkout, test execution, fix attempt, and merge into a single command, removing the manual loop between a failing test run and an actual merge.

इसे कब इस्तेमाल करें

  • Merging Dependabot PRs after confirming tests pass
  • Batch-merging approved small bug fix PRs overnight
  • Auto-retrying a PR blocked by a transient test failure
  • Unblocking a merge queue without manual CI babysitting
  • Hands-free merging of config-only or flag PRs during off-hours

उदाहरण वर्कफ़्लो

इनपुट

User asks: merge PR #42 if tests pass, retry up to 2 times on failure

एजेंट
  1. 1

    Checks out PR #42 using gh pr checkout

  2. 2

    Runs the specified test command and captures output

  3. 3

    On failure, reads test output and applies a fix

  4. 4

    Commits and pushes the fix, then reruns the test command

  5. 5

    Merges the PR with gh pr merge --merge --auto once tests pass

आउटपुट

PR #42 merged after one fix attempt and a passing test run

आवश्यकताएँ

  • GitHub CLI (`gh`) installed and authenticated with a GitHub account

इंस्टॉलेशन

clawhub install autogame-17/auto-pr-merger

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक