triaging-visual-review-runs
What it does
This skill teaches an agent to read PostHog Visual Review results, which compare screenshots from one version of the code to another. It is for developers whose pull requests are stopped by visual checks.
When to use it
- ✓When a pull request is blocked by a visual review check and you want to know why.
- ✓When you need to decide whether a screenshot change is real or a flaky test.
- ✓When you want to work through a backlog of screenshot differences.
Skill link
https://github.com/PostHog/posthog/blob/master/products/visual_review/skills/triaging-visual-review-runs/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“My pull request is blocked by visual review. Can you check which screenshots changed and whether those changes are real?”
5 new skills a week. 1 minute to read.
How it works
The agent reads the review run, its scope and its history, then chains the review tools to answer the questions a human reviewer would ask. It may quarantine flaky snapshots, but it does not approve new baselines on its own.
Technical content (original SKILL.md)
Original text by the author, straight from 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 |
FAQ
Can the agent approve visual changes by itself?
No. Committing a new baseline needs explicit confirmation from a person for each run.
Why does a fork pull request have no review run?
That is usually expected, since pull requests from forks often get no Visual Review run at all.
What does quarantine mean?
It sets a flaky snapshot aside so it stops blocking the pull request while it is investigated.
Details
Original description by the author
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
Popularity
- GitHub stars
- 41k
- Ranking position
- #6965
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
test-driven-development
311kTeaches your agent to write a failing test first, watch it fail, then write the smallest code that passes, before building any feature or fix.
verification-before-completion
311kTeaches your agent to run real checks and read their output before claiming that a task, fix, or build is complete or passing.
migrate-to-shoehorn
310kReplaces risky type casts in your test files with the shoehorn library, so tests can use partial data and still pass type checks.