Skip to content

Commit b0e7f39

Browse files
authored
Merge pull request #55 from DiffyWebsite/diffy-skills
Merge Diffy skills into one plugin; container-based local capture; mi…
2 parents ee05f2d + a680ec8 commit b0e7f39

24 files changed

Lines changed: 532 additions & 910 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,20 @@
99
},
1010
"plugins": [
1111
{
12-
"name": "diffy-local",
13-
"source": "./plugins/diffy-local",
14-
"description": "Capture screenshots of a running app locally with the diffy-worker engine and upload them to Diffy.",
15-
"version": "1.0.0",
12+
"name": "diffy",
13+
"source": "./plugins/diffy",
14+
"description": "Diffy visual-regression testing: capture screenshots locally (in Diffy's screenshot-worker Docker container) or remotely on Diffy's servers, create projects, run visual diffs, and read results.",
15+
"version": "2.0.0",
1616
"author": {
1717
"name": "Diffy"
1818
},
1919
"homepage": "https://diffy.website/",
2020
"category": "testing",
21-
"tags": ["visual-regression", "screenshots", "diffy", "testing", "ui", "local", "playwright"]
22-
},
23-
{
24-
"name": "diffy-remote",
25-
"source": "./plugins/diffy-remote",
26-
"description": "Run Diffy screenshots and environment diffs remotely on Diffy's servers (no local browser).",
27-
"version": "1.0.0",
28-
"author": {
29-
"name": "Diffy"
30-
},
31-
"homepage": "https://diffy.website/",
32-
"category": "testing",
33-
"tags": ["visual-regression", "screenshots", "diffy", "testing", "ui", "remote", "ci"]
21+
"tags": ["visual-regression", "screenshots", "diffy", "testing", "ui", "local", "remote", "docker", "ci"]
3422
}
35-
]
23+
],
24+
"renames": {
25+
"diffy-local": "diffy",
26+
"diffy-remote": "diffy"
27+
}
3628
}

plugins/README.md

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,37 @@
1-
# Claude Code plugins for diffy-cli
1+
# Claude Code plugin for diffy-cli
22

3-
This directory holds Claude Code plugins distributed through the marketplace defined at
4-
[`../.claude-plugin/marketplace.json`](../.claude-plugin/marketplace.json). Both are built on the `diffy`
5-
CLI and differ only in **where the screenshots are captured**.
3+
This directory holds the Claude Code plugin distributed through the marketplace defined at
4+
[`../.claude-plugin/marketplace.json`](../.claude-plugin/marketplace.json).
65

7-
## `diffy-local`
6+
## `diffy`
87

9-
Capture screenshots of a **running app locally** with the `diffy-worker` engine (Diffy's production
10-
screenshot pipeline, run on your machine) and upload them to Diffy — create projects, upload screenshot
11-
sets, and run visual diffs. See [`diffy-local/README.md`](diffy-local/README.md).
8+
One plugin built on the `diffy` CLI with **two capture modes**:
129

13-
## `diffy-remote`
10+
- **Local** — capture a **running app on your machine** inside Diffy's published
11+
`diffywebsite2/screenshot-worker` Docker container (the production rendering runtime, run locally) and
12+
upload it. Requires Docker.
13+
- **Remote** — have **Diffy capture on its own servers** (no local browser or Docker) — screenshot an
14+
environment or diff two environments server-side.
1415

15-
Run screenshots and environment diffs **remotely on Diffy's servers** (no local browser or Playwright) —
16-
screenshot an environment, compare two environments, create projects, and read diffs. See
17-
[`diffy-remote/README.md`](diffy-remote/README.md).
18-
19-
Install whichever fits your workflow (or both).
16+
When a request doesn't say where to capture, Claude asks whether to run **local** or **remote** (on
17+
app.diffy.website). See [`diffy/README.md`](diffy/README.md) for the full skill list.
2018

2119
## Install (once this repo is pushed)
2220

2321
```shell
2422
/plugin marketplace add diffywebsite/diffy-cli
25-
/plugin install diffy-local@diffy
26-
/plugin install diffy-remote@diffy
23+
/plugin install diffy@diffy
2724
```
2825

29-
Then the skills are available namespaced, e.g. `/diffy-local:visual-diff` or
30-
`/diffy-remote:compare-environments`. Claude also invokes them automatically based on your request.
26+
Then the skills are available namespaced, e.g. `/diffy:visual-diff` or `/diffy:compare-environments`.
27+
Claude also invokes them automatically based on your request.
3128

3229
## Local development / testing (no install)
3330

3431
```bash
3532
# from the repo root
36-
claude --plugin-dir ./plugins/diffy-local
37-
claude --plugin-dir ./plugins/diffy-remote
38-
claude plugin validate ./plugins/diffy-local # run before publishing / submitting
39-
claude plugin validate ./plugins/diffy-remote
33+
claude --plugin-dir ./plugins/diffy
34+
claude plugin validate ./plugins/diffy # run before publishing / submitting
4035
```
4136

4237
Use `/reload-plugins` inside a session to pick up edits without restarting.

plugins/diffy-local/.claude-plugin/plugin.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

plugins/diffy-local/README.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)