dsifry

PR Shepherd — Git skill for Claude Code

Git community

Monitor a PR through to merge - handles CI failures, reviews, and thread resolution.

How to install PR Shepherd

Installs to ~/.claude/commands/dsifry-metaswarm-pr-shepherd.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dsifry/metaswarm/HEAD/.claude/commands/pr-shepherd.md -o ~/.claude/commands/dsifry-metaswarm-pr-shepherd.md

Restart Claude Code, or start a new session, for it to be picked up.

What PR Shepherd does


description: Monitor a PR through to merge - handles CI failures, reviews, and thread resolution

PR Shepherd

Monitor a PR from creation through merge, handling CI failures, review comments, and thread resolution automatically.

Usage

/pr-shepherd [pr-number]

If no PR number is provided, uses the PR associated with the current branch.

What This Does

  1. Monitors CI/CD - Polls every 60 seconds for status changes
  2. Monitors Reviews - Watches for new comment

Alternatives in Git

  • Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
  • GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★
  • PR Fixup — Run the Kandev PR fixup loop for CI failures and automated review threads 697 ★

Full documentation available on GitHub

View Source Repository