/github-flow:triage [--dry-run] [number|url]from github-flow
Verifies open GitHub issues/PRs against current code, then closes or comments with factual proof. Supports dry-run mode.
Ships in github-flow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Decide the fate of one issue or PR from the current code. Never state something about code you did not read this session.
$ARGUMENTS
--dry-run: verify and report, post nothing; the comment text that step 6 would post is printed./pull/ is a PR, with /issues/ an issue.gh issue view <n> --json url; a /pull/ URL means it is a PR.gh issue list --limit 30 and gh pr list --limit 30, show both lists, ask which one to triage.Fetch.
gh issue view <n> --json title,body,state,labels,comments,urlgh pr view <n> --json title,body,state,baseRefName,headRefName,mergeable,reviewDecision,statusCheckRollup,comments,url,additions,deletions and gh pr diff <n> --statClosed already: report it and stop.
Extract the claims. The problem, every file, symbol, or error named, expected versus actual, the reproduction if given, the open questions in the comments.
Verify each claim. Glob and Grep to locate, Read to confirm. git log --oneline -20 -- <file> finds a fix that landed without a link. For a PR, also check: does it apply to the current base (mergeable), do the checks pass, does the code it changes still exist on the base, has a competing change landed since.
Verdict. One word, with the proof next to it.
| Issue | PR |
|---|---|
valid: confirmed in the code, root cause named | mergeable: applies, checks pass, still wanted |
fixed: name the commit | needs-rebase: conflicts or stale base |
outdated: the code it describes is gone or changed | superseded: name the commit or PR that landed instead |
duplicate: of #N | stale: an open question with no answer, give the date |
unclear: what is missing to verify | unclear: what is missing to verify |
Report in this shape.
## #<n> <title>
Verdict: <word>
Proof: <anchor or commit>, <anchor or commit>
Action: <closed as <reason> | commented | none>
Execute the action the verdict fixes. No question: the skill runs only on an explicit call, so the caller has already chosen the effect, and a caller that wants a look first passes --dry-run.
| Verdict | Action |
|---|---|
fixed | gh issue close <n> --reason completed --comment "<text>" |
duplicate | gh issue close <n> --reason duplicate --comment "<text>" |
outdated, superseded, stale | gh issue close <n> --reason "not planned" --comment "<text>" or gh pr close <n> --comment "<text>" |
unclear | gh issue comment <n> --body "<text>" with the missing information named; stays open |
valid, mergeable, needs-rebase | none; the report is the deliverable, implementing is a separate request |
A comment states facts only: what was verified, the commit, issue, or PR that settles it, what would reopen it. For a superseded PR, name the integrating commit and what of the PR it carries. No thanks, no boilerplate, no invitation to contribute.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub bengous/claude-code-plugins --plugin github-flow5 skills in this plugin
/commit-push-prCommit the current work, push the branch, then open or update its pull request./issueWrite or rewrite a GitHub issue as the goal and how to tell it is reached - a problem in two lines, a Done when visual of testable situations, Not this, and only when the session already holds context, the author's leads folded - checked by a script before it is published. Use when the user asks to file, write, draft, open, or rewrite an issue./prOpen or update the pull request of the current branch once the branch is reviewed, with a short body in a fixed shape (why, danger, where to start, one view, proof, decisions) that a bundled script checks before it is published, and images attached through gh. Use when the user asks to open, create, submit, update, or rewrite a PR, or to push and open one.Other plugins' skills for the same job