bug-triage
它能做什么
这个技能把越来越长的缺陷列表整理成清晰的修复顺序。适合缺陷积压不断增加、需要计划的团队。
适用场景
- ✓当新的冲刺开始,你需要分配未解决缺陷的时候。
- ✓当未解决的缺陷数量超过大约十个的时候。
- ✓当你想查看大量缺陷中的趋势的时候。
技能链接
https://github.com/Donchitos/Claude-Code-Game-Studios/blob/main/.claude/skills/bug-triage/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我们有很多未解决的缺陷。请按优先级排序,把可以修复的分配到这个冲刺,并告诉我有哪些趋势。”
每周 5 个新技能,1 分钟读完。
工作原理
它会加载未解决的缺陷列表,把严重程度和优先级区分开,并把可以修复的缺陷分配到冲刺中。然后它会写出一份带日期的分类报告。趋势模式只会报告规律,不会改变分配。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
!bash "${CLAUDE_SKILL_DIR}/../../hooks/yaml-helper.sh" resolve_config --keys automation,workflow
Automation mode: Resolve modes.automation (project.local.yaml →
project.yaml → default collaborative). Every AskUserQuestion call and
every file write follows .claude/docs/automation-modes.md
(collaborative asks always · guided major-only · autonomous logs and proceeds;
automation_always_ask categories always prompt).
Bug Triage
This skill processes the open bug backlog into a prioritised, sprint-assigned action list. It distinguishes between severity (how bad is the impact?) and priority (how urgently must we fix it?), detects systemic trends, and ensures no critical bug is lost between sprints.
Output: production/qa/bug-triage-[date].md
When to run:
- Sprint start — assign open bugs to the new sprint or backlog
- After
/team-qacompletes and new bugs have been filed - When the bug count crosses 10+ open items
1. Parse Arguments
Modes:
/bug-triage sprint— triage against the current sprint; assign fixable bugs to the sprint backlog; defer the rest/bug-triage full— full triage of all bugs regardless of sprint scope/bug-triage trend— trend analysis only (no assignment); read-only report- No argument — run sprint mode if a current sprint exists, else full mode
2. Load Bug Backlog
Step 2a — Discover bug files
Glob for bug reports in priority order:
production/qa/bugs/*.md— individual bug report files (preferred format)production/qa/bugs.md— single consolidated bug log (fallback)- Any
production/qa/qa-plan-*.md"Bugs Found" table (last resort)
If no bug files found:
"No bug files found in
production/qa/bugs/. If bugs are tracked in a different location, adjust the glob pattern. If no bugs exist yet, there is nothing to triage."
Stop and report. Do not proceed if no bugs exist. Verdict: COMPLETE — no bug files in production/qa/bugs/; nothing to triage.
In trend mode, do not read full bug bodies. Trend metrics (volume, severity
mix, by-system, by-date) are computable from the header fields alone:
Grep pattern="\*\*(Severity|Priority|Status|System|Category|Reported)\*\*" glob="production/qa/bugs/*.md" output_mode="content"
(Bug-report fields are bolded — **Severity**:, - **System**: — so match the
**field** form, not a bare line-start Field:.)
Full bug bodies are needed only for the priority-vs-severity re-evaluation in
sprint/full modes; trend is a read-only report and skips it. (The one
deviation check that needs a story's status — "bug filed against a Complete
story" — is a targeted story-status grep either way, not a bug-body read.)
Step 2b — Load sprint context
Read the most recently modified file in production/sprints/ to understand:
- Current sprint number / name
- Stories in scope (for assignment target)
- Sprint capacity constraints (if noted)
If no sprint file exists: note "No sprint plan found — assigning to backlog only." At workflow: minimal there are no sprints by design — say that instead, and name the P1 bugs as the next fixes, ahead of the next story in the brief's build order.
Step 2c — Load severity reference
Read .claude/docs/coding-standards.md for severity/priority definitions if they
exist. If they do not exist, use the standard definitions in Step 3.
3. Classify Each Bug
For each bug, extract or infer:
Severity (impact of the bug)
| Severity | Definition |
|---|---|
| S1 — Critical | Game crashes, data loss, or complete feature failure. Cannot proceed past this point. |
| S2 — High | Major feature broken but game is still playable. Significant wrong behaviour. |
| S3 — Medium | Feature degraded but a workaround exists. Minor wrong behaviour. |
| S4 — Low | Visual glitch, cosmetic issue, typo. No gameplay impact. |
Priority (urgency of the fix)
| Priority | Definition |
|---|---|
| P1 — Fix this sprint | Blocks QA, blocks release, or is regression from last sprint |
| P2 — Fix soon | Should be resolved before the next major milestone |
| P3 — Backlog | Would be good to fix, but no active blocking impact |
| P4 — Won't fix / Deferred | Accepted risk or out of scope for current product scope |
Assignment
For each P1/P2 bug in sprint mode:
- Identify which story or epic the fix belongs to
- Check whether the current sprint has remaining capac
常见问题
严重程度和优先级有什么区别?
严重程度是影响有多大,优先级是必须多快修复。
它会总是分配缺陷吗?
只有在冲刺模式或完整模式下才会。趋势模式只读取并报告。
什么时候应该运行它?
在冲刺开始时、QA 新增缺陷之后,或列表超过大约十个未解决项时运行。
详情
作者的原始描述
Re-evaluate open bugs — priority vs severity, assign to sprints, surface systemic trends. Run when the count grows.
热度
- GitHub 星标
- 33k
- 排名
- #8443
- 许可证
- MIT
- 更新时间
- 2026/10/18
评论
- …