alerting-rules

Design Prometheus alerting rules with severity levels, escalation policies, and runbooks.

1|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill alerting-rules-kalilurrahman
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alerting-rules
Source: https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts/tree/main/02-devops-infra/alerting-rules
Command: npx skills add https://github.com/kalilurrahman/kr-claudiator-skills-original-prompts --skill alerting-rules-kalilurrahman

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Production teams struggle with alert fatigue and unclear incident response when monitoring rules are noisy, misconfigured, or lack actionable runbooks. This Skill produces symptom-based alerting configurations that page the right people for the right problems. ## Core Features & Use Cases - Prometheus Alert Rules: Generate alert definitions with thresholds, durations, labels, and annotations for critical, warning, and info severities. - Alertmanager Routing & Escalation: Configure routing trees to PagerDuty, Slack, and email with inhibit rules, silences, and multi-level escalation policies. - Runbooks & Tuning: Produce per-alert runbooks with diagnosis steps, plus burn-rate alerting, alert testing with promtool, and alert metrics tracking. - Use Case: A backend team launching a payment API needs monitoring before go-live. Use this Skill to define SLOs, write 25 alert rules, route critical alerts to PagerDuty on-call, and document runbooks for each alert. ## Quick Start Design alerting rules for my API service with 99.9% uptime SLO, routing critical alerts to PagerDuty and warnings to Slack.

Frequently Asked Questions about alerting-rules

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

FAQPage Schema
How do I write Prometheus alerting rules for a production service?

Define alert rules in a Prometheus rules file with an expr condition, a for duration to filter transient blips, severity labels, and annotations linking to runbooks. Alert on symptoms like error rate above 5% for 5 minutes rather than internal causes.

How to route Prometheus alerts to PagerDuty and Slack?

Configure Alertmanager with a routing tree that matches severity labels to receivers. Send critical alerts to a PagerDuty receiver with a service key, warnings to a Slack channel, and info alerts to email, using group_wait and repeat_interval to control batching.

What is burn rate alerting for SLOs?

Burn rate alerting fires when the error budget is consumed faster than the SLO allows, such as 14.4x the allowed rate for a 99.9% target. It detects customer-impacting issues faster than static thresholds by measuring budget consumption over a time window.

How do I reduce alert fatigue and false positives?

Add a for duration so alerts only fire on sustained conditions, use percentiles like p95 instead of averages, and set inhibit rules so downstream alerts are suppressed when a parent alert like cluster down is firing. Track false positive rates and tune thresholds quarterly.

Can I silence Prometheus alerts during deployments?

Yes, use amtool to create silences matching alertname or service labels with a duration and comment, such as silencing ServiceDown for two hours during planned maintenance. Silences can be queried and expired early when work completes.

How do I test Prometheus alert rules before production?

Write alert rule tests with input series values and expected alerts at given evaluation times, then run them with promtool test rules. This verifies thresholds fire correctly in staging before deploying to production.