/pr-evidence:pr-evidencefrom pr-evidence
Guides capturing before/after screenshots for UI changes and one-snippet evidence for non-UI changes in PRs. Covers clean environments, throwaway accounts, image hosting on a pr-assets branch, and a six-section PR body template.
Ships in pr-evidence. 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.
A reviewer should grasp what moved without reading the diff.
Capture the baseline while still on the base branch, at the start of the unit. Reconstructing it afterwards costs a second build, install, and re-drive of the app. If a unit turns out to be UI-facing after work has started, capture the baseline before going further.
In a clean environment with a throwaway account, never on your personal device or browser profile. For mobile work that means an emulator or simulator; for web work, a fresh browser profile. A personal device holds real sessions, and scrubbing it means destroying them. A clean environment starts empty, is disposable, and nothing private can leak into a public repo. Keep hands-on testing on a real device where it matters — that is about whether it works; this is about what a reviewer sees.
Screenshots are published artifacts. On a public repo they carry whatever is on screen — account names, server hostnames, room IDs, message content. Check the frame before attaching, and ask if real data can't be avoided.
GitHub has no API for PR image attachments — the drag-and-drop user-attachments flow is
browser-session only, so gh cannot do it. Images need a public URL first:
pr-assets branch, so binaries never enter the main history.https://github.com/<owner>/<repo>/blob/pr-assets/<pr>/<rev>/<name>.png?raw=true.
That form renders for anyone with access to the repo, private repos included;
raw.githubusercontent.com links only render on public repos.Never overwrite an image path. GitHub proxies external images through its camo cache, so
replacing a file at a URL that has already been rendered can keep serving the stale picture.
Give every capture a fresh path (<pr>/<rev>/<name>.png) instead of re-uploading over an old
one.
Use the repo's own template if it has one. Otherwise these six sections, in this order:
Reference issues as "tracked in #NN" unless the PR should close them — Closes/Fixes/Resolves #NN auto-closes on merge.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arefmozafari/pr-evidence --plugin pr-evidenceOther plugins' skills for the same job