PR Visual Diff — Testing skill for Claude Code
Post before/after stills + GIFs on a visual PR, captured headlessly with Playwright + ffmpeg.
How to install PR Visual Diff
Installs to ~/.claude/commands/2anki-2anki.net-pr-visual-diff.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/2anki/2anki.net/HEAD/.claude/commands/pr-visual-diff.md -o ~/.claude/commands/2anki-2anki.net-pr-visual-diff.md Restart Claude Code, or start a new session, for it to be picked up.
What PR Visual Diff does
description: Post before/after stills + GIFs on a visual PR, captured headlessly with Playwright + ffmpeg
pr-visual-diff
Post **before/after visual evidence** (stills + GIFs) as a comment on a PR that changes CSS, design tokens, motion, or layout — captured headlessly with Playwright + ffmpeg, so a reviewer sees the change instead of reading a description of it.
First proven on PR #3372 (`/upload` theme-break + motion polish). Use it whenever a diff is visual and the win is hard to c
Alternatives in Testing
- Design QA — Visual QA on an HTML/CSS implementation — checks responsive behavior at mobile/tablet/desktop, design token co 309 ★
- Integration Test — Test elixir plugin post-edit hooks by walking through fixture projects in test/integration/fixtures/ 174 ★
- Claude Code Video Toolkit — AI-native video production workspace for Claude Code with Remotion, ElevenLabs, FFmpeg, and Playwright skills 133 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
E Commerce AI Testing Agent
An autonomous QA agent that tests an e-commerce checkout flow end to end, combining Playwright for browser aut
Claude Show Your Work
Claude Code shows images and plays videos right in your terminal: screenshots, Playwright recordings, and sync
QA Heal
Diagnose and rewrite a failing Playwright spec from a captured error log.
Canvas Explainer Videos
Generate narrated explainer videos purely from code - one Canvas HTML file draws every frame, Web Audio synthe
Percy Visual Testing Agent
[Beta] Visual testing on autopilot for AI coding agents — Claude Code, Cursor, Codex, GitHub Copilot & more. C
Asset Spec
Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profile
Related Agents
LinkedIn Memory Manager
Updates LinkedIn content, visual, experiment, and change memory so future posts avoid repetition (/learn). Use
Design Study
Studies reference images, GIFs, prior designs, or public visual references and extracts reusable design DNA be
Deploy QA
Post-deploy verification in a real browser using the Playwright MCP tools - smoke tests of key journeys, conso