triaging-visual-review-runs
O que ela faz
Esta skill ensina um agente a ler os resultados do Visual Review do PostHog, que comparam capturas de tela de uma versão do código com outra. É para desenvolvedores cujos pull requests são barrados por verificações visuais.
Quando usar
- ✓Quando um pull request está bloqueado por uma verificação de revisão visual e você quer saber o motivo.
- ✓Quando você precisa decidir se uma mudança de captura de tela é real ou um teste instável.
- ✓Quando você quer resolver um acúmulo de diferenças de capturas de tela.
Link da skill
https://github.com/PostHog/posthog/blob/master/products/visual_review/skills/triaging-visual-review-runs/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Meu pull request está bloqueado pela revisão visual. Você pode verificar quais capturas mudaram e se essas mudanças são reais?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente lê a execução da revisão, seu escopo e seu histórico, depois encadeia as ferramentas de revisão para responder às perguntas que um revisor humano faria. Ele pode colocar capturas instáveis em quarentena, mas não aprova novas referências por conta própria.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
Triaging visual review runs
Visual Review is PostHog's screenshot-regression product: CI captures storybook + playwright screenshots,
diffs them against committed baseline hashes, and gates the PR until every changed snapshot is resolved.
A PR with visual changes carries a visual-review GitHub status check, and usually a required CI job that reports the same verdict.
Both stay red until each diffed snapshot is approved and finalized, tolerated, or quarantined, and the job re-runs:
finalize does that for approvals, recompute-create for tolerations and quarantines. The run's _posthogUrl opens the VR UI, which offers the same actions.
A PR from a fork is usually the exception: it gets no Visual Review run at all.
See Fork PRs have no Visual Review run.
This skill teaches an agent how to answer the questions a human reviewer would actually ask, by chaining
the VR MCP tools — instead of reaching for gh pr view and tab-hopping to the VR web UI. The read tools
cover status / scope / history / triage. An agent may resolve flakes on its own, with a quarantine or, rarely, a toleration.
It may not ship a visual change on its own: finalize-create commits the baseline and needs explicit per-run human confirmation.
Decide first
Gather the evidence with Is the diff real or unrelated? and the flake check, then take the first row that matches each changed snapshot.
| Evidence | Action | Human yes needed |
|---|---|---|
PR comes from a fork (isCrossRepository: true) |
Report only. See Fork PRs | No VR writes possible |
| The diff comes from your change and is intended | approve-create, then ask for finalize |
Yes, for each run, before finalize |
| The diff comes from your change and is not intended | Fix the code and push. No VR write | No |
Your change renders a quarantined story changed or new, and the change is intended |
approve-create for that identifier, then ask for finalize. If the change also fixes the flake, add lift-on-merge-create after the approval. See Quarantined stories |
Yes, for each run, before finalize |
Your change fixes a quarantined story's flake, and the story renders unchanged |
lift-on-merge-create for that identifier. See Quarantined stories |
No |
Story outside your change, flakiness entry unstable, hard_count ≥ 5, last_flaked_at in the last 7 days |
quarantine-create, then recompute-create. Report it |
No |
Story outside your change, flakiness entry broken |
Perguntas frequentes
O agente consegue aprovar mudanças visuais sozinho?
Não. Registrar uma nova referência exige a confirmação explícita de uma pessoa para cada execução.
Por que um pull request de fork não tem execução de revisão?
Isso geralmente é esperado, já que pull requests de forks costumam não ter nenhuma execução de Visual Review.
O que significa quarentena?
É separar uma captura instável para que ela deixe de bloquear o pull request enquanto é investigada.
Detalhes
Descrição original do autor
Inspects PostHog Visual Review (VR) runs that gate PR merges with screenshot regression checks. Use when the user mentions "visual review", "VR", "snapshot diff", "screenshot test", "storybook regression", "playwright snapshot", "quarantine", asks why a PR is blocked or what changed visually, wants to triage the VR backlog, decide whether a snapshot diff is real vs flaky, quarantine or lift a flaky story, or check whether a story has been changing across runs. Also invoke when a PR has a failing `visual-review` status check, when a PR comment mentions "Visual review", when a PR from a fork fai
repo: PostHog/posthog
Popularidade
- Estrelas no GitHub
- 41 mil
- Posição no ranking
- #6965
- Licença
- —
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
depot-ci
41 milAjuda seu agente a configurar e executar fluxos de trabalho do Depot CI, uma alternativa ao GitHub Actions, incluindo a migração de fluxos existentes e a leitura dos logs de execução.
depot-container-builds
41 milAjuda seu agente a criar imagens Docker nos builders remotos do Depot, incluindo imagens multiplataforma, envio para registros e correção de falhas de build.
depot-github-runners
41 milAjuda seu agente a levar tarefas do GitHub Actions para runners gerenciados pelo Depot, escolhendo os tamanhos e os rótulos dos runners e resolvendo problemas de configuração.
editing-agents-md
41 milAjuda seu agente a decidir se uma regra deve ficar em um arquivo AGENTS.md ou CLAUDE.md, e a escrevê-la de forma que seja seguida sem deixar o arquivo inchado.
Skills parecidas
test-driven-development
311 milEnsina seu agente a escrever primeiro um teste que falha, ver a falha e depois escrever o menor código que passa, antes de criar qualquer funcionalidade ou correção.
verification-before-completion
311 milEnsina seu agente a rodar verificações reais e ler a saída antes de afirmar que uma tarefa, correção ou build está concluído ou passando.
migrate-to-shoehorn
310 milSubstitui conversões de tipo arriscadas nos seus arquivos de teste pela biblioteca shoehorn, para que os testes usem dados parciais e ainda passem na checagem de tipos.