Prove a change works against the real artifact and write a verification receipt bound to the commit. Use before declaring work done, before opening a PR, or when a receipt is missing or stale.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Verify?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cavallinilorenzo-verify)
---
name: verify
description: Prove a change works against the real artifact and write a verification receipt bound to the commit. Use before declaring work done, before opening a PR, or when a receipt is missing or stale.
---
# Verify
Prove behaviour by observing the real thing. A compile, a green unit test or an agent's report is a proxy.
Talk to the user in their language. Commits, PR text, issue text and code stay in English.
## Steps
1. **Pin the commit.** Commit pending work. Record `git rev-parse HEAD`.
2. **Load the recipe.** Read `docs/agents/engineering.md`. If it is missing, derive commands from CI and the build files, and say that `/setup` has not run. Classify the change with `risk`: call the Skill tool with `risk` unless the caller stated the level or the skill is already in context.
3. **List the criteria.** Take acceptance criteria from the ticket, spec or plan; for a bug, the original symptom. With no source, derive them from the diff and label them `inferred`.
4. **Narrow to the delta.** When the receipt at the path in step 8 passed for an ancestor of `HEAD` (`git merge-base --is-ancestor <its commit> HEAD`), read `git diff <its commit>..HEAD`. A criterion whose code the delta leaves untouched keeps its observed result, marked `(carried from <short sha>)`; steps 5 to 7 cover only the criteria the delta reaches. A delta confined to tests, docs or comments carries every criterion.
5. **Run the commands**, fresh, at the pinned commit: the recipe's fast checks, the tests of the touched code, and every command the recipe names for a touched path. The full suite is CI's: it runs on the PR, so run it here only when no CI does, and write `full suite: CI` under **Commands**. Give each command a timeout; keep its exit status and the one line that summarises it.
A test outside the diff's reach that fails, then passes when rerun alone, is a **flake**: record both results under **Not verified** and go on. One rerun is the whole budget.
6. **Exercise the behaviour.** Drive every criterion through the real artifact: dev server, CLI, app. Climb the certainty ladder as far as the risk level demands. Turn a bug found here into a failing test, then fix it and restart from step 1.
7. **Capture screenshots** when the change is visual (see below).
8. **Write the receipt** to `$(git rev-parse --git-path verification-receipt.md)`, which stays out of the diff. In a linked worktree that path lies in the main checkout's `.git`, where an isolated session's edit tools refuse to write: write the receipt to a temporary file, then `cp` it there.
Done when every criterion has an observed result or a line under **Not verified**, and the receipt's commit equals `HEAD`. If a command or criterion failed, report the failure and write no passing receipt.
## Receipt
```markdown
Commit: <full sha>
Risk: <level> (<reason>)
## Commands
- `<command>`: exit <n>, <one-line summary>
## Behaviour
- <criterion>: <what was done and observed> (certainty <1-5>)
## Not verified
- <what, and why>
## Screenshots
- <viewport>: <path>
```
Write `None` under an empty section. Redact every secret.
## Screenshots
Use the recipe's method, or `npx playwright screenshot --viewport-size=1280,800 <url> <path>`, plus a 390×844 viewport. Saving is free: an image costs tokens only when the model opens it. Open only what the verification needs.
Save under `$(git rev-parse --git-path verification-screenshots)`. Use synthetic data, always.