dsh-screenshot-diff
Run the following command in DeepSeek Harness:
dsh plugin install PangYiMing/dsh-screenshot-diff
Paste the following prompt into your AI chat to install this plugin:
Install the plugin in DeepSeek Harness by running dsh plugin install PangYiMing/dsh-screenshot-diff; the source code is hosted at https://github.com/PangYiMing/dsh-screenshot-diff
About this plugin
In visual regression workflows, screenshot capture and pixel comparison are often bundled, but you may already have two rendered images and simply need to see exactly where they differ. dsh-screenshot-diff does one thing: it pixel-diffs two existing images. It captures nothing—you supply the two files.
It produces two outputs: a diff.png with changed pixels highlighted in red, and a labeled triptych compare-triple.png showing A, B, and the diff side by side. Sensitivity comes in three presets—normal, high, and ultra—ranging from stable to extremely sensitive, with an explicit --threshold override for finer control. A size mismatch between the two images triggers an immediate failure rather than a silent stretch, so layout regressions are never masked. A JSON summary (similarity, numDiffPixels, total, sensitivity, threshold) is written to stdout for downstream automation.
Ideal for developers debugging UI changes, teams building visual regression pipelines, or CI jobs comparing two build artifacts. A practical tip: start with the normal preset, verify the diff lands where you expect, and only escalate to high or ultra when you need to catch subtle gradient or anti-aliasing shifts.
Use Cases
- Compare rendered output between two build versions of the same page
- Quickly locate pixel-level changes after a CSS or theme update
- Validate component screenshots in a CI pipeline against expected output
Best For
- Frontend developers debugging visual UI changes
- Engineering teams building visual regression test pipelines
- Automation engineers comparing screenshot artifacts in CI
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.