test-pocketdiff
Installation
SKILL.md
Test pocketdiff
pocketdiff is a CLI (bin/cli.js) that reads a unified diff and writes one
self-contained HTML review file. There's no server — every check below is either a
local command or a single HTTP fetch. Run from the repo root.
npm install # Node >= 16
A green run is: unit tests pass, the driver says pocketdiff: OK, every input
form writes the expected file(s), the output has zero external assets, and the
error paths print a recovery hint.
1. Unit tests (fast, no network)
node test/test.js # -> "All tests passed."