google-agents-cli-scaffold
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
auto-rollback-triggers
Error rate monitoring, SLO detection, and notification webhooks for automated rollback triggers. Use when setting up automated deployment rollback, monitoring error rates, configuring SLO thresholds, implementing deployment safety nets, setting up alerting webhooks, or when user mentions automate...
Full skill instructions
Automated rollback trigger patterns with error rate monitoring, SLO detection, and notification webhooks for deployment safety.
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.
All scripts are located in scripts/ and are fully functional (not placeholders).
# Monitor error rate (5% threshold over 5 minutes)
bash scripts/monitor-error-rate.sh https://api.example.com/metrics 5.0 300
# Check SLO compliance (99.9% uptime target)
bash scripts/check-slo.sh https://api.example.com/health 99.9
# Trigger rollback to previous version
bash scripts/trigger-rollback.sh vercel my-project previous-deployment-id
# Collect metrics from deployment
bash scripts/collect-metrics.sh https://api.example.com/metrics
# Send webhook notification
bash scripts/notify-webhook.sh "https://hooks.slack.com/services/your_webhook_url_here" "Deployment failed SLO check"
All templates are located in templates/ and provide configuration examples.
# Copy workflow to GitHub Actions
cp templates/github-actions-auto-rollback.yml .github/workflows/auto-rollback.yml
# Configure error thresholds
cp templates/error-threshold-config.json config/error-thresholds.json
# Set up SLO definitions
cp templates/slo-config.json config/slo.json
All examples are located in examples/ and demonstrate real-world usage patterns.
Configure Error Thresholds
# Copy and customize threshold configuration
cp templates/error-threshold-config.json config/error-thresholds.json
# Edit thresholds for your application
# Example: 5% error rate over 5 minutes triggers rollback
Deploy Monitoring Script
# Run monitoring in background or CI/CD pipeline
bash scripts/monitor-error-rate.sh \
https://api.myapp.com/metrics \
5.0 \
300 \
config/error-thresholds.json
Integrate with GitHub Actions
# Copy workflow template
cp templates/github-actions-error-monitoring.yml .github/workflows/monitor-errors.yml
# Configure secrets: DEPLOYMENT_URL, WEBHOOK_URL, ROLLBACK_TOKEN
Define SLO Targets
# Copy SLO configuration template
cp templates/slo-config.json config/slo.json
# Define targets: 99.9% uptime, <500ms p95 latency, <1% error rate
Run SLO Validation
# Check SLO compliance after deployment
bash scripts/check-slo.sh \
https://api.myapp.com/health \
99.9 \
config/slo.json
# Exit code 0 = SLO met, 1 = SLO violated (trigger rollback)
Automate with CI/CD
# Copy complete auto-rollback workflow
cp templates/github-actions-auto-rollback.yml .github/workflows/auto-rollback.yml
# Workflow automatically monitors and rolls back on SLO violations
Slack Webhook Integration
# Set webhook URL (use placeholder, replace with real URL)
export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/your_webhook_url_here"
# Send notification
bash scripts/notify-webhook.sh \
"$SLACK_WEBHOOK_URL" \
"Deployment failed: Error rate 8.5% exceeds threshold 5.0%"
Discord Webhook Integration
# Set webhook URL (use placeholder, replace with real URL)
export DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/your_webhook_url_here"
# Send notification with custom formatting
bash scripts/notify-webhook.sh \
"$DISCORD_WEBHOOK_URL" \
"Auto-rollback triggered" \
--discord
Vercel Rollback
# Trigger Vercel deployment rollback
bash scripts/trigger-rollback.sh vercel \
my-project \
previous-deployment-id \
"$VERCEL_TOKEN"
DigitalOcean App Platform Rollback
# Trigger DigitalOcean App rollback
bash scripts/trigger-rollback.sh digitalocean \
app-id \
previous-deployment-id \
"$DIGITALOCEAN_TOKEN"
Railway Rollback
# Trigger Railway deployment rollback
bash scripts/trigger-rollback.sh railway \
project-id \
previous-deployment-id \
"$RAILWAY_TOKEN"
Continuous Monitoring Workflow
Post-Deployment Validation
Canary Deployment Protection
Similar patterns available for GitLab CI/CD using templates/gitlab-ci-auto-rollback.yml
Vercel Deployment Protection
templates/vercel-deployment-protection.json for native Vercel checksDigitalOcean App Platform
templates/digitalocean-app-rollback.json for health checksRailway
templates/railway-deployment-check.json for health checkscurl - For HTTP requests to metrics endpointsjq - For JSON parsing and metrics extractionbc - For threshold calculationsdate - For time window calculations (GNU coreutils)Platform CLIs:
vercel - Vercel CLI for deployment managementdoctl - DigitalOcean CLI for App Platform managementrailway - Railway CLI for project managementMonitoring Tools:
datadog-cli - Datadog metrics collectionnewrelic-cli - New Relic APM integrationsentry-cli - Sentry error tracking integrationConfigure these secrets in your GitHub repository:
DEPLOYMENT_URL - Application metrics endpointWEBHOOK_URL - Slack/Discord webhook URL (use placeholder: https://hooks.example.com/your_webhook_url_here)ROLLBACK_TOKEN - Platform API token for rollback operationsVERCEL_TOKEN - Vercel API token (if using Vercel)DIGITALOCEAN_TOKEN - DigitalOcean API token (if using DigitalOcean)RAILWAY_TOKEN - Railway API token (if using Railway)All scripts follow standard exit code conventions:
0 - Metrics within thresholds, SLO met, rollback successful1 - Threshold exceeded, SLO violated, rollback required2 - Invalid arguments or missing dependencies3 - Timeout or network error accessing metrics4 - Platform API error during rollback5 - Webhook notification failedhttps://hooks.example.com/your_webhook_url_here in templatesFalse Positive Rollbacks
Missed Rollback Triggers
Webhook Notifications Not Delivered
Platform Rollback Failures
Location: /home/gotime2022/.claude/plugins/marketplaces/dev-lifecycle-marketplace/plugins/deployment/skills/auto-rollback-triggers/
Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.
Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.
Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.
Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.
Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.
Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.
Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.
Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".
Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.
Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.
Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".
Opus.ai: Revolutionize Your Web Experience
Build a no-code AI app in minutes.
An IDE for code migration from legacy to modern frameworks through coding agents.
Automate CGI animation in live-action scenes
Branded artistic QR-code concepts
Launch a website in seconds with AI.
Streamline Your Coding Experience with AI Code Helper
Convert any screenshot or design to clean code.