florianbruniaux/claude-code-ultimate-guide/canary
Claude Code and agent skill by florianbruniaux/claude-code-ultimate-guide
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Post-deploy monitoring: watch production after a deploy and alert on regressions
Install
npx vskill@latest install florianbruniaux/claude-code-ultimate-guide/canarySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as florianbruniaux/claude-code-ultimate-guide/canary.
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 (a base URL, then the options in the Usage section) into BASE_URL, and detect the deployment context. All checks below are HTTP-only (status and response time); console errors need a browser tool and are out of scope unless one is available.
Create the working directory:
Phase 2: Baseline Capture (--baseline mode)
Run this BEFORE deploying to capture the current healthy state.
For each page to monitor, record:
- HTTP status: is the page returning 200?
- Response time: how long does it take to load?
- Content snapshot: key text content to detect blank pages later
Save baseline to .canary/baselines/baseline.json:
Then STOP and tell the user: "Baseline captured. Deploy your changes, then run /canary <url> to monitor."
Phase 3: Page discovery
If no pages were specified, auto-discover pages to monitor.
From the application:
Default pages to monitor if nothing is found: / only.
Phase 4: Monitoring loop
Monitor for the specified duration (default: 10 minutes). Run a check every 60 seconds.
Each check cycle:
Alert levels:
| Level | Condition | Trigger | |
|---|---|---|---|
| CRITICAL | Page load failure | HTTP status is not 2xx, curl timeout, DNS failure | |
| HIGH | New errors | Error rate increased vs baseline (console errors, 5xx responses) | |
| MEDIUM | Performance regression | Response time exceeds 2x baseline | |
| LOW | New broken links | Previously-working routes now return 404 |
Key principles:
- Alert on changes, not absolutes. A page with 3 errors in baseline is fine if still 3. One NEW error is an alert.
- Transient tolerance. Only alert on patterns persisting across 2+ consecutive checks. A single network blip is not an alert.
When a CRITICAL or HIGH alert fires (2 consecutive checks):
Phase 5: Health report
After monitoring completes (or user stops), produce a summary.
Save the report to .canary/reports/<date>-canary.md, and the per-page measurements in the baseline schema to .canary/reports/latest-snapshot.json.
Phase 6: Baseline update
If the deploy is healthy and the user wants to update the baseline:
Output format
See Phase 5 above for the full CANARY REPORT template.
Inline alert format (during monitoring):
Usage
Tips
- Always capture a baseline before deploying to production: run
/canary <url> --baseline - Start monitoring immediately after deploy: regressions usually show up soonest
- CRITICAL alerts require immediate investigation; don't wait for the monitoring to finish
- MEDIUM alerts (performance) may be cache warming; give it 2-3 more checks before acting
- Keep `.canary/baselines/` in git so any team member can run canary against the same baseline
Related commands
/ship: pre-deploy checklist (run before deploying)/land-and-deploy: full merge-to-verify pipeline (runs canary automatically)/qa: interactive QA testing before shipping
$ARGUMENTS
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skills/canary/SKILL.md
Popularity
- Repository stars
- 5,719
- Repository forks
- 749
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/florianbruniaux/claude-code-ultimate-guide/canary)