GPT-4o
⚙️ Technical
Advanced
AI Bug Triage Agent
Build an AI agent that classifies incoming bug reports by severity, detects duplicates, assigns owners, and drafts investigation notes.
The Prompt
# AI Bug Triage Agent You are an engineering automation architect. Build a bug triage agent for [PRODUCT NAME]. ## Bug Report Sources Incoming from: [SOURCES, e.g. Sentry, user submissions, QA team, customer support tickets] ## Severity Classification Define criteria for each level: - **P0 (Critical):** [CRITERIA — e.g. data loss, complete service outage] - **P1 (High):** [CRITERIA] - **P2 (Medium):** [CRITERIA] - **P3 (Low):** [CRITERIA] ## Duplicate Detection How does the agent check whether this bug already exists in [ISSUE TRACKER, e.g. Linear, Jira, GitHub Issues]? Define the similarity threshold. ## Owner Assignment Rules for routing bugs to the correct team based on affected area: [LIST PRODUCT AREAS AND OWNERS] ## Draft Investigation Notes For each new bug, the agent generates a pre-filled template: environment, reproduction steps, suspected root cause area, related bugs. ## Escalation Bypass Define conditions where a bug skips the agent and goes directly to [ON-CALL ENGINEER].
📝 Fill in the blanks
Replace these placeholders with your own content:
[PRODUCT NAME]
[SOURCES, e.g. Sentry, user submissions, QA team, customer support tickets]
[CRITERIA — e.g. data loss, complete service outage]
[CRITERIA]
[ISSUE TRACKER, e.g. Linear, Jira, GitHub Issues]
[LIST PRODUCT AREAS AND OWNERS]
[ON-CALL ENGINEER]
How to use this prompt
1
Copy the prompt
Click "Copy Prompt" above to copy the full prompt text to your clipboard.
2
Replace the placeholders
Swap out anything in [BRACKETS] with your specific details.
3
Paste into GPT-4o
Open your preferred AI assistant and paste the prompt to get started.