/diffy:create-projectfrom diffy
Creates Diffy visual regression testing projects via the diffy CLI from user-provided base URL, pages, and breakpoints.
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.
Create Diffy projects only. Do not update existing project settings, upload screenshots, create diffs, or summarize diff results in this skill.
Never delete projects. This plugin must not delete a Diffy project (or projects) under any
circumstances — not via the diffy CLI, a direct Diffy API/curl call, or the Diffy web UI. If the user
asks to delete a project, refuse and tell them to do it manually in the Diffy dashboard.
Always generate a fresh JSON config from the user's input. Do not use the repo's example JSON or YAML files as the project creation input.
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).Required:
base_url: the production/base URL for the new project, for example https://www.example.com. This is
written to the config as the production field (same field name update-project-settings uses).If base_url is missing, ask the user for it before creating the config. Do not infer it from examples.
Optional:
name: default to the hostname from base_url if omitted.pages or urls: default to only the homepage path / if omitted.breakpoints: default to [640, 1024, 1200] if omitted.staging: default to an empty string if omitted.development: default to an empty string if omitted.schedule: omit by default (no monitoring schedule). The create endpoint expects a schedule string
such as "mon:false, tue:false, wed:false, thu:false, fri:false, sat:false, sun:false", so only add this
field when the user asks for a schedule.Create a JSON config in .diffy-skills/project-create/<safe-name>.json. Do not overwrite an existing
config unless the user asked for that exact file to be replaced.
Generated JSON shape:
{
"name": "Project name",
"breakpoints": [640, 1024, 1200],
"production": "https://www.example.com",
"staging": "https://staging.example.com",
"development": "",
"urls": [
"https://www.example.com/",
"https://www.example.com/about"
]
}
Rules:
urls absolute by resolving each page path against base_url.base_url values.Run:
diffy project:create <generated-config.json>
The command prints created IDs in this form:
[12345] created.
Parse and report the numeric project ID(s). Then verify each project:
diffy project:get <PROJECT_ID>
Return a concise result with:
If creation fails, show the exact CLI error and the config path. Do not retry by changing project settings;
that belongs to update-project-settings.
This skill writes its generated config 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
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