creating-alerting-rules
About
This skill helps developers create intelligent alerting rules for performance monitoring when triggered by phrases like "create alerts" or "set up alerting". It automates defining thresholds, routing, and escalation policies for categories like latency, error rate, and SLO violations. It's designed for SREs and DevOps teams to improve system observability with less manual effort.
Documentation
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.
Quick Install
/plugin add https://github.com/jeremylongshore/claude-code-plugins-plus/tree/main/alerting-rule-creatorCopy and paste this command in Claude Code to install this skill
GitHub 仓库
Related Skills
sglang
MetaSGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.
evaluating-llms-harness
TestingThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
llamaguard
OtherLlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.
langchain
MetaLangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.
