Skip to content

Commit a721f41

Browse files
committed
Fixed skill
1 parent 04706c1 commit a721f41

3 files changed

Lines changed: 17 additions & 13 deletions

File tree

.cursor/skills/triage-issues/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Every issue type has its own research approach.
5353
When finishing the analysis, outputs the findings using this exact template:
5454
~~~
5555
## Triage Report
56-
**Size**: [Tiny/Small/Medium/Large]
56+
**Effort to Fix**: [Tiny/Small/Medium/Large]
5757
**Type**: [Question/Bug]
5858
**Affected Module**: [Module Name]
5959
### Summary

.cursor/skills/triage-issues/references.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ of the usecase. Sometimes there is a link to external demo project.
1919

2020
# Minimal Issue Details
2121

22-
- Issue type: potential bug, feature request,
22+
- Issue type: potential bug, feature request, chore
2323
- Affected component: language client or JDBC driver
2424
- Affected area: core functionality (data codecs, configuration validation, formats), special functionality (subset of core functionality or very specific feature) or general failure.
2525

.github/workflows/claude-issue-triage.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ on:
3333
description: "Issue number to triage"
3434
required: true
3535
type: string
36-
# TEST ONLY: run the split workflow on push to the test branch so it can be
37-
# exercised without opening an issue. Falls back to issue 2827 (see prep step).
36+
# TEST ONLY: run the split workflow on PRs so it can be exercised from a
37+
# branch (a pull_request run uses the workflow file as it exists on the PR
38+
# branch, and claude-code-action natively supports pull_request — unlike
39+
# push). No issue context, so it falls back to issue 2827 (see prep step).
3840
# Remove this trigger before merging.
39-
push:
40-
branches:
41-
- 06/15/26/triage_issue_wf
41+
pull_request:
42+
types: [opened, synchronize, reopened]
4243

4344
# Least privilege by default; each job narrows or widens this as needed.
4445
permissions:
@@ -52,7 +53,7 @@ jobs:
5253
if: >-
5354
github.event_name == 'workflow_dispatch' ||
5455
github.event_name == 'issues' ||
55-
github.event_name == 'push' ||
56+
github.event_name == 'pull_request' ||
5657
(github.event_name == 'issue_comment' &&
5758
github.event.issue.pull_request == null &&
5859
startsWith(github.event.comment.body, '/triage') &&
@@ -66,6 +67,9 @@ jobs:
6667
permissions:
6768
contents: read
6869
issues: read
70+
# TEST ONLY: claude-code-action reads PR context on pull_request events.
71+
# Read-only; remove with the pull_request trigger before merging.
72+
pull-requests: read
6973
concurrency:
7074
group: claude-issue-triage-${{ github.repository }}-${{ github.event.inputs.issue_number || github.event.issue.number }}
7175
cancel-in-progress: true
@@ -93,9 +97,9 @@ jobs:
9397
# issue that triggered the event (opened issue or commented issue).
9498
ISSUE="${INPUT_ISSUE:-}"
9599
[ -z "$ISSUE" ] && ISSUE="${EVENT_ISSUE:-}"
96-
# TEST ONLY: the push trigger has no issue context, so fall back to a
97-
# known issue to exercise the split workflow. Remove with the push
98-
# trigger before merging.
100+
# TEST ONLY: the pull_request trigger has no issue context, so fall
101+
# back to a known issue to exercise the split workflow. Remove with the
102+
# pull_request trigger before merging.
99103
[ -z "$ISSUE" ] && ISSUE="2827"
100104
if [ -z "$ISSUE" ]; then
101105
echo "::error::no issue number — pass issue_number or trigger on issues/issue_comment"
@@ -138,8 +142,8 @@ jobs:
138142
# commands, or exfiltrate anything. It cannot edit repo files or post
139143
# comments — the separate `comment` job does that deterministically.
140144
claude_args: |
141-
--allowedTools "Read,Glob,Grep,Write,Task"
142-
--disallowedTools "Edit,MultiEdit,NotebookEdit,WebFetch,WebSearch,Bash"
145+
--allowedTools "Read,Glob,Grep,Write"
146+
--disallowedTools "Edit,MultiEdit,NotebookEdit,WebFetch,WebSearch,Bash,Task"
143147
--max-turns 40
144148
prompt: |
145149
REPO: ${{ github.repository }}

0 commit comments

Comments
 (0)