Post Deploy Canary Monitor logo

Post Deploy Canary Monitor

Community
felvieira
post-deploy-canary-monitor

Monitora a saude e regressoes de producao apos deploy. Trigger em: "monitor producao", "monitora producao", "monitora se", "watch deploy", "watch production", "post-deploy check", "pos-deploy", "depois do deploy", "depois do rollout", "vigiar producao", "regressao silenciosa", "deploy passou mas", "verificar producao", "deploy stuck", "production health check", "screenshot diff", "lcp regrediu", "baseline comparativo".

Add to TypingMind

Overview

Publisherfelvieira
Repositoryclaude-skills-fv
Skill namepost-deploy-canary-monitor
Stars
28
Forks
5
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by felvieira on GitHub. Read the source before you install it.

Installation

Install the Post Deploy Canary Monitor AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/felvieira/claude-skills-fv/tree/main/skills/46-post-deploy-canary-monitor
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/felvieira/claude-skills-fv.git /tmp/claude-skills-fv
mkdir -p .claude/skills
cp -r /tmp/claude-skills-fv/skills/46-post-deploy-canary-monitor .claude/skills/post-deploy-canary-monitor
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Post Deploy Canary Monitor in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Post Deploy Canary Monitor on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Post Deploy Canary Monitor is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Post-Deploy Canary Monitor — Vigia Producao Sem Dormir

Inspiracao: gstack/canary (MIT, Garry Tan). Adaptado: foca em pos-deploy (depois do 100% rollout), enquanto skill 43 cobre durante o rollout gradual.

Diferenca vs skill 43 (canary-deployment)

Skill 43 canary-deploymentSkill 45 post-deploy-canary-monitor (esta)
MomentoDURANTE o rollout (0% → 100%)DEPOIS do rollout completar (100% live)
DecisaoPromover ou abortar deployManter producao ou rollback
MecanismoTraffic split, feature flag, blue-greenPolling de metricas + screenshot diff
Termina quando100% completo OU abortouJanela de observacao expirou OK
Escalacao(proprio rollback do canary)Chama skill 43 (rollback) ou skill 24 (release-manager)

Quando Usar

  • deploy acabou de fechar 100% — primeiras 2-24h de vigilancia
  • mudanca grande (migration, refactor, framework upgrade) que pode regredir silencioso
  • sem observability robusta no projeto (esta skill cobre o basico)
  • producao critica onde "deploy passou no canary 5%" nao garante "100% e saudavel"

Quando NAO Usar

  • voce ja tem Datadog/Sentry/NewRelic com alertas — use o sistema existente
  • deploy trivial (config change, doc) sem risco
  • ainda esta no rollout — use skill 43

Governanca Global

Segue GLOBAL.md, policies/verification-before-completion.md (a verificacao continua apos deploy fechar), policies/handoffs.md (escalacao pra skill 43), policies/observability-trace-tags.md.

Gate contra constituicao

Quando memory/constitution.md define SLOs no eixo Performance/Reliability:

  • baseline pre-deploy precisa estar capturado antes desta skill comecar
  • threshold de abort = SLO violado + N% margem
  • error budget restante deve cobrir esta janela de observacao

Inputs

yaml
url: https://prod.exemplo.com
baseline:
  metrics: ./baseline/metrics-pre-deploy.json
  screenshots: ./baseline/screenshots/
thresholds:
  console_errors_per_min: 0          # zero tolerancia
  lcp_regression_pct: 20              # >20% pior que baseline = abort
  cls_regression_pct: 25
  screenshot_diff_pct: 5              # >5% de pixels diferentes em paginas-chave
  status_5xx_pct: 1                   # >1% de respostas 5xx
window:
  interval: 15m
  duration: 24h
  abort_after_consecutive_failures: 2
escalation:
  on_abort: skill-43-rollback         # ou comando manual
  notify: <slack-channel | email>

Protocolo

1. Captura baseline (pre-deploy)

Se nao houver baseline ainda, capturar antes do deploy:

bash
# Metricas
curl -s "$URL/metrics" > baseline/metrics-pre-deploy.json

# Screenshots de paginas-chave (Playwright via anthropic-skills:webapp-testing)
# - homepage
# - 2-3 paginas mais traficadas
# - 1 fluxo critico (checkout, login, search)

2. Loop de vigilancia (pos-deploy)

