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★ 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 statusVisual 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-createstill recounts and publishes the status, withci_rerun_triggered: false, which is expected. A finalized run withstale_approval_countabove 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 |
Установить 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), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic