Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from bundle
Triage GitHub/Jira/backlog issues through Matt Pocock’s label-driven state machine.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
SKILL.md
1---2name: triage3description: Triage issues through a state machine driven by triage roles. Use when user wants to create an issue, triage issues, review incoming bugs or feature requests, prepare issues for an AFK agent, or manage issue workflow.4---56# Triage78Move issues on the project issue tracker through a small state machine of triage roles.910Every comment or issue posted to the issue tracker during triage **must** start with this disclaimer:1112```13> *This was generated by AI during triage.*14```1516## Reference docs1718- [AGENT-BRIEF.md](AGENT-BRIEF.md) — how to write durable agent briefs19- [OUT-OF-SCOPE.md](OUT-OF-SCOPE.md) — how the `.out-of-scope/` knowledge base works2021## Roles2223Two **category** roles:2425- `bug` — something is broken26- `enhancement` — new feature or improvement2728Five **state** roles:2930- `needs-triage` — maintainer needs to evaluate31- `needs-info` — waiting on reporter for more information32- `ready-for-agent` — fully specified, ready for an AFK agent33- `ready-for-human` — needs human implementation34- `wontfix` — will not be actioned3536Every triaged issue should carry exactly one category role and one state role. If state roles conflict, flag it and ask the maintainer before doing anything else.3738These are canonical role names — the actual label strings used in the issue tracker may differ. The mapping should have been provided to you - run `/setup-matt-pocock-skills` if not.3940State transitions: an unlabeled issue normally goes to `needs-triage` first; from there it moves to `needs-info`, `ready-for-agent`, `ready-for-human`, or `wontfix`. `needs-info` returns to `needs-triage` once the reporter replies. The maintainer can override at any time — flag transitions that look unusual and ask before proceeding.4142## Invocation4344The maintainer invokes `/triage` and describes what they want in natural language. Interpret the request and act. Examples:4546- "Show me anything that needs my attention"47- "Let's look at #42"48- "Move #42 to ready-for-agent"49- "What's ready for agents to pick up?"5051## Show what needs attention5253Query the issue tracker and present three buckets, oldest first:54551. **Unlabeled** — never triaged.562. **`needs-triage`** — evaluation in progress.573. **`needs-info` with reporter activity since the last triage notes** — needs re-evaluation.5859Show counts and a one-line summary per issue. Let the maintainer pick.6061## Triage a specific issue62631. **Gather context.** Read the full issue (body, comments, labels, reporter, dates). Parse any prior triage notes so you don't re-ask resolved questions. Explore the codebase using the project's domain glossary, respecting ADRs in the area. Read `.out-of-scope/*.md` and surface any prior rejection that resembles this issue.64652. **Recommend.** Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the issue. Wait for direction.66673. **Reproduce (bugs only).** Before any grilling, attempt reproduction: read the reporter's steps, trace the relevant code, run tests or commands. Report what happened — successful repro with code path, failed repro, or insufficient detail (a strong `needs-info` signal). A confirmed repro makes a much stronger agent brief.68694. **Grill (if needed).** If the issue needs fleshing out, run a `/grill-with-docs` session.70715. **Apply the outcome:**72- `ready-for-agent` — post an agent brief comment ([AGENT-BRIEF.md](AGENT-BRIEF.md)).73- `ready-for-human` — same structure as an agent brief, but note why it can't be delegated (judgment calls, external access, design decisions, manual testing).74- `needs-info` — post triage notes (template below).75- `wontfix` (bug) — polite explanation, then close.76- `wontfix` (enhancement) — write to `.out-of-scope/`, link to it from a comment, then close ([OUT-OF-SCOPE.md](OUT-OF-SCOPE.md)).77- `needs-triage` — apply the role. Optional comment if there's partial progress.7879## Quick state override8081If the maintainer says "move #42 to ready-for-agent", trust them and apply the role directly. Confirm what you're about to do (role changes, comment, close), then act. Skip grilling. If moving to `ready-for-agent` without a grilling session, ask whether they want to write an agent brief.8283## Needs-info template8485```markdown86## Triage Notes8788**What we've established so far:**8990- point 191- point 29293**What we still need from you (@reporter):**9495- question 196- question 297```9899Capture everything resolved during grilling under "established so far" so the work isn't lost. Questions must be specific and actionable, not "please provide more info".100101## Resuming a previous session102103If prior triage notes exist on the issue, read them, check whether the reporter has answered any outstanding questions, and present an updated picture before continuing. Don't re-ask resolved questions.104