Use when a branch needs GitHub CLI PR lifecycle work, like creating or updating a PR, watching checks for a pushed head SHA, or preparing PR handoff before review.
How this skill is triggered — by the user, by Claude, or both
Slash command
/github-cli-pr-workflow:github-cli-pr-workflowThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill when the main task is the PR lifecycle loop around a pushed branch: create or update the PR, monitor checks, and provide a clean handoff.
Use this skill when the main task is the PR lifecycle loop around a pushed branch: create or update the PR, monitor checks, and provide a clean handoff.
gh pr create from an already prepared branch.gh.github-actions-failure-triage.review-comment-resolution.finishing-a-development-branch.git-worktrees or worktrunk.Always anchor PR check status to the current pushed head SHA.
Do not report check status from stale runs or earlier commits.
| Situation | Use this skill? | Route instead |
|---|---|---|
| Create/update PR and monitor checks for a pushed branch | Yes | - |
| Failing run needs root-cause diagnosis | No | github-actions-failure-triage |
| Review comments need disposition and code fixes | No | review-comment-resolution |
| Need to choose integration option after implementation is done | No | finishing-a-development-branch |
| Need isolated worktree or parallel lane setup | No | git-worktrees or worktrunk |
Required before editing
Helpful if present
gh using the intended base branch and summary.gh pr checks --watch or SHA-scoped run listing).review-comment-resolutiongithub-actions-failure-triagefinishing-a-development-branchConfirm PR points at the intended base and head branch.
Confirm reported check status corresponds to the current head SHA.
Confirm handoff routing is explicit when transitioning to another workflow.
Smoke test:
finishing-a-development-branch)references/pr-lifecycle-commands.md - focused gh command sequence for create, update, and check-watch flows.references/routing-scenarios.md - route-to and route-away scenarios to avoid overlap with adjacent skills.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub matt-riley/lucky-hat --plugin github-cli-pr-workflow