2anki

PR Visual Diff — Testing skill for Claude Code

Testing community

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

Terminal
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 Repository