测试与安全

babysit

jssblck/agents

Use when asked to babysit a GitHub PR or wait for its CI or review checks.

  • 667 次安装
  • 收录于

安装命令

npx skills add https://github.com/jssblck/agents --skill babysit

SKILL.md

Babysit a PR

Check mergeability first, then run one gh watcher and wait for its process to finish. Success means the intended checks completed for the current PR head, with any failures or missing checks accounted for. Babysitting does not authorize merging, bypassing gates, or posting review comments.

Check for conflicts before waiting

Use an explicit PR number and repository throughout:

gh pr view <n> -R <owner/repo> --json state,url,headRefOid,baseRefName,baseRefOid,mergeable,mergeStateStatus,isDraft,reviewDecision

Record the head SHA, base branch, and base SHA. Stop watching if the PR is closed or merged. Handle mergeable before starting a watcher: