What problem does it solve?
This Skill resolves the most common reasons a pull request stalls—conflicts, failing CI, and unresolved review feedback—by taking a disciplined, repeatable approach to drive the PR toward merge readiness.
Core Features & Use Cases
- PR conflict recovery via rebase: Detects when a PR is conflicting, rebases onto the base branch in the appropriate worktree, and pushes using
--force-with-lease when safe.
- CI health verification and targeted remediation: Checks whether CI is running; if failing, inspects failed logs and attempts fixes based on failure type (lint/format, type errors, test issues, or infrastructure flakiness).
- Review comment triage with auto-fix where possible: Fetches review and comment threads, reads the referenced code context, fixes auto-fixable issues immediately, and escalates substantive feedback for user guidance.
- Scheduled watch loop until merge-ready: Cycles every 5 minutes with status reporting, continuing until the PR is merged or the user stops it.
Quick Start
Tell the agent: “Shepherd PR 254 in mitzo#254 until it’s merge-ready, fixing conflicts and CI when possible.”