npx skills add ...
npx skills add openai/plugins --skill triage-issue
Intelligently triage bug reports and error messages by searching for duplicates in Jira and offering to create new issues or add comments to existing ones. When an agent needs to: (1) Triage a bug report or error message, (2) Check if an issue is a duplicate, (3) Find similar past issues, (4) Create a new bug ticket with proper context, or (5) Add information to an existing ticket. Searches Jira for similar issues, identifies duplicates, checks fix history, and helps create well-structured bug reports.
npx skills add openai/plugins --skill triage-issue
triage bug, check duplicate, is this a duplicate, search for similar issues, create bug ticket, file a bug, report this error, triage this error, bug report, error message, similar issues, duplicate bug, who fixed this, has this been reported, search bugs, find similar bugs, create issue, file issue
Automatically triage bug reports and error messages by searching Jira for duplicates, identifying similar past issues, and helping create well-structured bug tickets or add context to existing issues. This skill eliminates manual duplicate checking and ensures bugs are properly documented with relevant historical context.
Use this skill when: Users need to triage error messages, bug reports, or issues to determine if they're duplicates and take appropriate action.
Follow this 6-step process to effectively triage issues:
Analyze the bug report or error message to identify search terms.
Error signature:
Context:
Symptoms:
Input: "Users getting 'Connection timeout' error when trying to login on mobile app" Extracted:
Input: "NullPointerException in PaymentProcessor.processRefund() line 245" Extracted:
Search Jira using extracted keywords to find similar or duplicate issues.
Execute multiple targeted searches to catch duplicates that may use different wording:
Search 1: Error-focused
Search 2: Component-focused
Search 3: Symptom-focused
Use key terms only:
Search recent first:
created DESC or updated DESC to find recent similar issuesDon't over-filter:
Evaluate the search results to determine if this is a duplicate or a new issue.
High confidence duplicate (>90%):
Likely duplicate (70-90%):
Possibly related (40-70%):
Likely new issue (<40%):
If similar resolved issues are found:
Extract relevant information:
Present this context to help with triage decision.
CRITICAL: Always present findings and wait for user decision before taking any action.
Based on user's choice, either add a comment or create a new issue.
If user wants to add to existing issue:
Fetch the full issue first to understand context:
Then add the comment:
Comment Structure:
If user wants to create new issue:
First, check available issue types:
Determine appropriate issue type:
Create the issue:
Summary Format:
Use the pattern: [Component] [Error Type] - [Brief Symptom]
Examples:
Description Structure:
[Error message or stack trace]
After taking action, confirm what was done.
If you find 3+ very similar issues:
If user doesn't specify which project:
If the bug report lacks critical details:
If you find a resolved issue that matches:
If creating an issue fails due to required fields:
Do: ✅ Use multiple search queries with different angles ✅ Include both open and resolved issues in search ✅ Search for error signatures and symptoms separately ✅ Look at recent issues first (last 30-90 days) ✅ Check for patterns (multiple reports of same thing)
Don't: ❌ Search with entire error messages (too specific) ❌ Only search open issues (miss fix history) ❌ Ignore resolved issues (miss regressions) ❌ Use too many keywords (reduces matches)
Do: ✅ Write clear, specific summaries with component names ✅ Include complete error messages in code blocks ✅ Add environment and impact details ✅ Reference related issues found during search ✅ Use "Bug" issue type for actual bugs
Don't: ❌ Create vague summaries like "Error in production" ❌ Paste entire stack traces in summary (use description) ❌ Skip reproduction steps ❌ Forget to mention user impact ❌ Hard-code issue type without checking availability
High Confidence Duplicates:
Likely Different Issues:
When Unsure:
User Input:
Process:
Output:
User Input:
Process:
Output:
User Input:
Process:
Output:
This skill is for triaging bugs and errors only. Do NOT use for:
❌ Feature requests (use spec-to-backlog) ❌ General task creation (use capture-tasks-from-meeting-notes) ❌ Searching for information (use search-company-knowledge) ❌ Generating status reports (use generate-status-report)
Use this skill specifically for: ✅ "Is this a duplicate bug?" ✅ "Triage this error message" ✅ "Has this been reported before?" ✅ "Create a bug ticket for this"
Primary workflow: Extract → Search → Analyze → Present → Execute → Confirm
Search tool: searchJiraIssuesUsingJql(cloudId, jql, fields, maxResults)
Action tools:
addCommentToJiraIssue(cloudId, issueIdOrKey, commentBody) - Add to existingcreateJiraIssue(cloudId, projectKey, issueTypeName, summary, description) - Create newIssue type: Always prefer "Bug" for error reports, check with getJiraProjectIssueTypesMetadata
Remember: