Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

triaging-visual-review-runs

БесплатноБез исполняемых скриптовНе проверен

Inspects PostHog Visual Review (VR) runs that gate PR merges with screenshot regression checks. Use when the user mentions "visual review", "VR", "snapshot…

PostHogот PostHog★ 81 звезда на 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 accepted and finalized, tolerated, or quarantined, and the job re-runs: finalize does that for accepts, recompute-create for tolerations and quarantines. The run's _posthogUrl opens the VR UI, which offers the same actions. In ledger mode a reviewer can also reject a snapshot, and a rejection blocks finalize until the picture changes, the rejecter undoes it, or another person overrides it on purpose. Accepts and rejections made on an earlier run of the pull request still count on the newest run while the pictures are the same. That holds for a run whose gate is ci_job. Read gate on the run first: see Which gate the run has. 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.

Which gate the run has

posthog:visual-review-runs-retrieve returns gate, fixed when the run was created.

  • ci_job: the CI job is the gate. The rest of this skill describes this case.
  • commit_status: the status Visual Review gate / <run type> is the required check, and the CI job passes on unresolved snapshots. The status turns green on finalize, and on a toleration or quarantine that resolves the last snapshot. Nothing is committed, no recompute is needed, and nothing in CI re-runs. recompute-create still recounts and publishes the status, with ci_rerun_triggered: false, which is expected. A finalized run with stale_approval_count above 0 stays red because another merge changed the baseline: update the branch from the default branch and review the new run.

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
decision.state: approved by a person Leave it. Report "accepted by X on sha" No
decision.state: rejected by a person Read reason. If the reason is right, fix the code and push. If you think it is wrong, report it and stop. Never accept over it Yes, the rejecter or the user
decision.state: cleared by a person Leave it pending. A person undid it on purpose. Report it Yes
earlier_decision set, decision null
Полный SKILL.md на GitHub

Установить triaging-visual-review-runs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл triaging-visual-review-runs?

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 fails a screenshot check, or when the user is on a branch with an open VR run.

Как установить скилл triaging-visual-review-runs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл triaging-visual-review-runs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить triaging-visual-review-runs с