Command Palette

Search for a command to run...

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

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от 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-info issues 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

  1. Show the queue. Unlabelled, then state:new, then overdue needs-info, oldest first; tag [issue] or [PR].
  2. Gather context. Read the thread and earlier triage notes; never re-ask an answered question.
  3. 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.
  4. Verify the claim. Reproduce a bug from the reporter's steps; check out a PR and run its tests. No bug reaches accepted without reproduced.
  5. Recommend, then apply. Post type, state and reasoning; the maintainer confirms. Flag conflicting labels instead of fixing them silently.
  6. Write the outcome note from assets/triage_notes_template.md: needs-info, duplicate, out-of-scope (plus register entry) or already-implemented.
  7. Write the brief [RECOMMENDED] for ready-for-agent from assets/agent_brief_template.md: behaviour not steps, no file paths, testable criteria, an out-of-scope fence, a verification command. ready-for-human adds why it cannot be delegated.
  8. Quality gate. Run agent_brief_linter.py on every brief and triage_state_validator.py on 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

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

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

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

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

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

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

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

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

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

assets/agent_brief_template.mdassets/label_scheme_template.mdassets/out_of_scope_entry_template.mdassets/sample_agent_brief_clean.mdassets/sample_agent_briefs.jsonassets/sample_triage_history.jsonassets/sample_triage_history_clean.jsonassets/triage_notes_template.mdreferences/agent-briefs.mdreferences/evidence-and-out-of-scope.mdreferences/state-machine-and-labels.mdscripts/agent_brief_linter.pyscripts/triage_state_validator.py

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

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

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

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