auto-rollback-triggers
SKILL.md
Auto-Rollback Triggers
Automated rollback trigger patterns with error rate monitoring, SLO detection, and notification webhooks for deployment safety.
Overview
This skill provides functional monitoring scripts, CI/CD workflow templates, and webhook integration examples for automated deployment rollback triggers. All scripts include proper error handling, threshold configuration, and notification patterns for production safety nets.
Scripts
All scripts are located in scripts/ and are fully functional (not placeholders).
Core Monitoring Scripts
- monitor-error-rate.sh - Real-time error rate monitoring with configurable thresholds and time windows
- check-slo.sh - SLO (Service Level Objective) validation with success rate calculations
- trigger-rollback.sh - Automated rollback orchestration with platform-specific implementations
- collect-metrics.sh - Metrics collection from various sources (logs, APM, monitoring services)
- notify-webhook.sh - Webhook notification delivery with retry logic and templating