/dominiks-skills:triagefrom dominiks-skills
Triage GitHub issues through a state machine of canonical roles via `gh`. Use when the user wants to triage incoming bugs/feature requests, prepare issues for an AFK agent, or move issues through workflow.
Ships in dominiks-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.
Move GitHub issues through a small state machine of triage roles via gh.
Conventions (see top-level README): gh CLI only; the canonical roles below are the source of truth.
Every comment or issue posted during triage must start with this disclaimer:
> *This was generated by AI during triage.*
.out-of-scope/ knowledge base worksTwo category roles:
bug — something is brokenenhancement — new feature or improvementFive state roles:
needs-triage — maintainer needs to evaluateneeds-info — waiting on reporter for more informationready-for-agent — fully specified, ready for an AFK agentready-for-human — needs human implementationwontfix — will not be actionedEvery 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.
State 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.
If the project's actual labels diverge from these canonical names (e.g. triage:needs-info instead of needs-info), check with gh label list once at the start and map accordingly.
The maintainer invokes /triage and describes what they want in natural language. Examples:
Query GitHub via gh and present three buckets, oldest first:
# Unlabeled — never triaged
gh issue list --search "no:label" --limit 50 --json number,title,createdAt
# needs-triage in progress
gh issue list --label "needs-triage" --limit 50 --json number,title,updatedAt
# needs-info with reporter activity since the last triage notes
gh issue list --label "needs-info" --limit 50 --json number,title,updatedAt,comments
Show counts and a one-line summary per issue. Let the maintainer pick.
Gather context.
gh issue view <N> --comments
Read 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.
Recommend. Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the issue. Wait for direction.
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.
Grill (if needed). If the issue needs fleshing out, run a /grill-with-docs session.
Apply the outcome:
# ready-for-agent — post the agent brief, swap labels
gh issue comment <N> --body "$(cat <<'EOF'
> *This was generated by AI during triage.*
<agent brief per AGENT-BRIEF.md>
EOF
)"
gh issue edit <N> --remove-label "needs-triage,needs-info" --add-label "ready-for-agent,bug" # or enhancement
# ready-for-human — same brief, note why it can't be delegated
gh issue edit <N> --remove-label "needs-triage,needs-info" --add-label "ready-for-human,bug"
# needs-info — post triage notes
gh issue comment <N> --body "$(cat <<'EOF'
> *This was generated by AI during triage.*
## Triage Notes
**What we've established so far:**
- point 1
- point 2
**What we still need from you (@reporter):**
- question 1
- question 2
EOF
)"
gh issue edit <N> --remove-label "needs-triage" --add-label "needs-info"
# wontfix (bug) — polite explanation, then close
gh issue comment <N> --body "<reasoning>"
gh issue close <N> --reason "not planned" --add-label "wontfix"
# wontfix (enhancement) — write to .out-of-scope/, link, close
# create .out-of-scope/<slug>.md per OUT-OF-SCOPE.md
gh issue comment <N> --body "Recorded in .out-of-scope/<slug>.md — <link>"
gh issue close <N> --reason "not planned" --add-label "wontfix"
Capture everything resolved during grilling under "What we've established so far" so the work isn't lost. Questions must be specific and actionable, not "please provide more info".
If the maintainer says "move #42 to ready-for-agent", trust them and apply the role directly. Confirm what you're about to do (label changes, comment, close), then act. Skip grilling. If moving to ready-for-agent without a grilling session, ask whether they want an agent brief.
If 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.
What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (dominikdorfstetter/skills) — no native marketplace selected
npx claudepluginhub p/dominikdorfstetter-dominiks-skills25 skills in this plugin
/add-backend-endpointAdd a new backend HTTP endpoint following the project's existing conventions — language and framework agnostic. Walks the layers (schema → repo → handler → routing → spec → client wiring), TDD-first. Use when adding a new API route to a backend codebase./add-list-pageScaffold a new CRUD list page in any frontend codebase — language and framework agnostic. Walks the layers (data fetch, mutations, RBAC, loading/empty/error, i18n, accessibility, UX polish), TDD-first. Use when adding a list/management page to a UI codebase./architect-reviewArchitectural evaluation of a codebase. Finds tech debt, missing patterns, coverage gaps, design inconsistencies; files parent + sub-issues via `gh`. Use when user asks for an architecture review, codebase evaluation, or wants to know what to fix structurally.Other plugins' skills for the same job