Shepherd

From robinebers/skills · View interactive version

Shepherd is an AI agent skill from the GitHub repository robinebers/skills. Shepherd a GitHub pull request all the way to merge-ready by relentlessly polling status and only acting once all automatic reviewers have finished. NEVER merges without explicit human approval. Use when the user says things like "shepherd this PR", "babysit this PR", "get this PR merge-ready", "wai

How to use this skill

Skill file

Shepherd PR

Your job is to shepherd this PR all the way to merge-ready - reviewed, addressed, verified, and CI green. Not merged. Merging is a human decision.

Create the PR (or pick up the one just created), mark as ready for review if not yet the case, then relentlessly poll its status in a loop. Do not stop polling until all automatic reviewers (e.g., Bugbot, Cubic, etc) have fully completed their review.

  1. Wait for reviewers: Keep polling gh pr view / gh pr checks / review comments until ALL reviewers have finished. Do not act on partial feedback. If one is still running, keep waiting.
  1. Triage their feedback: Once both are done, implement their required changes. Fix everything medium severity and beyond. Only fix low severity issue if they're a DRY violation or if there are other issues to fix already. Strictly skip suggestions/low severity issue if they're the only ones remaining, and they qualify under super minor (nit) or rare edge case. In these cases reply explaining why and continue working autonomously.
  1. Commit and push: After implementing changes, commit and push. Then go back to step 1 - the reviewers will automatically re-review your new push.
  1. Loop: Repeat until a full cycle passes with nothing meaningful left to address from either reviewer.
  1. Double-verify merge-ready: Before declaring the PR merge-ready, verify twice that (a) all reviewers have re-run on the latest commit, (b) no outstanding required changes remain, and (c) CI is green and the PR is mergeable.
  1. Stop. Hand off to human. Report that the PR is merge-ready and wait. Do not merge.

Hard rule: never merge without explicit approval

"Pushed a fix" is not done. "All green" is not done either - it's the handoff point.

Do not stop early. Do not merge on your own.

Done is when you've looped through a clean review cycle, double-checked it, reported merge-ready, and the human has explicitly approved the merge.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.