affaan-m/ECC/docs/zh-CN/skills/canary-watch/SKILL.md
canary-watch
Review canary-watch's use cases, installation, workflow, and original source instructions.
- Source repository stars
- 234,327
- Declared platforms
- 0
- Static risk flags
- 1
- Last source update
- 2026-07-27
- Source checked
- 2026-07-28
Decision brief
What it does—and where it fits
使用此技能在部署、合并或依赖升级后监控已部署的URL是否存在回归问题。
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/affaan-m/ECC --skill "docs/zh-CN/skills/canary-watch"Inspect the Agent Skill "canary-watch" from https://github.com/affaan-m/ECC/blob/4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38/docs/zh-CN/skills/canary-watch/SKILL.md at commit 4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
使用场景
部署到生产或预发布环境后 合并高风险 PR 后 需要验证修复是否生效时 发布窗口期间的持续监控 依赖升级后
部署到生产或预发布环境后合并高风险 PR 后需要验证修复是否生效时 - 02
工作原理
监控已部署 URL 是否存在回归问题。循环运行,直至手动停止或监控窗口过期。
桌面通知(macOS/Linux)可选:Slack/Discord Webhook记录至 /.claude/canary-watch.log - 03
监控内容
Review the “监控内容” section in the pinned source before continuing.
Review and apply the “监控内容” source section.
Permission review
Static risk signals and limitations
Network access
The documentation includes network, browsing, or remote request actions.
/canary-watch https://myapp.comNetwork access
The documentation includes network, browsing, or remote request actions.
/canary-watch https://myapp.com --interval 5m --duration 2hEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 63/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 234,327 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | catalog record | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- affaan-m/ECC
- Skill path
- docs/zh-CN/skills/canary-watch/SKILL.md
- Commit
- 4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38
- License
- MIT
- Collected
- 2026-07-28
- Default branch
- main
View the original SKILL.md
Canary Watch — 部署后监控
使用场景
- 部署到生产或预发布环境后
- 合并高风险 PR 后
- 需要验证修复是否生效时
- 发布窗口期间的持续监控
- 依赖升级后
工作原理
监控已部署 URL 是否存在回归问题。循环运行,直至手动停止或监控窗口过期。
监控内容
1. HTTP 状态 — 页面是否返回 200?
2. 控制台错误 — 是否出现之前没有的新错误?
3. 网络故障 — 是否存在失败的 API 调用、5xx 响应?
4. 性能 — LCP/CLS/INP 与基线相比是否有退化?
5. 内容 — 关键元素是否消失?(h1、导航、页脚、CTA)
6. API 健康 — 关键端点是否在 SLA 内响应?
监控模式
快速检查(默认):单次执行,报告结果
/canary-watch https://myapp.com
持续监控:每 N 分钟检查一次,持续 M 小时
/canary-watch https://myapp.com --interval 5m --duration 2h
差异模式:对比预发布环境与生产环境
/canary-watch --compare https://staging.myapp.com https://myapp.com
告警阈值
critical: # immediate alert
- HTTP status != 200
- Console error count > 5 (new errors only)
- LCP > 4s
- API endpoint returns 5xx
warning: # flag in report
- LCP increased > 500ms from baseline
- CLS > 0.1
- New console warnings
- Response time > 2x baseline
info: # log only
- Minor performance variance
- New network requests (third-party scripts added?)
通知机制
当超过关键阈值时:
- 桌面通知(macOS/Linux)
- 可选:Slack/Discord Webhook
- 记录至
~/.claude/canary-watch.log
输出
## Canary 报告 — myapp.com — 2026-03-23 03:15 PST
### 状态:健康 ✓
| 检查项 | 结果 | 基线 | 偏差 |
|-------|--------|----------|-------|
| HTTP | 200 ✓ | 200 | — |
| 控制台错误 | 0 ✓ | 0 | — |
| LCP | 1.8s ✓ | 1.6s | +200ms |
| CLS | 0.01 ✓ | 0.01 | — |
| API /health | 145ms ✓ | 120ms | +25ms |
### 未检测到回归问题。部署状态良好。
集成
配合使用:
/browser-qa进行部署前验证- 钩子:在
git push上添加 PostToolUse 钩子,部署后自动检查 - CI:在 GitHub Actions 的部署步骤后运行
Alternatives
Compare before choosing
affaan-m/ECC
canary-watch
Use this skill to monitor and verify a deployed URL after releases — checks HTTP endpoints, SSE streams, static assets, console errors, and performance regressions after deploys, merges, or dependency upgrades. Smoke / canary / post-deploy verification.
affaan-m/ECC
canary-watch
Review canary-watch's use cases, installation, workflow, and original source instructions.