| name |
description |
license |
tags |
| github-bug-report-triage |
Triage incoming GitHub bug reports by analyzing issue content, reproducing steps, assigning severity labels, linking to related issues, and routing to the appropriate team or milestone. |
MIT |
--- github issues triage bugs project-management |
GitHub Bug Report Triage
Overview
Automatically analyze new GitHub bug reports, assign severity and priority labels, identify duplicates, link related issues, and route them to the correct team or milestone for efficient resolution.
When to Use
- When a high volume of bug reports requires systematic triaging
- When you want consistent severity labeling across all issues
- When identifying duplicate bug reports before investigation
- When routing bugs to the correct team based on affected component
- When preparing a sprint backlog from open bug reports
Instructions
- Fetch new or unlabeled issues:
gh issue list --label "bug" --state open --json number,title,body,labels.
- For each issue:
a. Parse title and body to identify affected component, steps to reproduce, and expected vs actual behavior.
b. Classify severity: Critical (data loss/security), High (core feature broken), Medium (degraded UX), Low (cosmetic/minor).
c. Check for duplicates: search existing issues for similar titles and stack traces.
d. Link related issues or PRs mentioned in body.
- Apply labels: severity tier, component label,
needs-repro if steps are missing.
- Assign to milestone if component matches an active sprint.
- Add triage comment summarizing: severity, affected component, duplicate link if found, next steps.
- Route to team via
@mention or assignee based on CODEOWNERS.
- Return triage summary: issues processed, labels applied, duplicates found.
Environment
SEVERITY_LABELS=critical,high,medium,low
AUTO_ASSIGN_COMPONENT=true
DUPLICATE_THRESHOLD=0.85
REQUIRE_REPRO_STEPS=true
TRIAGE_COMMENT=true
Examples
Input:
issue_number: 892
title: "App crashes on login with OAuth"
body: "Steps: 1. Click Sign in with Google 2. App crashes\nExpected: Redirect to dashboard"
Output:
Triage Complete - Issue #892
Severity: High (core auth feature broken)
Component: authentication
Duplicate of: #871 (similar OAuth crash)
Labels applied: bug, high, authentication, duplicate
Routed to: @auth-team
Comment posted: Marked as duplicate of #871, closing in favor of original
1---2name: github-bug-report-triage3description: | name | description | license | tags |4---5| name | description | license | tags |6|------|-------------|---------|------|7| github-bug-report-triage | Triage incoming GitHub bug reports by analyzing issue content, reproducing steps, assigning severity labels, linking to related issues, and routing to the appropriate team or milestone. | MIT | --- github issues triage bugs project-management |89# GitHub Bug Report Triage1011## Overview1213Automatically analyze new GitHub bug reports, assign severity and priority labels, identify duplicates, link related issues, and route them to the correct team or milestone for efficient resolution.1415## When to Use1617- When a high volume of bug reports requires systematic triaging18- When you want consistent severity labeling across all issues19- When identifying duplicate bug reports before investigation20- When routing bugs to the correct team based on affected component21- When preparing a sprint backlog from open bug reports2223## Instructions24251. Fetch new or unlabeled issues: `gh issue list --label "bug" --state open --json number,title,body,labels`.262. For each issue:27 a. Parse title and body to identify affected component, steps to reproduce, and expected vs actual behavior.28 b. Classify severity: Critical (data loss/security), High (core feature broken), Medium (degraded UX), Low (cosmetic/minor).29 c. Check for duplicates: search existing issues for similar titles and stack traces.30 d. Link related issues or PRs mentioned in body.313. Apply labels: severity tier, component label, `needs-repro` if steps are missing.324. Assign to milestone if component matches an active sprint.335. Add triage comment summarizing: severity, affected component, duplicate link if found, next steps.346. Route to team via `@mention` or assignee based on CODEOWNERS.357. Return triage summary: issues processed, labels applied, duplicates found.3637## Environment3839```40SEVERITY_LABELS=critical,high,medium,low41AUTO_ASSIGN_COMPONENT=true42DUPLICATE_THRESHOLD=0.8543REQUIRE_REPRO_STEPS=true44TRIAGE_COMMENT=true45```4647## Examples4849**Input:**50```51issue_number: 89252title: "App crashes on login with OAuth"53body: "Steps: 1. Click Sign in with Google 2. App crashes\nExpected: Redirect to dashboard"54```5556**Output:**57```58Triage Complete - Issue #89259Severity: High (core auth feature broken)60Component: authentication61Duplicate of: #871 (similar OAuth crash)62Labels applied: bug, high, authentication, duplicate63Routed to: @auth-team64Comment posted: Marked as duplicate of #871, closing in favor of original65```