creating-alerting-rules
Execute this skill enables AI assistant to create intelligent alerting rules for proactive performance monitoring. it is triggered when the user requests to "create alerts", "define monitoring rules", or "set up alerting". the skill helps define thresholds, rou... Use when generating or creating new content. Trigger with phrases like 'generate', 'create', or 'scaffold'.
- License 许可
- MIT
- 最近更新
- 2026-03-20
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- creating-alerting-rules
- author
- Jeremy Longshore <jeremy@intentsolutions.io>
- license
- MIT
- version
- 1.0.0
- description
- Execute this skill enables AI assistant to create intelligent alerting rules for proactive performance monitoring. it is triggered when the user requests to "create alerts", "define monitoring rules", or "set up alerting". the skill helps define thresholds, rou... Use when generating or creating new content. Trigger with phrases like 'generate', 'create', or 'scaffold'.
- allowed-tools
- Read, Write, Edit, Grep, Glob, Bash(cmd:*)
- compatible-with
- claude-code, codex, openclaw
02 资源文件 6
- 资产文件assets/README.md61 B
- 参考文档references/README.md65 B
- 脚本scripts/generate_runbook.py14.9 KB
- 脚本scripts/README.md390 B
- 脚本scripts/route_alert.py10.9 KB
- 脚本scripts/validate_thresholds.py10.1 KB
03 SKILL.md 正文
Alerting Rule Creator
Create production-ready alerting rules for Prometheus, Grafana, and PagerDuty with intelligent thresholds, routing policies, and escalation procedures.
Overview
This skill automates the creation of comprehensive alerting rules, reducing the manual effort required for performance monitoring. It guides you through defining alert categories, setting intelligent thresholds, and configuring routing and escalation policies. The skill also helps generate runbooks and establish alert testing procedures.
How It Works
- Identify Alert Category: Determines the type of alert to create (e.g., latency, error rate, resource utilization).
- Define Thresholds: Sets appropriate thresholds to avoid alert fatigue and ensure timely notification of performance issues.
- Configure Routing and Escalation: Establishes routing policies to direct alerts to the appropriate teams and escalation policies for timely response.
- Generate Runbook: Creates a basic runbook with steps to diagnose and resolve the alerted issue.
When to Use This Skill
This skill activates when you need to:
- Implement performance monitoring for a new service.
- Refine existing alerting rules to reduce false positives.
- Create alerts for specific performance metrics, such as latency or error rate.
Examples
Example 1: Setting up Latency Alerts
User request: "create latency alerts for the payment service"
The skill will:
- Prompt for latency thresholds (e.g., warning and critical).
- Configure alerts to trigger when latency exceeds defined thresholds.
Example 2: Creating Error Rate Alerts
User request: "set up alerting for error rate increases in the API gateway"
The skill will:
- Request the baseline error rate and acceptable deviation.
- Configure alerts to trigger when the error rate exceeds the defined deviation from the baseline.
Best Practices
- Threshold Selection: Use historical data and statistical analysis to determine appropriate thresholds that minimize false positives and negatives.
- Alert Routing: Route alerts to the appropriate teams or individuals based on the alert category and severity.
- Runbook Creation: Generate or link to detailed runbooks that provide clear instructions for diagnosing and resolving the alerted issue.
Integration
This skill can be integrated with other Claude Code plugins to automate incident response workflows. For example, it can trigger automated remediation actions or create tickets in an issue tracking system.
Prerequisites
- Appropriate file access permissions
- Required dependencies installed
Instructions
- Invoke this skill when the trigger conditions are met
- Provide necessary context and parameters
- Review the generated output
- Apply modifications as needed
Output
The skill produces structured output relevant to the task.
Error Handling
- Invalid input: Prompts for correction
- Missing dependencies: Lists required components
- Permission errors: Suggests remediation steps
Resources
- Project documentation
- Related skills and commands
04 同仓库更多 Skills
azure-apim-architecture
Analyzes and explains Azure API Management architecture decisions for enterprise API marketplace implementations using VNet Internal mode, Front Door, hybrid authentication, and multi-environment strategies. Use when discussing APIM component selection, network topology, cost optimization, or comparing alternatives like workspaces vs instances, VNet Internal vs External mode, or Front Door vs Application Gateway.
apiops-deployment
Guides deployment of Azure API Management infrastructure using Infrastructure as Code (Bicep/Terraform), CI/CD pipelines (GitHub Actions/Azure DevOps), and APIOps workflows. Use when deploying APIM, creating pipelines, or implementing dev→test→prod promotion strategies.
apim-policy-authoring
Creates production-ready Azure API Management policy XML for authentication (OAuth 2.0, JWT validation, subscription keys), rate limiting, CORS configuration, error handling, and API transformations. Use when implementing API security, access control, or request/response processing logic.
api-security-review
Reviews Azure API Management configurations for security vulnerabilities, OWASP API Security Top 10 compliance, VNet Internal mode validation, Private Link verification, and Azure Security Benchmark alignment. Use when performing security audits, pre-deployment validation, or compliance reviews.
jira-cli
Interact with Jira from the command line to create, list, view, edit, and transition issues, manage sprints and epics, and perform common Jira workflows. Use when the user asks about Jira tasks, tickets, issues, sprints, or needs to manage project work items.
calculator
Performs arbitrary-precision arithmetic calculations including addition, subtraction, multiplication, division, and exponents. Use when the user asks to calculate, compute, or evaluate math expressions, or when precise decimal arithmetic is needed to avoid floating-point errors.