Zum Inhalt springen
Skillpedia
Tests41k · #6965

triaging-visual-review-runs

Was er macht

Dieser Skill zeigt einem Agenten, wie er die Ergebnisse von PostHog Visual Review liest. Das Tool vergleicht Screenshots aus einer Codeversion mit einer anderen. Er richtet sich an Entwickler, deren Pull Requests durch visuelle Prüfungen gestoppt werden.

Wann du ihn nutzt

  • ✓Wenn ein Pull Request durch Visual Review blockiert ist und du wissen willst, warum.
  • ✓Wenn du entscheiden musst, ob eine Screenshot-Änderung echt oder ein unzuverlässiger Test ist.
  • ✓Wenn du einen Rückstand an Screenshot-Unterschieden abarbeiten willst.

Link zum Skill

https://github.com/PostHog/posthog/blob/master/products/visual_review/skills/triaging-visual-review-runs/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/PostHog/posthog/blob/master/products/visual_review/skills/triaging-visual-review-runs/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Mein Pull Request ist durch Visual Review blockiert. Kannst du prüfen, welche Screenshots sich geändert haben und ob diese Änderungen echt sind?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent liest den Prüflauf, seinen Umfang und seinen Verlauf und verkettet dann die Review-Werkzeuge, um die Fragen zu beantworten, die ein menschlicher Prüfer stellen würde. Er kann unzuverlässige Snapshots in Quarantäne setzen, genehmigt aber nicht selbst neue Baselines.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Kann der Agent visuelle Änderungen selbst genehmigen?

Nein. Eine neue Baseline zu übernehmen braucht für jeden Lauf eine ausdrückliche Bestätigung durch eine Person.

Warum hat ein Pull Request aus einem Fork keinen Review-Lauf?

Das ist meist normal, weil Pull Requests aus Forks oft gar keinen Visual-Review-Lauf bekommen.

Was bedeutet Quarantäne?

Ein unzuverlässiger Snapshot wird beiseitegelegt, damit er den Pull Request nicht mehr blockiert, während er untersucht wird.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
41k
Platz im Ranking
#6965
Lizenz
—
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills