triage-issues
Review and assess every issue in the TMDb project board's Backlog column — re-verify each against current main with a read-only fan-out, close the…
от adamayoung★ 182 звезды на GitHub
Установить triage-issues в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Triage Issues
Grooms the Backlog column of the TMDb GitHub Project into a queue someone
can work from without asking a question first.
The board is at github.com/users/adamayoung/projects/<n>; issues live in
adamayoung/TMDb. This skill owns the Ready test, the four exits, the
wontfix rules and the skip rule; the priority and size rubrics live in
.claude/workflows/triage-issues.js (RUBRIC), the copy handed to every
agent — nothing else in the repo restates any of them.
Issue creation is owned by .github/ISSUE_FILING.md;
this skill consumes what that produces.
Contract
Input: nothing. It discovers its own work. Output: field updates on the board, at most one comment per changed issue, a Project status update carrying the ordered run-list, and a summary to the caller. Never: opens a PR, edits source, or changes an issue that is not in Backlog.
Phase 1 — Resolve the board, and the tree
Project operations go through the GitHub MCP (mcp__github__projects_*), not
gh project. Per ADR-0009 the MCP is the default and gh covers only the
enumerated exceptions, which Projects is not — and concretely, gh project
requires a read:project token scope this repo's usual token does not carry, so
the gh route fails at the first call.
Resolve by title, never a hard-coded number — the number changes if the board is recreated, and a stale number makes every later write a silent no-op:
mcp__github__projects_list / list_projects owner: adamayoung, owner_type: user
→ select the project whose title is exactly "TMDb"
Zero matches or more than one → stop and say so. Do not guess.
"Headless" here means unattended within a session — it decides for itself. It cannot run on a GitHub Actions runner: the Project MCP is user-scoped and is not mounted there (ADR-0009 records this as the reason
claude.ymlandintegration-failure.ymlstay ongit/gh), andgh projectneeds a scope this repo's token lacks. Wiring this to a cron would fail at the call above.
Then pin the tree the verdicts are about. The Ready test says "re-verified at HEAD", which is worth nothing if HEAD is a stale checkout or a feature branch — run this skill from an unfetched branch and every verdict is stamped against history while claiming to be current.
git fetch origin
git rev-parse --abbrev-ref HEAD # must be main
git rev-parse --short origin/main # this is the sha passed to the workflow
Not on main, or main behind origin/main → say so and stop. The agents run
git log in this checkout, so the checkout has to be the thing being triaged.
A skill cannot be tested from the branch that introduces it. This guard demands
main, and checking outmainremoves an unmerged skill file — so the first real run necessarily comes after the merge. That is the right way round: a branch's tree is not what the issues are about. When this was first hit,Sources/andTests/were identical tomainbutci.yml,MakefileandScripts/were not — which is exactly what two of the open CI issues were about. Dry-run the workflow directly if you need to exercise the machinery before merging; do not relax this.
Capture that sha and today's date; both are passed to the workflow, which cannot compute a date itself.
Phase 2 — Adopt orphans
Any open issue in adamayoung/TMDb that is not on the board is invisible to
this skill. Sweep them in before triaging, or a forgotten project assignment
silently loses work:
gh issue list --repo adamayoung/TMDb --state open --limit 200 --json number,url
Add each missing one with projects_write / add_project_item, then set its
Status to Backlog explicitly with update_project_item. Do not rely on the
board's "Item added" workflow to do it: whether that automation is enabled is not
queryable through the API and nothing here can check it. If it is off, adopted
items arrive with no Status — and since Phase 3 onward works from the Backlog
set and the
scope rule forbids touching anything outside Backlog, they would be permanently
invisible. That is the precise outcome this phase exists to prevent, so it must
not depend on an unverifiable assumption.
For the same reason, Phase 3 treats an item with empty Status as Backlog.
Report the count adopted. A growing count usually means an issue-filing skill is
skipping its board step — a bug in that skill, not here. One standing
exception: .github/workflows/integration-failure.yml files its alert issue
with plain gh issue create and cannot add it to the board, for the same reason
this skill cannot run on a runner. Those arrive as orphans every time. Adopt them,
but do not read them as a filing bug — and take care triaging one that tracks an
in-flight fix PR, since it is not stale, it is in progress.
Phase 3 — S
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл triage-issues?
Review and assess every issue in the TMDb project board's Backlog column — re-verify each against current main with a read-only fan-out, close the mechanically dead, promote the actionable to Ready with priority, size and execution order, and leave the rest in Backlog naming the decision they need. Use to groom the backlog, before planning a release, or on a schedule. Runs headless: it decides for itself within the rules below.
Как установить скилл triage-issues?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл triage-issues запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…