跳到正文
Skillpedia
部署与云(DevOps)16k · #10829

issue-triage

它能做什么

这个技能帮维护者决定如何处理新的或已有的 GitHub 问题。适合需要快速整理缺陷列表、避免重复工作的人。

适用场景

  • ✓当一个新问题出现,你需要判断它是否属实以及有多紧急的时候。
  • ✓当你想查看某个缺陷是否已经被报告过的时候。
  • ✓当你需要把大量积压的问题整理成清晰的下一步行动的时候。

技能链接

https://github.com/ParadevAI/Paradev/blob/main/plugins/github/skills/issue-triage/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ParadevAI/Paradev/blob/main/plugins/github/skills/issue-triage/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请整理这个 GitHub 问题:检查是否重复,判断紧急程度,并告诉我应该添加哪些标签。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会阅读报告,把观察到的内容与推断的结论区分开。它用错误文本和已关闭的问题查找重复项,然后在添加标签或负责人之前判断严重程度。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Triage a GitHub issue

Triage answers three questions in order: is it real, is it new, and how urgent is it. Labels and assignees come last. Applying labels without answering the first three is filing, not triage.

1. Read it as written

Fetch the issue and its comments. Separate what the reporter observed from what they concluded. "The API returns 500 when I pass an empty array" is an observation. "The validation layer is broken" is a conclusion, and it is frequently wrong even when the observation is right. Triage the observation.

Note what is missing: version, environment, reproduction steps, actual vs expected. You need these to judge severity, but ask for them only after step 2 — most issues that look under-specified turn out to be duplicates of a well-specified one.

2. Search for duplicates before anything else

This is the step that gets skipped and the one that saves the most work.

Search the issue's distinctive terms — an error string, a function name, a status code — rather than its title. Titles describe symptoms in the reporter's words; error text is stable across reporters. Search closed issues too: a bug closed as fixed and reported again means a regression, which is a different and more urgent finding than a new bug.

When you find a duplicate, comment linking both directions and close the newer one, unless the newer report contains a better reproduction — in which case close the older and carry the good repro forward.

3. Reproduce, or say plainly that you did not

If the repo is checked out and the issue has steps, run them. Record the result in a comment: what you ran, what happened, on what version.

If you cannot reproduce, say which specific step failed and what you saw instead. Never label something cannot-reproduce on the strength of not having tried — an unreproduced bug that gets closed and refiled three times costs more than the ten minutes of trying.

4. Judge severity on impact, not volume

Ask what the user cannot do, and how many users are in that position.

  • Critical — data loss, security exposure, or the primary flow is broken with no workaround.
  • High — a common flow is broken but has a workaround, or a rare flow is fully broken.
  • Normal — a real defect with limited reach.
  • Low — cosmetic, or a defect behind a flag nobody has on.

A loud thread is not evidence of severity. Ten reports of a cosmetic issue is still cosmetic; one report of silent data corruption is critical.

5. Label, assign, milestone

Apply the repo's existing labels — read them first rather than inventing new ones. Every issue gets a type (bug, feature, docs) and a severity. Add an area label only if the repo uses them and you are confident which area owns it; a wrong area label routes the issue to people who will ignore it, which is worse than no label.

Assign only when you can name the person by their ownership of the code, not by who last touched the file. Otherwise leave it unassigned and let the owning team pick it up.

Anti-patterns

  • Closing as works-as-intended without quoting the documentation or code that intends it.
  • Asking for a reproduction when the issue already has one that you did not run.
  • Labeling good-first-issue for anything you have not confirmed is small — that label is a promise to a newcomer, and breaking it costs a contributor.
  • Bulk-relabeling a backlog in one pass. Triage is per-issue judgment; a sweep that touches fifty issues in a minute did not judge any of them.
常见问题

为什么先查找重复项?

不同报告者遇到同一问题时,错误文本通常相同,因此搜索错误文本比搜索标题更可靠。

如果找到了已关闭的问题怎么办?

这通常意味着回归,技能会把它视为比新缺陷更紧急的发现。

它会自动更改标签吗?

只有在回答了问题是否属实、是否为新问题以及紧急程度之后,它才会添加标签和负责人。

详情

作者的原始描述

Triage a GitHub issue into something actionable — reproduce the claim, find duplicates, judge severity, and apply labels, milestone, and assignee. Use when the user asks to triage an issue, sort the backlog, deal with new issues, check whether a bug is already reported, or says "what should we do with this issue".

repo: ParadevAI/Paradev

热度

GitHub 星标
16k
排名
#10829
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能