A cada interval (default 15min), por ate duration (default 24h):

  1. Coletar metricas atuais — mesmo endpoint do baseline
  2. Tirar screenshots atuais — mesmas paginas
  3. Comparar contra baseline:
    • delta de console errors (qualquer >0 = alerta imediato)
    • delta de LCP/CLS (>threshold = alerta)
    • diff de screenshot (>threshold pixels = alerta)
    • taxa de 5xx (>threshold = alerta)
  4. Registrar em docs/canary-runs/YYYY-MM-DD-<release>/timeline.jsonl:
jsonl
{"t":"15:00","status":"ok","lcp_delta":-2,"errors":0,"screenshot_diff":0.4}
{"t":"15:15","status":"ok","lcp_delta":+5,"errors":0,"screenshot_diff":0.6}
{"t":"15:30","status":"alert","lcp_delta":+22,"errors":3,"screenshot_diff":7.2,"reason":"lcp_regression+errors"}
  1. Decidir:
    • tudo verde → continuar ate fim da janela → mark healthy
    • 1 alerta → log e continuar (false-positive comum)
    • 2 alertas consecutivos → escalar abort

3. Escalacao em abort

Ao detectar 2 falhas consecutivas:

  1. Registrar evento detalhado em docs/canary-runs/.../abort.md
  2. Notificar canal configurado (slack/email)
  3. Sugerir:
    • opcao A: /run-program rollback ou skill 43 reverse
    • opcao B: investigar (skill 06 + skill 34) — se nao for security/perf, hotfix
    • opcao C: user override (false positive confirmado)

NAO faz rollback automatico por default. Producao = decisao humana, salvo override explicito no input.

Checkpoint na opcao C: "false positive confirmado" exige o humano ter olhado a evidencia especifica do alerta (screenshot diff, log de erro), nao so aceitar a sugestao pra destravar o monitoramento. Se o override for aceito sem essa confirmacao, registrar isso explicitamente no abort.md — silenciar um alerta real vira o proximo incidente sem trace de por que passou.

4. Saida saudavel

Ao final da janela sem aborts:

  1. Mark release healthy em docs/canary-runs/.../verdict.md
  2. Atualizar docs/releases/<versao>.md com link pro report
  3. Sugerir promover baseline atual como novo baseline canonico

Output canonico

docs/canary-runs/2026-05-27-v2.19.0/
├── input.yaml           # config usada
├── baseline/
│   ├── metrics.json
│   └── screenshots/
├── timeline.jsonl       # 1 linha por check
├── abort.md (se houve)  # detalhes do incidente
└── verdict.md           # healthy | rolled-back | aborted

Handoffs

  • escalacao: skill 43 (canary-deployment reverso) ou skill 24 (release-manager)
  • investigacao pos-abort: skill 06 (security) + skill 34 (static-analysis) + skill debugger
  • registro pos-saudavel: skill 24 (release-manager) atualiza changelog com badge "verified"

Dependencias

  • anthropic-skills:webapp-testing (Playwright) — captura screenshots
  • skill 20 (observability-sre) — define o que metrificar
  • skill 43 (canary-deployment) — escalacao de rollback
  • skill 30 (cost-tracker) — esta skill consome recursos durante a janela

Anti-padroes

  • ❌ Rollback automatico sem decisao humana (default) — producao nao se rolla sozinha
  • ❌ Janela infinita — sempre duration finito (24h-7d max)
  • ❌ Ignorar console error porque "e so um warning" — qualquer aumento = sinal
  • ❌ Sem baseline pre-deploy — comparacao impossivel
  • ❌ Screenshot diff sem mascarar areas dinamicas (timestamps, randoms) — gera false positive
  • ❌ Esta skill substituir observability profissional — ela cobre o gap, nao o ouro padrao

Frequently asked questions

What does the Post Deploy Canary Monitor AI skill do?

Monitora a saude e regressoes de producao apos deploy. Trigger em: "monitor producao", "monitora producao", "monitora se", "watch deploy", "watch production", "post-deploy check", "pos-deploy", "depois do deploy", "depois do rollout", "vigiar producao", "regressao silenciosa", "deploy passou mas", "verificar producao", "deploy stuck", "production health check", "screenshot diff", "lcp regrediu", "baseline comparativo".

Why use Post Deploy Canary Monitor on TypingMind?

Because you install it once and use it with any model. Post Deploy Canary Monitor is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Post Deploy Canary Monitor in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/felvieira/claude-skills-fv/tree/main/skills/46-post-deploy-canary-monitor. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Post Deploy Canary Monitor?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Post Deploy Canary Monitor?

As many as you like. As long as a model supports skills, you can use Post Deploy Canary Monitor with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Post Deploy Canary Monitor AI skill free?

Yes. It is published on GitHub by felvieira under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