triaging-visual-review-runs
하는 일
이 스킬은 에이전트가 PostHog Visual Review 결과를 읽도록 가르칩니다. 이 결과는 코드의 한 버전과 다른 버전의 스크린샷을 비교합니다. 시각 검사에 막힌 풀 리퀘스트를 다루는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓시각 검토 검사 때문에 풀 리퀘스트가 막혀서 그 이유를 알고 싶을 때.
- ✓스크린샷 변경이 진짜인지 불안정한 테스트인지 판단해야 할 때.
- ✓스크린샷 차이가 쌓인 목록을 하나씩 정리하고 싶을 때.
스킬 링크
https://github.com/PostHog/posthog/blob/master/products/visual_review/skills/triaging-visual-review-runs/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“풀 리퀘스트가 시각 검토에 막혀 있습니다. 어떤 스크린샷이 바뀌었고 그 변경이 진짜인지 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 검토 실행, 범위, 기록을 읽은 다음, 검토 도구를 연결해 사람 검토자가 던질 질문에 답합니다. 불안정한 스냅샷은 격리할 수 있지만, 새 기준선을 스스로 승인하지는 않습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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 |
자주 묻는 질문
에이전트가 시각 변경을 스스로 승인할 수 있나요?
아니요. 새 기준선을 확정하려면 실행마다 사람의 명시적인 확인이 필요합니다.
포크에서 온 풀 리퀘스트에 검토 실행이 없는 이유는 무엇인가요?
포크에서 온 풀 리퀘스트는 보통 Visual Review 실행을 받지 않으므로, 대개 예상된 결과입니다.
격리란 무엇인가요?
불안정한 스냅샷을 따로 빼 두어, 조사하는 동안 풀 리퀘스트를 막지 않게 하는 것입니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 41k
- 순위
- #6965
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
depot-ci
41k에이전트가 GitHub Actions 대안인 Depot CI 워크플로를 설정하고 실행하도록 돕습니다. 기존 워크플로 이전과 실행 로그 읽기를 포함합니다.
depot-container-builds
41k에이전트가 Depot 원격 빌더에서 Docker 이미지를 빌드하도록 돕습니다. 다중 플랫폼 이미지, 레지스트리 푸시, 빌드 실패 수정을 포함합니다.
depot-github-runners
41k에이전트가 GitHub Actions 작업을 Depot 관리형 러너로 옮기고, 러너 크기와 라벨을 고르도록 돕습니다.
editing-agents-md
41k에이전트가 규칙을 AGENTS.md나 CLAUDE.md 중 어디에 둘지 정하고, 파일을 키우지 않으면서 잘 지켜지도록 쓰게 돕습니다.
비슷한 스킬
test-driven-development
311k에이전트가 기능이나 수정을 만들기 전에 실패하는 테스트를 먼저 쓰고, 그것을 통과시키는 가장 작은 코드를 작성하도록 가르칩니다.
verification-before-completion
311k에이전트가 작업, 수정, 빌드가 완료되었거나 통과했다고 말하기 전에 실제 점검을 실행하고 결과를 읽도록 가르칩니다.
migrate-to-shoehorn
310k테스트 파일의 위험한 타입 캐스팅을 shoehorn 라이브러리로 바꿔, 테스트가 일부 데이터만 써도 타입 검사를 통과하도록 돕습니다.