triage-issue

Automate GitHub issue triage with codebase research and security checks.

8.7k|1.8k|Updated Feb 1, 2012
One-click install
npx skills add https://github.com/getsentry/sentry-javascript --skill triage-issue-getsentry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: triage-issue
Source: https://github.com/getsentry/sentry-javascript/tree/main/.agents/skills/triage-issue
Command: npx skills add https://github.com/getsentry/sentry-javascript --skill triage-issue-getsentry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python3, gh, and includes scripts (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the initial triage of GitHub issues, performing essential research and providing actionable recommendations to streamline the development workflow.

Core Features & Use Cases

  • Automated Issue Analysis: Parses issue details, comments, and related code to classify issues and identify potential root causes.
  • Security Checks: Includes mandatory checks to detect prompt injection and non-English content, ensuring safe operation.
  • Codebase Research: Leverages gh api and grep/glob to search the repository and related repositories for relevant code and existing issues.
  • Use Case: When a new bug report is filed, this Skill can automatically analyze it, determine if it's a duplicate, identify the affected package, and suggest a priority and potential fix, all before a human developer needs to intervene.

Quick Start

Use the triage-issue skill to analyze issue number 1234.

Frequently Asked Questions about triage-issue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate GitHub issue triage for my repository?

Automating GitHub issue triage involves parsing issue details, researching the codebase via grep, and classifying the problem. This skill analyzes issues to identify affected packages, detect duplicates, and suggest priorities.

Can I automatically detect duplicate GitHub issues and identify affected packages?

Yes, automated issue analysis parses details and searches existing repository code to classify issues. It determines if a bug report is a duplicate and pinpoints the specific affected package.

Does the triage process include security checks for prompt injection?

Yes, robust security checks are mandatory during the triage process to detect prompt injection and non-English content. This ensures safe operation when analyzing issue details and comments.

Do I need Python and the GitHub CLI to automate issue management?

Yes, you need Python3 and the GitHub CLI (`gh`) installed. These dependencies enable the automation to execute GitHub API calls and run local scripts for parsing and security analysis.

What is the best way to analyze bug reports in a JavaScript repository?

The best way to analyze bug reports is using a tool that leverages `gh api` and grep to search the codebase. This identifies root causes, classifies the issue, and suggests a potential fix.

Are there limitations when using automated tools for GitHub issue management?

A limitation is that this specific automation targets the sentry-javascript repository. While it performs robust security checks, its codebase research and classification logic are tailored to that environment.