babysit-pr
यह क्या करती है
यह स्किल एक pull request की निगरानी करती है और उसके CI विफलताएं और समीक्षा फ़ीडबैक ठीक करती है, बदलाव बैच में push करते हुए। यह उन डेवलपर्स के लिए है जो कम मैन्युअल फ़ॉलो-अप के साथ pull request को साफ़ स्थिति में लाना चाहते हैं।
कब इस्तेमाल करें
- ✓जब किसी pull request के विफल checks अपने-आप ठीक करवाने हों।
- ✓जब रिव्यूअर ने टिप्पणियां छोड़ी हों और आप चाहते हैं कि वे आते ही संभाली जाएं।
- ✓जब आप चाहते हैं कि pull request merge के लिए तैयार होने तक देखी जाए।
Skill का लिंक
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/babysit-pr/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“क्या आप मेरी pull request पर नज़र रख सकते हैं और जब तक वह साफ़ न हो, विफल checks या समीक्षा टिप्पणियां ठीक कर सकते हैं?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट हर दौर में pull request जांचता है, सभी समीक्षा टिप्पणियां पढ़ता है, जो हो सके ठीक करता है, और बदलाव एक बैच में push करता है। merge request के बिना, हरे checks और बिना नए फ़ीडबैक के 30 मिनट बाद वह रुक जाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Babysit PR
Monitor PR $ARGUMENTS: fix CI failures and review feedback, one batched push
at a time, until the PR is clean. With no number, find it from the branch:
gh pr list --head "$(git branch --show-current)" --state open --json number --limit 1
Ownership, who may push or comment, the merge gate, cadence, and the Codex
goal and heartbeat all live in ship. Under /ship this is a step inside it:
keep going through the merge. Standalone, stop after 30 minutes of green
GitHub Actions and no new feedback, and merge only if the user asks.
Each tick
Refresh and read the live PR:
git fetch origin --quiet gh api user --jq .login gh pr view $ARGUMENTS --json state,mergedAt,author,headRepository,headRefName,headRefOid,baseRefName,mergeable,mergeCommitIf
author.loginisn't your login, don't push, comment, or merge unless the user named this PR and that action. Closed without a merge ends the work; report it as unsuccessful. Merged under/shipcontinues with its post-merge step. If the query fails, retry on the next tick instead of acting on old data.Read all review comments, every tick, until the moment you merge. Review bots re-review on every push and post a new round each time. Never filter by a "since <timestamp>" window: it hides rounds posted before your last reply, and "0 new" reads as "all addressed" (this left two rounds unanswered on PR #1097). Use reply state instead. Run both queries below with
set -o pipefail. If either fails, the PR is not clean: retry next tick, and never read empty output from a failed call as "no feedback". This lists every top-level comment with no reply:gh api --paginate repos/{owner}/{repo}/pulls/$ARGUMENTS/comments --jq '.[]' \ | jq -s ' ([ .[] | .in_reply_to_id // empty ]) as $replied | .[] | select((.in_reply_to_id // null) == null) | select(.id as $id | ($replied | index($id)) | not) | {id, user: .user.login, path, line: (.line // .original_line), snippet: (.body[0:200])}'Bind
.id as $idfirst.index(.id)would read.idfrom the$repliedarray and fail. Review bodies carry findings too:gh api --paginate repos/{owner}/{repo}/pulls/$ARGUMENTS/reviews \ --jq '.[] | select(.body != null and .body != "") | {user: .user.login, state, submitted_at, body: .body[0:1000]}'Check CI with
gh pr checks $ARGUMENTSand read the logs of failing jobs. Fix repo-owned causes. Provider outages, cancelled runs, and missing secrets are not code bugs. Failures from external checks only (Cloudflare, Netlify) while GitHub Actions is green don't block, and they don't reset any timer.Fix, validate, push once. Collect everything actionable from steps 2 and 3 first, run the focused checks for what you changed, then push a single update. Each push restarts CI, so don't push piecemeal.
Reply on your own PR. Answer every thread you fixed or declined with the fix or your reasoning, and post one short top-level recap for feedback that only appeared in a review body. On anyone else's PR, comment only if the user named that PR and the comment. Feedback that needs a reply you aren't allowed to post stays unresolved and blocks the merge.
Judging feedback
- Follow a human reviewer over a bot. Treat a bot comment as a hypothesis and verify it before acting.
- Fix real bugs, security issues, data-loss risks, and repo-rule violations, even when this PR didn't introduce them.
- Skip, with a reply saying why: pre-existing issues the PR doesn't touch, false positives, nitpicks, and anything the linter or typechecker already covers.
- Never leave a comment without a disposition.
- A high or critical finding closes only with a commit that fixes it, or a reply that points at the code showing it can't happen. Replying "addressed" without either doesn't close it, and it blocks the merge.
- When a third round of findings lands on code this PR added, stop patching its edges: each patch is new code for the next round. Replace it with something simpler, often by fixing the boundary that made it necessary, or, in a sweep, revert that report's commit and leave it for a person. #8288 patched one resolver about 25 times in a day and never merged.
Pushing to an existing PR
pnpm ship:push -m "<specific subject>" stages every publishable dirty path,
so check `
अक्सर पूछे जाने वाले सवाल
क्या यह pull request merge करेगा?
अपने-आप नहीं। यह तभी merge करता है जब आप कहें।
अगर pull request मेरी न हो तो?
स्किल कहती है कि किसी और की pull request पर push, टिप्पणी या merge न करें, जब तक आपने उसका नाम न लिया हो।
क्या यह हर टिप्पणी पढ़ता है?
हां। हर दौर में सभी समीक्षा टिप्पणियां पढ़ी जाती हैं, क्योंकि हर push के बाद review bots दोबारा टिप्पणी करते हैं।
जानकारी
लेखक का मूल विवरण
Watch an open PR and fix its CI failures and review feedback until it's clean. Use standalone for a PR you want monitored, or as the babysit step of /ship, which continues through the merge.
repo: BuilderIO/agent-native
लोकप्रियता
- GitHub स्टार
- 7.6k
- रैंकिंग में स्थान
- #13139
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
design-exploration
7.6kयह आपके एजेंट को UI के कई डिज़ाइन विकल्प साथ-साथ दिखाने, आपकी पसंद चुनवाने और फिर चुने डिज़ाइन को सुधारने में मदद करती है।
visual-edit
7.6kयह आपके एजेंट को चल रहे लोकल ऐप को विज़ुअल एडिटर में खोलने देती है, ताकि आप उसकी असली स्क्रीन एक साथ देखकर संपादित कर सकें।
turn-into-app
7.6kयह किसी वर्कफ़्लो, स्प्रेडशीट या प्रोजेक्ट को भरी हुई स्क्रीन वाले विज़ुअल ऐप में बदलती है, जिसके कंट्रोल के पीछे एजेंट काम करता है।
visual-plan
7.6kयह सादे टेक्स्ट वाली योजना को डायग्राम, फ़ाइल नक्शों, कोड अंश और खुले सवालों वाली इंटरैक्टिव विज़ुअल योजना में बदलती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।