Communitygithub.com

Canary Watch — 배포 후 모니터링

배포, 머지, 의존성 업그레이드 후에 HTTP 엔드포인트, SSE 스트림, 정적 에셋, 콘솔 오류, 성능 회귀를 검사하여 배포된 URL을 모니터링하고 검증하는 스킬입니다. 스모크 / 카나리 / 배포 후 검증에 사용합니다.

Canary Watch — 배포 후 모니터링란 무엇인가요?

이 스킬은 배포 후 회귀(regression)를 감지하기 위해 대상 URL을 지속적으로 모니터링합니다. HTTP 상태 코드, 콘솔 오류, 네트워크 실패, 성능 메트릭(LCP/CLS/INP), 콘텐츠 손실, API 상태, 정적 에셋 상태, SSE 스트림 연결 등 8가지 항목을 검사합니다. 단일 패스로 빠른 확인을 수행하거나, 일정 간격으로 장시간 감시하는 지속 모드, 스테이징과 프로덕션을 비교하는 diff 모드를 지원합니다. 중요 임계값 위반 시 데스크톱 알림, Slack/Discord 웹훅, 로그 파일을 통해 즉시 알림을 보내며, `/browser-qa`와 같은 다른 스킬과 결합하거나 CI/CD 파이프라인(예: GitHub Actions)에 훅으로 통합할 수 있습니다. 최종 결과는 마크다운 형식의 상세 보고서로 제공되어 배포가 정상인지 즉시 판단할 수 있습니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/canary-watch

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Canary Watch — 배포 후 모니터링은(는) 무엇을 하나요?

사용 시기

  • 프로덕션 또는 스테이징에 배포한 후
  • 위험한 PR을 병합한 후
  • 수정 사항이 실제로 문제를 해결했는지 확인하려는 경우
  • 출시 기간 동안 지속적으로 모니터링할 때
  • 의존성 업그레이드 후

작동 방식

배포된 URL의 회귀를 모니터링합니다. 중단하거나 감시 창이 만료될 때까지 루프를 실행합니다.

모니터링 항목

1. HTTP 상태 — 페이지가 200을 반환하는가?
2. 콘솔 오류 — 이전에 없던 새로운 오류가 발생했는가?
3. 네트워크 실패 — 실패한 API 호출, 5xx 응답?
4. 성능 — 기준 대비 LCP/CLS/INP 회귀?
5. 콘텐츠 — 주요 요소가 사라졌는가? (h1, nav, footer, CTA)
6. API 상태 — 중요 엔드포인트가 SLA 내에서 응답하는가?
7. 정적 에셋 — JS, CSS, 이미지, 폰트 요청이 예상 콘텐츠 유형과 함께 2xx/3xx를 반환하는가?
8. SSE 스트림 — 이벤트 스트림 엔드포인트가 연결되고 초기 이벤트 또는 하트비트를 수신하는가?

감시 모드

빠른 확인 (기본값): 단일 패스, 결과 보고

/canary-watch https://myapp.com

지속 감시: N분마다 M시간 동안 확인

/canary-watch https://myapp.com --interval 5m --duration 2h

Diff 모드: 스테이징과 프로덕션 비교

/canary-watch --compare https://staging.myapp.com https://myapp.com

알림 임계값

critical:  # 즉시 알림
  - HTTP 상태 != 200
  - 콘솔 오류 개수 > 5 (새로운 오류만)
  - LCP > 4s
  - API 엔드포인트가 5xx 반환
  - 정적 에셋이 4xx/5xx 반환
  - SSE 엔드포인트 연결 불가 또는 첫 번째 하트비트 전 드롭

warning:   # 보고서에 플래그 표시
  - LCP 기준 대비 500ms 이상 증가
  - CLS > 0.1
  - 새 콘솔 경고
  - 응답 시간 기준 대비 2배 초과
  - 정적 에셋 콘텐츠 유형이 예기치 않게 변경됨
  - SSE 하트비트 지연 기준 대비 2배 초과

info:      # 로그 전용
  - 사소한 성능 변동
  - 새 네트워크 요청 (서드파티 스크립트 추가?)

알림

중요 임계값 위반 시:

  • 데스크톱 알림 (macOS/Linux)
  • 선택 사항: Slack/Discord 웹훅
  • ~/.claude/canary-watch.log에 로그 기록

출력

## Canary Report — myapp.com — 2026-03-23 03:15 PST

### Status: HEALTHY ✓

| Check | Result | Baseline | Delta |
|-------|--------|----------|-------|
| HTTP | 200 ✓ | 200 | — |
| Console errors | 0 ✓ | 0 | — |
| LCP | 1.8s ✓ | 1.6s | +200ms |
| CLS | 0.01 ✓ | 0.01 | — |
| API /health | 145ms ✓ | 120ms | +25ms |
| Static assets | 42/42 ✓ | 42/42 | — |
| SSE /events | connected ✓ | connected | +80ms heartbeat |

### 회귀가 감지되지 않았습니다. 배포가 정상입니다.

통합

함께 사용하기:

  • 배포 전 검증을 위한 /browser-qa
  • 훅: git push 시 PostToolUse 훅으로 추가하여 배포 후 자동 검사
  • CI: 배포 단계 후 GitHub Actions에서 실행

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

관련 스킬