triage-issues
БесплатноЗапускает вложенные скриптыНе проверенTriage open issues in nrwl/nx. Applies the scope and type labels that make an issue count as triaged, asks for a reproduction when one is missing, runs the…
от nrwl★ 29 499 звёзд на GitHubОб этом скилле
Triage an nx issue
An issue is triaged when it carries at least one scope: label. That is not a convention, it is
the definition in scripts/issues-scraper/scrape-issues.ts — every open issue with no scope: label
increments untriagedIssueCount, which .github/workflows/issue-notifier.yml posts to Slack every
Sunday. Applying the right scope label is therefore the one step you cannot skip.
Everything else here exists to answer a second question: can someone actually work this issue? That means a reproduction that runs, a version we can compare against, and a clear statement of what was expected.
Guardrails
Read these before touching anything. Most of them are irreversible in one direction.
- Nothing is written to GitHub until a human approves it. Every mutation goes through
.claude/tools/triage(Step 11), which stages it as a reviewable record. That tool is the only thing in this workflow that callsgh issue editorgh issue comment. This is enforced, not asked for:allowed-toolsabove grantsgh issue viewandgh issue listand nothing else, sogh issue edit,commentandcloseare unavailable here even if you reach for them. It grants normeither, so the state directory cannot be cleared from inside this skill. - Never close an issue directly. Stage the close as a proposal with its reason and a comment explaining it; a human approves it. The tool refuses to stage a close that has no comment.
- Never apply
staleoroutdated. Both are bot-owned —staleby.github/workflows/schedule-stale.yml,outdatedby.github/workflows/lock-threads.ymlon threads closed 30+ days. Setting either by hand corrupts the bots' bookkeeping. - A
blocked:label is an eviction timer, not a note. The stale bot watchesblocked: repro needed,blocked: more info neededandblocked: retry with latest: 7 days of silence marks the issuestale, 21 more close it. Putting one on a well-formed issue deletes it in four weeks and nobody will notice. Apply one only when you can name the specific missing thing. - Taking a
blocked:label off is part of the job.remove-stale-when-updatedstripsstalewhen the reporter replies, but leaves the blocker in place, so the issue keeps re-entering the stale cycle. If the reporter has answered, removing the blocker is the highest-value edit you make. - Comments are public and permanent. Show the exact text before posting. The stale bot already nags on a schedule; your comment should say something it can't.
- Every record carries a priority, an assignee and a comment (Steps 8, 9 and 11). All three are
proposals — the approval step is what makes them real — but none may be left blank, including on an
issue that already has a PR open or that you just blocked. Present the evidence behind each.
Applying needs the account running
ghto have write access. - A record that changes an issue without telling the reporter why is not finished. Labels, priority and an assignee appearing with no comment is indistinguishable from a bot relabelling someone's thread. The comment is the part they can read, and the part they can argue with.
Without write access — an outside contributor, or a token scoped to reads — every analysis step still
works. Say so in the report and hand over the gh commands instead of running them.
1. Pick the targets
For one or more explicit issues:
gh issue view <N> --repo nrwl/nx --json number,title,body,labels,assignees,author,createdAt,updatedAt,comments,reactionGroups
For a sweep, this is the queue. An issue is untriaged when it is missing any of the three things
that make it workable — a scope: label, a priority, or an owner:
gh issue list --repo nrwl/nx --state open --limit 300 \
--json number,title,labels,assignees --jq '[.[] | select(
(.assignees | length == 0) or
([.labels[].name | select(startswith("scope:"))] | length == 0) or
([.labels[].name | select(startswith("priority:"))] | length == 0))][].number' \
> /tmp/untriaged.txt
Unassigned counts as untriaged, which is why assignees is in that predicate. An issue nobody
owns is not going to move, whatever labels it carries.
startswith("scope:") — no space — is deliberate: it matches how scripts/issues-scraper counts,
and it catches the malformed scope:gradle label alongside the well-formed ones.
That query is a strict superset of the scraper's narrower definition (open issues with no scope:
label at all), which is the number issue-notifier.yml posts to Slack weekly. Measured on the live
backlog: 46 by this query, 44 by the scraper's, 0 issues in the scraper's set that this one misses.
So working this queue always moves the Slack metric; it just also catches issues that have a scope but
no owner or priority.
--limit is not a page size — gh paginates up to it — so set it above the backlog and let the query
return everyt
Установить triage-issues в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
AgentBash(.claude/tools/triage *)Bash(TRIAGE_DIR=* .claude/tools/triage *)Bash(tools/review-sandbox/sandbox *)Bash(gh issue view *)Bash(gh issue list *)Bash(gh search issues *)Bash(gh pr view *)Bash(gh pr list *)Bash(gh label list *)Bash(gh api graphql *)Bash(gh api repos/nrwl/nx/*)Bash(npm view *)Bash(head *)ReadGrepGlobWrite(/tmp/**)SkillВложенные файлы
FAQ
Что делает скилл triage-issues?
Triage open issues in nrwl/nx. Applies the scope and type labels that make an issue count as triaged, asks for a reproduction when one is missing, runs the reproduction when one exists, and proposes a priority and an owner. Produces a plan you approve before anything is written to GitHub. Use on "triage this issue", "triage #12345", "triage the untriaged backlog", "does this issue have enough information", "is this issue actionable", "what's missing from this issue".
Как установить скилл triage-issues?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл triage-issues запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic