/diffy:get-diff-infofrom diffy
Fetches and summarizes Diffy visual regression diff status, changed percentages, per-page/breakpoint differences, and JUnit output. Use when a user asks for diff results or report links.
Ships in diffy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read and summarize Diffy diff information only. Do not create projects, update settings, upload screenshots, or create new diffs in this skill.
diffy from PATH../vendor/bin/diffy exists in the current repo, use that./usr/local/bin may need sudo; Homebrew on Apple Silicon uses
/opt/homebrew/bin):
wget -O /usr/local/bin/diffy https://github.com/diffywebsite/diffy-cli/releases/latest/download/diffy.phar && chmod a+x /usr/local/bin/diffy~/.diffy-cli/diffy-cli.yaml must exist. If it does not, run
diffy auth:login <API_KEY> after the user provides the key (key from https://app.diffy.website/#/keys).Preferred input: DIFF_ID.
If the user gives a project but not a diff ID, list recent diffs:
diffy diff:list <PROJECT_ID> 0
This prints a rendered text table (not JSON) with columns id, changes, state, jobs, estimate, sharedUrl. Read the diff ID from the id column.
Use the latest diff only when the user clearly asked for the latest one. Otherwise ask which DIFF_ID to
inspect.
Status:
diffy diff:get-status <DIFF_ID>
This prints 1 when the diff is complete and nothing (empty output) when it is not — empty output is
not an error, just "not finished yet." For a reliable completion check, read the state field from the
JSON result below.
Top-line changed percentage:
diffy diff:get-changes-percent <DIFF_ID>
Full JSON result:
diffy diff:get-result <DIFF_ID> --format=json
JUnit report, when requested:
diffy diff:get-result <DIFF_ID> --format=junit-xml
Save JSON result to .diffy-skills/diffs/<DIFF_ID>.json before parsing when the user asks for a report or
when the result is large.
Parse these fields from the JSON result:
result: overall percentage of pages changed. 0 means no pages changed.diffSharedUrl: shareable visual report link.name: diff name.state: numeric Diffy state (completed states: 2, 3, 4, 7).diffs: nested map of diffs[url][breakpoint], where each item may contain percentageChanges.Return:
percentageChanges descendingSuggested table columns:
URL | Breakpoint | Changed
/pricing | 375 | 12.4%
/ | 1280 | 1.1%
If there are no non-zero entries, say that no visual changes were reported.
If the diff is not complete, return the current status and tell the user to retry this same skill later. Do not create another diff unless the user explicitly asks for a new comparison.
If you saved the JSON result, it lives under .diffy-skills/; offer to add .diffy-skills/ to the repo's
.gitignore if it is not already ignored.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
visual-regression, diffy, diff-reporting, screenshot-testing
npx claudepluginhub diffywebsite/diffy-cli --plugin diffy9 skills in this plugin
/compare-environmentsCompare two environments of a Diffy project server-side with project:compare — Diffy screenshots both environments on its own servers and produces a visual-regression diff, returning a diff ID. Use when the user wants to compare prod vs staging, prod vs a custom/PR/UAT URL, or two arbitrary URLs remotely, without capturing anything locally. This runs on Diffy's servers; to compare a locally running app on THIS machine instead, use the visual-diff skill. If the user is ambiguous about local vs remote, ask./compare-screenshotsCreate a Diffy visual diff from two existing screenshot set IDs with diff:create. Use when the user asks to compare screenshots, compare two uploaded screenshot sets, create a diff from screenshot IDs, or get a diff ID for before/after screenshots./Other plugins' skills for the same job