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
- 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 RepositoryRelated Skills
PR Autofix
Fix PRs autonomously. Triage open PRs by tier, address thread feedback, fix CI failures, and enable auto-merge
Merge Conflict Walkthrough
Walks through each conflicted file in a merge or rebase - lists files, reads markers, proposes a resolution wi
Butflow
GitButler CI review flow: implement, PR, monitor CI, address reviews, merge
Monitor CI
Monitor CI for a PR, diagnose failures, and fix them.
GitHub Activity Agent
Local GitHub activity monitor with zero dependencies. A dashboard shows pushes, PRs and reviews across your re
Cdd Merge Base
Integrate the current state of the base branch into the feature branch. Two phases: a dry-run conflict assessm
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 →