Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

triage-issue

БесплатноБез исполняемых скриптовНе проверен

First-contact triage for a GitHub issue

mastra-aiот mastra-ai★ 29 944 звезды на GitHub

Об этом скилле

Triage Issue

Use this skill for first-contact intake on one GitHub issue. Gather enough context to classify the issue, choose the next route, post or update one concise issue comment, apply the minimal triage labels, and stop.

Keep the work focused on first-contact intake: classify the issue, explain the route, update the issue, and stop. If the issue needs technical investigation after triage, route it to Investigate issue #<number> so a follow-on understand-issue run can do that work.

Label policy

Use only these auto-triage labels:

  • status: auto-triaged — add after a successful triage comment for every issue processed by this skill.
  • status: needs approval — add only when the recommended next action needs maintainer approval or prep before someone should investigate, implement, close, or reject.

Also remove status: needs triage after the triage comment is posted or updated, if that label is present.

Apply only the labels listed above.

Output contract

Triage ends with one GitHub-visible issue comment. Update an existing auto-triage comment when possible instead of adding duplicates.

Use this shape:

Thanks for opening this.

**Triage:** <bug|feature request|docs|question/support|maintenance|duplicate|resolved|invalid|spam|out-of-scope|other> — <one-sentence classification>
**Route:** <Investigate issue #n|Prepare approval|Ask author for info|Close as duplicate/resolved/invalid/spam/out-of-scope|Answer provided / close|Other>
**Severity:** <🔴 critical|🟠 high|🟡 medium|🟢 low> — <short reason>
**Confidence:** <high|medium|low> — <short reason>
**Next step:** <concise maintainer-facing next action>

<Short explanation with the concrete evidence used, what was not checked if relevant, and why this route was chosen.>

<If asking for info, list the exact missing details. If duplicate/resolved, link the issue or PR. If answering a question, give the answer briefly and say it can be closed if no follow-up is needed.>

Severity guide:

  • 🔴 critical — security issue, data loss, outage, or core path unusable.
  • 🟠 high — serious regression or common workflow blocked.
  • 🟡 medium — actionable bug/docs gap/behavior confusion with limited scope.
  • 🟢 low — minor issue, support question, duplicate, invalid, spam, or unclear report.

Workflow

1. Resolve input

  • Require one issue number or issue URL.
  • Parse the issue number and repository.
  • If the input cannot be resolved, state what is missing and stop.

2. Gather context

Gather enough context to classify well. Keep this fast and bounded; do not perform deep code investigation.

Fetch issue details, labels, comments, author context, and state:

gh issue view "$ISSUE" --comments --json number,title,state,author,authorAssociation,assignees,labels,createdAt,updatedAt,body,comments,url

Then check:

  • Issue state: if the issue is not open, stop unless the user explicitly asked for a note.
  • Current labels: preserve useful existing type/severity labels in your reasoning, but do not over-label.
  • Author context: lightly note whether the author appears to be a maintainer/core contributor or external reporter. Do not skip contributor-authored issues by default; still classify them.
  • Existing discussion: read comments for clarifications, maintainer hints, repro details, workarounds, and prior decisions.
  • Closing/fixing PRs: find PRs that explicitly close or fix this issue. Treat mention-only PRs as context unless they clearly resolve the issue.
  • Duplicates/related issues: search for obvious duplicates or closely related open/closed issues using title keywords, error messages, package names, and affected feature names.
  • Likely area: if obvious from the issue, optionally check recent history for that area to improve routing/severity. Keep this shallow; do not trace implementation.

Useful commands:

ISSUE_NODE_ID=$(gh issue view "$ISSUE" --json id -q .id)
gh api graphql -f query='query($id:ID!){ node(id:$id){ ... on Issue { closedByPullRequestsReferences(first:20){ nodes{ number title state url isDraft } } } } }' -f id="$ISSUE_NODE_ID"
gh issue list --search "<keywords>" --state all --json number,title,state,labels,url --limit 20

3. Classify and route

Choose one primary type and one primary route. If multiple types apply, pick the route that best determines what a maintainer should do next.

| Type | Use when | Route | Approval label | | ----------------------------------- | ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------

Полный SKILL.md на GitHub

Установить triage-issue в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл triage-issue?

First-contact triage for a GitHub issue

Как установить скилл triage-issue?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл triage-issue запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить triage-issue с