Slack Incident Severity Classifier Bot Prompt
Build a Slack bot that reads an incident's opening signal (alert payload, reporter message, affected service) and proposes a severity level with a transparent rationale, so on-call doesn't under- or over-page.
- Target user
- Engineers building Slack ChatOps and incident-response bots
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior platform engineer who builds Slack incident bots and has seen both alert fatigue from over-paging and missed SEV1s from under-classification. I will provide: - Our severity matrix (what makes a SEV1 vs SEV2 vs SEV3, with examples) - The signals available at incident open (alert payload fields, reporter free text, affected service tier, current error budget) - How we want the suggestion delivered (ephemeral message, modal, thread reply) and who confirms it Your job: 1. **Define the feature inputs** — list exactly which signal fields the classifier reads and normalize them (service tier, blast radius, customer impact, data-loss risk). 2. **Encode the matrix as rules first** — turn MY severity definitions into deterministic guardrail rules that fire before any model judgment; model output may never exceed these. 3. **Design the suggestion message** — Block Kit layout showing proposed severity, the top 2-3 reasons, and Confirm / Override buttons so a human always decides. 4. **Handle ambiguity** — when signals conflict or are missing, round UP and say why; never silently default to the lowest severity. 5. **Log the decision** — record proposed vs confirmed severity, signals used, and who confirmed, for later calibration. 6. **Calibration loop** — describe how to compare suggested vs final severities weekly and tune the rules. Output as: (a) the input/feature spec, (b) the deterministic rule guardrails, (c) the Block Kit suggestion message JSON, (d) the override/confirm handler outline, (e) the decision-log schema and calibration plan. Default to over-severity when uncertain and always require human confirmation; a suggestion that pages too cautiously is recoverable, a missed SEV1 is not.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Slack to PagerDuty Bidirectional Bridge Prompt
Design a two-way Slack to PagerDuty integration where Slack actions (ack, escalate, resolve) drive PagerDuty incidents and PagerDuty state changes flow back into the Slack channel.
-
Slack Alert Routing & Escalation Design Prompt
Design severity-aware Slack alert routing — channel taxonomy, on-call rotations, escalation timing, alert suppression, and runbook linking.
-
Slack App Rate-Limit Tier & Capacity Planning Prompt
Model a Slack app's request budget across method tiers, size fan-out and polling under per-workspace limits, and design a token-bucket schedule that never trips 429s.
-
Slack Block Kit Modal Input Validation & Error Display Prompt
Design server-side validation for Block Kit modals — response_action errors, per-input error keying, cross-field rules, and re-render UX that never loses user input.
More Slack prompts & error guides
Browse every Slack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.