PR Shepherd — Git skill for Claude Code
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
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
- Monitors CI/CD - Polls every 60 seconds for status changes
- Monitors Reviews - Watches for new comment
Alternatives in Git
- 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 ★
- Resolve Reviews — 指定したPRの未解決レビューコメントに対応する 697 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Merge Conflict Walkthrough
Walks through each conflicted file in a merge or rebase - lists files, reads markers, proposes a resolution wi
PR Autofix
Fix PRs autonomously. Triage open PRs by tier, address thread feedback, fix CI failures, and enable auto-merge
Butflow
GitButler CI review flow: implement, PR, monitor CI, address reviews, merge
Monitor CI
Monitor CI for a PR, diagnose failures, and fix them.
Gh PRs Monitor
Claude Code plugin for your GitHub pull requests: the PRs you opened and those waiting on your review, in a pa
GitHub Activity Agent
Local GitHub activity monitor with zero dependencies. A dashboard shows pushes, PRs and reviews across your re
Related Agents
Merge Resolver
Resolve git merge conflicts by analyzing commit history, code intent, and metadata. Use when PRs have conflict
Worker Conflict Resolver
Given a set of PR numbers with mutual merge conflicts (or conflicts against main), produce a unified resolutio
PR Shepherd
Takes an APPROVED loop PR from reviewer-approve to MERGED — pre-flight hygiene → push-delivery verification →