/chrisbanes-skills:shepherdfrom chrisbanes-skills
Monitors and shepherds open pull/merge requests by triaging review feedback, CI failures, and routine follow-up. Supports GitHub and GitLab platforms.
Ships in chrisbanes-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Batch each target's actionable feedback into one verified push. Resolve addressed threads after replying and pushing. Merge only with authority.
Identify the platform from git remote get-url origin. Use gh for GitHub
or glab for GitLab. Escalate ambiguous targets or platforms. For a one-off
inspection or no open targets, report the state and stop. Project controllers
and ticket agents follow Project waiting rules. Otherwise, when the host
offers PR event wakes, load its monitor tools (including deferred tools such
as Claude Desktop's ccd_pr) and follow
host-managed monitoring.
Establish targets and a handled-ID snapshot. Every external comment, review,
or thread absent from that snapshot is new, including pre-session feedback.
After each poll record feedback IDs, CI state, and this controller's comments.
For a deliver-issue PR, send the finding, current head and delivery record
to delivery to resume implement-with-subagents. Use the reviewed repair
for the next push. Return scope changes for replanning.
For other PRs, retain the implementation owner and reuse the delivery
record or PR snapshot. Verify scope, base/head, prior verdicts, findings
and dispositions. Mark missing evidence unknown. Only when no workflow
owner exists may the authorized controller take a repair. Verify the target
checkout, head and absence of competing writers, then record that decision
before edits or handoff. Never infer ownership from commit authorship.
Hold writes on an unresolved claim or unavailable owner until prior work is
reconciled and writers are quiescent. A read-only audit can inspect the
frozen candidate meanwhile. Report uncertainty and preserve publication gates.
Reconcile applicable current-head review initiation under
PR review timing on acquisition and relevant
wakes, even without repairs; one-off inspections stay read-only.
Read routine evidence in the controller. Delegate only a specific diagnostic question about a large failed CI log to a read-only helper. Use the handoff reference. Supply the target, head, failed job, log and question. Request a diagnosis with log references and uncertainty. Keep monitoring and remote actions with the authorized controller.
Compare complete reviews, comments and checks against the snapshot using provider commands. Under host monitoring, read once per wake. Act only on new evidence and skip status-only comments.
Triage new evidence before remote mutation. Verify review comments as
hypotheses rather than treating bot severity labels as mandatory inline fixes.
Fix verified in-scope defects and narrow formatting, lint, compile, or test
failures; answer clear questions in-thread.
Apply Behavioral review and repair for
hypothesis dispositions, pre-patch altitude checks, related boundary cases,
convergence audits, rethink routing, review coverage and browser failure
evidence. Use
the reporting context and repair owner resolved in step 2; the authorized
controller retains remote mutations.
Escalate material maintainer direction, architectural or contradictory
feedback, unfamiliar failures, non-obvious fixes, and out-of-scope conflicts.
Classify GitLab manual jobs using the provider's candidate checks in step 4.
Repair each target in its own head checkout, in this order:
Recheck CI after the verified repair push; return to step 6 on another code-related failure. Retry a suspected flaky GitLab job once without code changes; report a second failure. Poll pending checks every 2–5 minutes, active repair every 30–60 seconds, and after three or more unchanged cycles every 10+ minutes. Two unchanged cycles remain on the normal 2–5 minute cadence. Under host-managed monitoring, follow the host procedure after the push to continue watching and end the turn.
Merge only with explicit or standing authority, no conflicts, and passing checks, reviews and finding dispositions for the refreshed head. Follow the merge routing in step 4 and require that SHA; requalify on mismatch. For a queue, verify final-head enforcement. For pending gates, arm auto-merge only under PR review timing step 6, apply its step 7 after the merge, and check which events the active monitor wakes on. Disable controller-enabled auto-merge on escalation.
Continue until the user stops monitoring, all targets merge or close, or escalation is needed. Escalate immediately for an unresolved conflict, a material human decision, contradictory reviews, or a failure still present after three repair cycles.
Report each target's current CI and review state, actions taken, checks run (say when none ran), unavailable evidence and the next required human decision. Describe repairs in step 6 order. For host monitoring, name the events that will not wake the session.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub chrisbanes/skills --plugin chrisbanes-skills23 skills in this plugin
/android-benchmark-comparisonUse when comparing physical Android benchmark configurations, investigating inconsistent rankings, or selecting an Android default from measured results. Do not use for code-level Compose performance diagnosis without a configuration comparison./changelogUse when updating or reviewing Unreleased changelog entries, reconciling a changelog against Git history and issue or PR evidence, or preparing changelog notes for a specified release./compose-animationsUse when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animate*AsState, updateTransition, rememberTransition, AnimatedContent, and Crossfade./compose-component-designUse when designing or reviewing reusable Jetpack Compose component APIs with modifier parameters, root layout placement, caller-provided variable content, primitive content parameters, optional content, or boolean shape flags./compose-focus-navigationUse when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior./compose-performanceUse when investigating Jetpack Compose recomposition cost, compiler stability reports, skippability, unstable parameters, frame-rate State reads, cross-phase snapshot back-writing, or @ReadOnlyComposable contracts.Other plugins' skills for the same job