Skip to content

chore(llm): Add triage-issue skill#19356

Open
chargome wants to merge 6 commits intodevelopfrom
cg/triage-skill
Open

chore(llm): Add triage-issue skill#19356
chargome wants to merge 6 commits intodevelopfrom
cg/triage-skill

Conversation

@chargome
Copy link
Member

@chargome chargome commented Feb 17, 2026

  • Adds a new local Claude Code skill at .claude/skills/triage-issue/SKILL.md
  • Invoked via /triage-issue <issue-number-or-url> [--ci] to triage GitHub issues on getsentry/sentry-javascript
  • Produces a structured report with classification, root cause analysis, cross-repo search results, and actionable next steps
  • Optional --ci flag outputs a Linear payload stub (to be wired up later)

Closes #19357 (added automatically)

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

Codecov Results 📊


Generated by Codecov Action

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

size-limit report 📦

Path Size % Change Change
@sentry/browser 25.56 kB - -
@sentry/browser - with treeshaking flags 24.08 kB - -
@sentry/browser (incl. Tracing) 42.36 kB - -
@sentry/browser (incl. Tracing, Profiling) 47.03 kB - -
@sentry/browser (incl. Tracing, Replay) 81.18 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 70.8 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 85.87 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 98.03 kB - -
@sentry/browser (incl. Feedback) 42.29 kB - -
@sentry/browser (incl. sendFeedback) 30.23 kB - -
@sentry/browser (incl. FeedbackAsync) 35.22 kB - -
@sentry/browser (incl. Metrics) 26.74 kB - -
@sentry/browser (incl. Logs) 26.88 kB - -
@sentry/browser (incl. Metrics & Logs) 27.56 kB - -
@sentry/react 27.33 kB - -
@sentry/react (incl. Tracing) 44.72 kB - -
@sentry/vue 30.01 kB - -
@sentry/vue (incl. Tracing) 44.22 kB - -
@sentry/svelte 25.58 kB - -
CDN Bundle 28.11 kB - -
CDN Bundle (incl. Tracing) 43.2 kB - -
CDN Bundle (incl. Logs, Metrics) 28.95 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 44.03 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 68.02 kB - -
CDN Bundle (incl. Tracing, Replay) 80.07 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 80.94 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 85.5 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 86.4 kB - -
CDN Bundle - uncompressed 82.22 kB - -
CDN Bundle (incl. Tracing) - uncompressed 127.93 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 85.05 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 130.76 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 208.71 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 244.81 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 247.63 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 257.61 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 260.42 kB - -
@sentry/nextjs (client) 47.07 kB - -
@sentry/sveltekit (client) 42.81 kB - -
@sentry/node-core 52.15 kB +0.02% +9 B 🔺
@sentry/node 166.53 kB +0.01% +8 B 🔺
@sentry/node - without tracing 93.95 kB +0.02% +12 B 🔺
@sentry/aws-serverless 109.45 kB +0.01% +9 B 🔺

View base workflow run

@github-actions
Copy link
Contributor

github-actions bot commented Feb 17, 2026

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.
⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,816 - 9,593 -8%
GET With Sentry 1,630 18% 1,696 -4%
GET With Sentry (error only) 6,086 69% 6,179 -2%
POST Baseline 1,173 - 1,201 -2%
POST With Sentry 569 49% 579 -2%
POST With Sentry (error only) 1,041 89% 1,065 -2%
MYSQL Baseline 3,208 - 3,338 -4%
MYSQL With Sentry 458 14% 499 -8%
MYSQL With Sentry (error only) 2,594 81% 2,688 -3%

View base workflow run

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file can be put into scripts/

Comment on lines +26 to +27
- Run `gh api repos/getsentry/sentry-javascript/issues/<number>` to get the title, body, labels, reactions, and state.
- Run `gh api repos/getsentry/sentry-javascript/issues/<number>/comments` to get the conversation context.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The new triage-issue skill will fail because it lacks the necessary gh and python3 permissions in the .claude/settings.json allowlist.
Severity: CRITICAL

Suggested Fix

Update the allow array in the .claude/settings.json file to include Bash(gh:*) and Bash(python3:*) to grant the required permissions for the new skill to execute its commands.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: .claude/skills/triage-issue/SKILL.md#L26-L27

Potential issue: The new `triage-issue` skill requires permissions to execute `gh` and
`python3` commands. However, the permissions allowlist in `.claude/settings.json` does
not include `Bash(gh:*)` or `Bash(python3:*)`. As a result, when the skill attempts to
use `gh api` (lines 26-27) or the `post_linear_comment.py` script, the commands will be
denied by the Claude Code environment, preventing the skill from functioning as
intended. This is a blocking configuration issue for the new skill.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(llm): Add triage-issue skill

2 participants