You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cadc9fc
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .claude/skills/bug-triage/SKILL.md
+64-19Lines changed: 64 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: bug-triage
3
-
description: Triage open Comet issues marked `requires-triage` per the project bug triage guide. Applies the recommended priority and area labels, removes `requires-triage`, and files a dated summary issue listing what was done. A human reviews the summary issue and closes it when satisfied.
3
+
description: Triage open Comet issues marked `requires-triage` per the project bug triage guide. Classifies each issue as a bug or an enhancement, applies the recommended type (`bug`/`enhancement`), priority, and area labels, removes `requires-triage`, and files a dated summary issue listing what was done. A human reviews the summary issue and closes it when satisfied.
4
4
---
5
5
6
6
<!--
@@ -29,10 +29,16 @@ Run a bug triage pass for the `apache/datafusion-comet` repository.
29
29
This skill triages every open issue carrying the `requires-triage` label. For
30
30
each one it:
31
31
32
-
1. Decides a priority and area labels using the project's triage guide.
33
-
2. Applies those labels via `gh`.
34
-
3. Removes the `requires-triage` label.
35
-
4. Records the decision (with rationale) in a single dated summary issue.
32
+
1. Decides whether the issue is a bug or an enhancement (feature request).
33
+
2. Decides a priority (bugs only) and area labels using the project's triage
34
+
guide.
35
+
3. Applies those labels via `gh` (`bug` or `enhancement`, plus priority/area),
36
+
ensuring `bug` and `enhancement` are never both present.
37
+
4. Removes the `requires-triage` label.
38
+
5. Records the decision (with rationale) in a single dated summary issue.
39
+
40
+
`requires-triage` is auto-applied to **every** new issue, not just bug reports,
41
+
so the first decision for each issue is always bug vs. enhancement.
36
42
37
43
A human reviewer reads the summary issue, sanity-checks the calls, and closes
38
44
it when satisfied. Any label correction is done by the reviewer directly on the
@@ -74,26 +80,42 @@ file an empty summary issue and do not modify any labels.
74
80
75
81
For each issue, review the title and body and determine:
76
82
77
-
1.**Priority label** (exactly one): apply the decision tree from the guide.
83
+
1.**Type label** (exactly one of `bug` / `enhancement`):
84
+
-`bug`: something is broken. Wrong results, crashes, panics, regressions,
85
+
test/CI failures, or any behavior that differs from what Comet should do.
86
+
-`enhancement`: a request for new functionality or improvement that is not
87
+
yet expected to work. New expression/operator support, a new config, a
88
+
performance optimization request, a refactor, or a docs addition.
89
+
- Do not rely on the title wording alone. An issue titled "bug: ..." may
90
+
actually be a feature request, and an issue with no "bug" in the title may
91
+
be a genuine defect. Classify from the actual content.
92
+
- A bug and an enhancement are mutually exclusive: an issue must never carry
93
+
both `bug` and `enhancement`. If the issue already has the wrong type label,
94
+
remove it (see Step 5).
95
+
2.**Priority label** (exactly one, **bugs only**): apply the decision tree from
96
+
the guide.
78
97
-`priority:critical` for correctness issues (silent wrong results, data
79
98
corruption) and security vulnerabilities
80
99
-`priority:high` for crashes, panics, segfaults, NPEs on supported paths
81
100
-`priority:medium` for functional bugs / performance regressions with
82
101
workarounds
83
102
-`priority:low` for test-only, CI flakes, tooling, cosmetic
84
-
2.**Area labels** (zero or more): from the area table in the guide
103
+
3.**Area labels** (zero or more): from the area table in the guide
0 commit comments