Command Palette

Search for a command to run...

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

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от nrwl★ 29 499 звёзд на GitHub

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

Read Codex execution conventions before following this workflow.

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 calls gh issue edit or gh issue comment. Do not call GitHub mutation commands directly or clear the staging directory; Codex does not enforce this boundary through skill metadata.
  • 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 stale or outdated. Both are bot-owned — stale by .github/workflows/schedule-stale.yml, outdated by .github/workflows/lock-threads.yml on 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 watches blocked: repro needed, blocked: more info needed and blocked: retry with latest: 7 days of silence marks the issue stale, 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-updated strips stale when 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 gh to 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 everything. Do not cap the enumeration: a truncated list is indisting

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

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

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

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

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

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

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

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

Вложенные файлы

agents/openai.yamlreferences/labels.mdreferences/replies.mdscripts/audit-repro.sh

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 запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

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