shepherd
Installation
SKILL.md
Shepherd
Core principle
Poll open PRs (GitHub) and MRs (GitLab) in a loop, fix all outstanding issues locally first, then push fixes, then resolve review threads, then wait for CI. Never sit idle when a PR has unaddressed feedback or a failing CI check.
Platform detection
Use git remote get-url origin to determine the platform:
| Remote URL pattern | Platform | CLI tool | ID prefix |
|---|---|---|---|
github.com |
GitHub | gh |
# |
gitlab.* |
GitLab | glab |
! |
Use the detected CLI tool (gh or glab) for all commands below. The skill uses PR generically for both pull requests and merge requests.