Skip to main content

visual-diff

星标11
分支15
更新时间2026年7月27日 12:34

Capture before/after screenshots of a running UI inside Diffy's screenshot-worker Docker container (the same rendering pipeline Diffy runs in production) and produce a visual-regression diff with the Diffy CLI. Use when the user makes UI changes and wants to see what changed visually: run once BEFORE edits to set a baseline, then again AFTER edits to compare. Pages, breakpoints, and capture settings come from the Diffy project (no config file). Reports % changed per page/breakpoint plus a shareable diff report link. This captures on THIS machine (a running local app); to compare two already-deployed environments/URLs on Diffy's servers instead, use the compare-environments skill. If the user is ambiguous about whether to capture locally or remotely, ask. Trigger phrases: "visual diff", "compare the UI", "what changed visually", "screenshot diff", "did my UI change".

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
2 个文件
SKILL.md
readonly