npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin alerting-rule-creatorWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
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'.
This skill is limited to using the following tools:
assets/README.mdreferences/README.mdscripts/README.mdscripts/generate_runbook.pyscripts/route_alert.pyscripts/validate_thresholds.pyAlerting 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
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.