issue-triage
БесплатноЗапускает вложенные скриптыНе проверенMove engineering issues and external PRs through a triage state machine and write agent-ready briefs. Use when clearing a triage queue, deciding if a report…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Issue Triage
Triage decides, for each inbound issue or external pull request, what it is, whether it is real, whether the project wants it, and who makes the next move. The agent runs it as a state machine — new → needs-info → reproduced → accepted / duplicate / out-of-scope → ready-for-agent / ready-for-human — so every item has one owner of its next step and shortcuts become visible. A PR is an issue with code attached: same states, read against the diff.
When to Use
- A backlog of unlabelled or
needs-infoissues needs clearing - Deciding whether a bug report holds up or a feature request is wanted
- An external PR arrives and needs a verdict before review time is spent
- An accepted issue is about to go to a coding agent and needs a brief
Clarify First
The tracker conventions and who decides shape every label change. Settle the inputs below before producing anything. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Label scheme and tracker: state may be labels or native statuses; mapping wrongly creates two sources of truth. Default:
type:/state:/priority:labels. - Out-of-scope register location: without it, the prior-rejection check cannot run and old debates restart.
- Who confirms decisions: the agent recommends; a maintainer approves state changes unless they said to apply them directly.
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Quick Start
Audit a triage export against the state machine (exit 1 = violations):
python3 project-management/execution/issue-triage/scripts/triage_state_validator.py \
--input project-management/execution/issue-triage/assets/sample_triage_history_clean.json --today 2026-11-08
# assets/sample_triage_history.json is the flawed export: exits 1 with 10 errors
Lint briefs before an item moves to ready-for-* (exit 1 = not hand-off ready):
python3 project-management/execution/issue-triage/scripts/agent_brief_linter.py \
--input project-management/execution/issue-triage/assets/sample_agent_brief_clean.md --format json
A clean export prints:
Triage state validation: PASS (5 items, as of 2026-11-08)
Tools Overview
| Tool | Input | Checks |
|---|---|---|
triage_state_validator.py |
Issues with labels + transitions; register | Illegal moves, label invariants, unreproduced bugs, missing briefs, unlinked duplicates, unregistered rejections, stale needs-info |
agent_brief_linter.py |
Briefs, JSON or markdown | Missing sections, paths/line numbers, vague or compound criteria, procedural wording, no verification command |
Exit code contract [PROVEN]
| Code | Meaning |
|---|---|
| 0 | No error findings (warnings allowed) |
| 1 | Gate failed: at least one error finding — the flawed samples exit 1 by design |
| 2 | Input missing, unreadable, or not the expected shape |
Workflow
- Show the queue. Unlabelled, then
state:new, then overdueneeds-info, oldest first; tag[issue]or[PR]. - Gather context. Read the thread and earlier triage notes; never re-ask an answered question.
- Run the evidence checks [PROVEN]. Search by concept for an existing implementation and say where you looked; check the out-of-scope register for a prior rejection. Details:
references/evidence-and-out-of-scope.md. - Verify the claim. Reproduce a bug from the reporter's steps; check out a PR and run its tests. No bug reaches
acceptedwithoutreproduced. - Recommend, then apply. Post type, state and reasoning; the maintainer confirms. Flag conflicting labels instead of fixing them silently.
- Write the outcome note from
assets/triage_notes_template.md: needs-info, duplicate, out-of-scope (plus register entry) or already-implemented. - Write the brief [RECOMMENDED] for
ready-for-agentfromassets/agent_brief_template.md: behaviour not steps, no file paths, testable criteria, an out-of-scope fence, a verification command.ready-for-humanadds why it cannot be delegated. - Quality gate. Run
agent_brief_linter.pyon every brief andtriage_state_validator.pyon the weekly export; validate to zero errors before the state changes.
| Signal in the export | Diagnosis |
|---|---|
needs-info keeps growing |
Questions too vague to answer |
accepted keeps growing |
Briefs not being written |
Many ready-for-agent, few resolved |
Briefs too loose; tighten criteria |
Anti-Patterns
Accepting Unreproduced Bugs
Mistake: A plausible bug goes from new to accepted and then to an agent.
Why it happens: The report sounds credible and reproducing feels slow.
Instead: Reproduce first; the reproduction note becomes the brief's "current behavior". If you cannot, use needs-info or record why you accept wi
Установить issue-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл issue-triage?
Move engineering issues and external PRs through a triage state machine and write agent-ready briefs. Use when clearing a triage queue, deciding if a report is real or wanted, or handing an issue to a coding agent.
Как установить скилл issue-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл issue-triage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic