canary

Solid

Post-deploy monitoring — watch production after a deploy and alert on regressions

AI & Automation 4,576 stars 611 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Canary — Post-Deploy Monitoring Watch a live application after deployment. Alert on errors and regressions. Compare against a pre-deploy baseline. **Two modes:** - `--baseline` — capture the current state BEFORE deploying - *(default)* — monitor AFTER deploying and compare against baseline ## Instructions ### Phase 1: Setup Parse the user's arguments and detect the deployment context. ```bash # Detect current branch and recent deploy commit git branch --show-current git log --oneline -5 # Auto-detect platform from config files [ -f fly.toml ] && echo "PLATFORM: fly" [ -f render.yaml ] && echo "PLATFORM: render" [ -f vercel.json ] && echo "PLATFORM: vercel" [ -f netlify.toml ] && echo "PLATFORM: netlify" [ -f Procfile ] && echo "PLATFORM: heroku" [ -f railway.toml ] && echo "PLATFORM: railway" # Check for health endpoint curl -sf "${URL}/health" -w "\n%{http_code}" 2>/dev/null | tail -1 curl -sf "${URL}/api/health" -w "\n%{http_code}" 2>/dev/null | tail -1 ``` Create the working directory: ```bash mkdir -p .canary/baselines .canary/reports .canary/screenshots ``` --- ### Phase 2: Baseline Capture (`--baseline` mode) Run this BEFORE deploying to capture the current healthy state. For each page to monitor, record: 1. **HTTP status** — is the page returning 200? 2. **Response time** — how long does it take to load? 3. **Content snapshot** — key text content to detect blank pages later ```bash # For each page URL for PAGE_PATH in...

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
4 months ago
Last Updated
today
Language
TypeScript
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category