/selamy-skills:github-pr-shepherdingfrom selamy-skills
Use when monitoring, unblocking, or driving GitHub PRs or native stacks through required checks, group merge, merge queues, auto-merge for ordinary PRs, runner pickup, or blocker comments. Verify current GitHub state and report merged or blocked with evidence.
Ships in selamy-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.
Shepherd a pull request from current GitHub state to either merged or explicitly blocked. Treat GitHub as the system of record, avoid CI churn, and make every wait, comment, or unblock action evidence-based.
env -u GH_TOKEN -u GITHUB_TOKEN gh ... so environment tokens do not shadow host auth.stacked-diff-discipline for the ordered members, trunk, selected prefix, and per-member heads/bases/checks. Distinguish a native stack from ordinary parent-based PRs.statusCheckRollup.merged: merged into the intended base.mergeable: approved, non-draft, checks satisfied, and the applicable PR or stack merge can proceed. A native member also requires every unmerged member below it to be ready.waiting on checks: checks are pending or queued with recent activity.failed checks: required or blocking checks failed or were cancelled.missing review/signoff: review decision or required approval is blocking.draft: draft state blocks merge or queue entry.queued/no runner pickup: queued, requested, or expected CI work has not started; distinguish normal queue delay from stale pickup.inaccessible due to auth: GitHub data needed for classification cannot be read after vantage is verified.gh stack merge <highest-included-pr> --yes or its native queue path after verifying the selected prefix. Do not use a per-PR auto-merge loop for a native stack.queued until GitHub confirms actual merges.git diff <that-heads-merge-base> <that-head> | git patch-id --verbatim results; preserve semantic whitespace and request review again on any difference.Done means the PR is merged into the intended base and the real artifact is verified from the default branch or other system of record the user cares about. For bug fixes, verifier fixes, or CI fixes, include same-PR regression or ratchet evidence before calling it done.
For a stack, verify every included PR and map it to the resulting trunk SHA or queue group and post-merge evidence. Verify the combined artifact and remaining members' new bases/heads; one green member does not establish stack delivery.
If the PR cannot be merged, report blocked with the classification, the GitHub evidence observed, the exact missing requirement, and the next legitimate owner/action.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub selamy-labs/agent-skills --plugin selamy-skills111 skills in this plugin
/adaptive-estimationUse when tracking a slowly-varying latent quantity from noisy measurements with quantifiable uncertainty — a drifting metric, capacity, latency trend, or confidence. Prefer a Kalman-style adaptive estimator over fixed moving averages or static thresholds./adaptive-loop-budgetingUse when an autonomous loop needs explicit limits on attempts, time, cost, tool calls, verification depth, or risk, and a clear stop, continue, yield, or escalate decision./adopt-and-deleteUse when adopting a shared module, library, chart, or service, or doing any consolidation, migration, or refactor that supersedes existing code. The change that adds the replacement must REMOVE what it replaced, in the same atomic change.