|
1 | | -# Claude Code plugins for diffy-cli |
| 1 | +# Claude Code plugin for diffy-cli |
2 | 2 |
|
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). |
6 | 5 |
|
7 | | -## `diffy-local` |
| 6 | +## `diffy` |
8 | 7 |
|
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**: |
12 | 9 |
|
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. |
14 | 15 |
|
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. |
20 | 18 |
|
21 | 19 | ## Install (once this repo is pushed) |
22 | 20 |
|
23 | 21 | ```shell |
24 | 22 | /plugin marketplace add diffywebsite/diffy-cli |
25 | | -/plugin install diffy-local@diffy |
26 | | -/plugin install diffy-remote@diffy |
| 23 | +/plugin install diffy@diffy |
27 | 24 | ``` |
28 | 25 |
|
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. |
31 | 28 |
|
32 | 29 | ## Local development / testing (no install) |
33 | 30 |
|
34 | 31 | ```bash |
35 | 32 | # 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 |
40 | 35 | ``` |
41 | 36 |
|
42 | 37 | Use `/reload-plugins` inside a session to pick up edits without restarting. |
0 commit comments