/mattpocock-skills:github-triagefrom mattpocock-skills
Triages GitHub issues using a label-based state machine (needs-triage, ready-for-agent, etc.) and `gh` CLI. Use for issue triage, bug review, or workflow management.
Ships in mattpocock-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.
Triage issues in the current repo using a label-based state machine. Infer the repo from git remote. Use gh for all GitHub operations.
Every comment or issue posted to GitHub during triage must include the following disclaimer at the top of the comment body, before any other content:
> *This was generated by AI during triage.*
.out-of-scope/ knowledge base works| Label | Type | Description |
|---|---|---|
bug | Category | Something is broken |
enhancement | Category | New feature or improvement |
needs-triage | State | Maintainer needs to evaluate this issue |
needs-info | State | Waiting on reporter for more information |
ready-for-agent | State | Fully specified, ready for AFK agent |
ready-for-human | State | Requires human implementation |
wontfix | State | Will not be actioned |
Every issue should have exactly one state label and one category label. If an issue has conflicting state labels (e.g. both needs-triage and ready-for-agent), flag the conflict and ask the maintainer which state is correct before doing anything else. Provide a recommendation.
| Current State | Can transition to | Who triggers it | What happens |
|---|---|---|---|
unlabeled | needs-triage | Skill (on first look) | Issue needs maintainer evaluation. Skill applies label after presenting recommendation. |
unlabeled | ready-for-agent | Maintainer (via skill) | Issue is already well-specified and agent-suitable. Skill writes agent brief comment, applies label. |
unlabeled | ready-for-human | Maintainer (via skill) | Issue requires human implementation. Skill writes a brief comment summarizing the task, applies label. |
unlabeled | wontfix | Maintainer (via skill) | Issue is spam, duplicate, or out of scope. Skill closes with comment (and writes .out-of-scope/ for enhancements). |
needs-triage | needs-info | Maintainer (via skill) | Issue is underspecified. Skill posts triage notes capturing progress so far + questions for reporter. |
needs-triage | ready-for-agent | Maintainer (via skill) | Grilling session complete, agent-suitable. Skill writes agent brief comment, applies label. |
needs-triage | ready-for-human | Maintainer (via skill) | Grilling session complete, needs human. Skill writes a brief comment summarizing the task, applies label. |
needs-triage | wontfix | Maintainer (via skill) | Maintainer decides not to action. Skill closes with comment (and writes .out-of-scope/ for enhancements). |
needs-info | needs-triage | Skill (detects reply) | Reporter has replied. Skill surfaces to maintainer for re-evaluation. |
An issue can only move along these transitions. The maintainer can override any state directly (see Quick State Override below), but the skill should flag if the transition is unusual.
The maintainer invokes /github-triage then describes what they want in natural language. The skill interprets the request and takes the appropriate action.
Example requests:
When the maintainer asks for an overview, query GitHub and present a summary grouped into three buckets:
needs-triage issues — maintainer needs to evaluate or continue evaluating.needs-info issues with new activity — the reporter has commented since the last triage notes comment. Check comment timestamps to determine this.Display counts per group. Within each group, show issues oldest first (longest-waiting gets attention first). For each issue, show: number, title, age, and a one-line summary of the issue body.
Let the maintainer pick which issue to dive into.
Before presenting anything to the maintainer:
.out-of-scope/*.md files and check if this issue matches or is similar to a previously rejected conceptTell the maintainer:
.out-of-scope/concept-name.md — we rejected this before because X. Do you still feel the same way?"Then wait for the maintainer's direction. They may:
If the issue is categorized as a bug, attempt to reproduce it before starting a /grill-with-docs session. This will vary by codebase, but do your best:
needs-infoThe reproduction attempt informs the /grill-with-docs session and the agent brief. A confirmed reproduction with a known code path makes for a much stronger brief.
If the issue needs to be fleshed out before it's ready for an agent, interview the maintainer to build a complete specification. Use the /grill-with-docs skill.
Depending on the outcome:
.out-of-scope/, post a comment linking to it, then close the issue (see OUT-OF-SCOPE.md)When the maintainer explicitly tells you to move an issue to a specific state (e.g. "move #42 to ready-for-agent"), trust their judgment and apply the label directly.
Still show a confirmation of what you're about to do: which labels will be added/removed, and whether you'll post a comment or close the issue. But skip the /grill-with-docs session entirely.
If moving to ready-for-agent without a /grill-with-docs session, ask the maintainer if they want to write a brief agent brief comment or skip it.
When moving an issue to needs-info, post a comment that captures the interview progress and tells the reporter what's needed:
## Triage Notes
**What we've established so far:**
- point 1
- point 2
**What we still need from you (@reporter):**
- question 1
- question 2
Include everything resolved during the /grill-with-docs session in "established so far" — this work should not be lost. The questions for the reporter should be specific and actionable, not vague ("please provide more info").
When triaging an issue that already has triage notes from a previous session:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
github-issues, issue-triage, label-management, state-machine
Generated from the plugin's indexed repository (timothyvang/grill-me) — no native marketplace selected
npx claudepluginhub p/timothyvang-mattpocock-skills22 skills in this plugin
/cavemanUltra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.
/design-an-interfaceGenerate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice"./diagnoseDisciplined diagnosis loop for hard bugs and performance regressions. Reproduce → minimise → hypothesise → instrument → fix → regression-test. Use when user says "diagnose this" / "debug this", reports a bug, says something is broken/throwing/failing, or describes a performance regression./edit-articleEdit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft./git-guardrails-claude-codeSet up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code./grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".Other plugins' skills for the same job