triage-issue
БесплатноБез исполняемых скриптовНе проверенInvestigates a reported bug and turns it into a tracker issue that someone else can pick up: checks for duplicates, reproduces the problem, traces it to its…
от TerminalSkills★ 221 звезда на GitHubОб этом скилле
Triage Issue
Overview
Triage answers four questions about a reported problem: is it real, is it already known, why does it happen, and how bad is it. The output is one issue that a developer who was not in the conversation can act on: steps that reproduce the fault, the mechanism behind it with the evidence, a severity, and an ordered plan in which every step begins with a test that fails today.
The skill investigates and writes; it does not fix. Keeping the two apart is deliberate: the issue records what was learned even if the fix is done later, by someone else, or never.
Instructions
1. Take in the report
Extract what the report already contains before asking anything: what was observed, what was expected, the steps, the environment (version, browser, OS, account type), how often it happens, when it was first seen, and any evidence such as an error message, stack trace or screenshot.
Then look up what the repository can answer: the current version, recent releases, the test command, and whether .github/ISSUE_TEMPLATE/ defines headings an issue must follow. Ask the user only for what neither source gives, and no more than two questions. If the observed behaviour itself is unclear, ask that first; everything else can start without waiting.
2. Search for an existing issue
gh issue list --search "export missing rows in:title,body" --state all --limit 20 \
--json number,title,state,url
Try two or three phrasings: the user's words, the error message, the function name. If an open issue covers it, do not create another; add what is new as a comment (gh issue comment 412 --body-file triage/export-missing-rows.md). If a closed issue matches, it is a regression: link it and continue.
3. Classify
| Class | Test | Outcome |
|---|---|---|
| Bug | behaviour contradicts documentation, tests or evident intent | continue |
| Regression | it worked in an earlier version | continue, and find the introducing change in step 5 |
| Works as designed | documented behaviour the reporter did not expect | no bug issue; propose a documentation fix or a feature request and say so |
| Feature request | asks for behaviour that never existed | write it as a request, without cause or fix plan |
| Environment | only on one machine, expired credential, wrong configuration | answer the reporter; file only if the product should guard against it |
| Security | lets someone read or change what they should not | stop: never open a public issue. Use the repository's private vulnerability reporting (the "Report a vulnerability" button under its security tab) or the contact in SECURITY.md, and tell the user |
4. Reproduce
Reduce the report to the shortest sequence that shows the fault, preferably a single command or a test. Record the exact command and its output. For a fault that comes and goes, run it repeatedly and record the rate:
for i in $(seq 1 20); do npx vitest run src/auth/refresh.test.ts >/dev/null 2>&1 || echo "run $i failed"; done
If it cannot be reproduced after a serious attempt, say so in the issue, list what was tried, and carry on with the evidence there is. An honest "not reproduced" is worth more than a guessed cause.
5. Trace the cause
Separate three things that reports blur together: the symptom (what the user sees), the trigger (the input or timing that sets it off), and the cause (the code that is wrong). Work from the symptom backwards:
- In a stack trace, start at the first frame that belongs to the project, not the library frame on top. The line that throws is rarely where the bad value was made; follow the value back to where it was created.
- Compare with a neighbouring code path that does the same job correctly. The difference is often the cause.
- For a regression, let history find the change:
git log --oneline --since="3 weeks ago" -- src/export/ # what changed in the area
git log -S"pageSize" --oneline -- src/export/ # commits that added or removed a string
git log -L :exportInvoices:src/export/invoices.ts # history of one function
git bisect start v3.8.0 v3.7.2 # bad revision first, then good
git bisect run node ../repro/export-count.mjs # exit 0 = good, 1-127 = bad, 125 = skip
git bisect reset
Bisect checks out old commits, so run it only on a clean working tree, and keep the reproduction script outside the repository so that it exists at every commit.
State the cause as a mechanism: "X happens because Y, when Z". Then test it: predict something else that must be true if the mechanism is right (another input that fails, a log line that must exist) and check. Grade the result:
| Confidence | Meaning |
|---|---|
| Confirmed | reproduced, and a test or experiment shows the fault disappears when the suspected code path changes |
| Probable | the mechanism explains all evidence, but was not demonstrated |
| Unknown | symptoms documented, no mechanism yet; th |
Установить triage-issue в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл triage-issue?
Investigates a reported bug and turns it into a tracker issue that someone else can pick up: checks for duplicates, reproduces the problem, traces it to its cause in the code, rates severity, and writes a test-first fix plan. Use when someone says "triage this bug", "look into this error and file an issue", "why is this failing, write it up", "users report that...", or pastes a stack trace or a failing CI job and wants an issue rather than an immediate fix. Files on GitHub with the gh CLI, or writes the issue body to a file for any other tracker.
Как установить скилл triage-issue?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл triage-issue запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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