Verifies a screen against an atrezzo scenario and diagnoses failures. Use it when the user wants to check that a screen renders what it should, when \"the rows don't show up\" or \"badges are missing\", or before accepting a change that affects displayed data.
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/zeta92-verify)
---
name: verify
description: "Verifies a screen against an atrezzo scenario and diagnoses failures. Use it when the user wants to check that a screen renders what it should, when \"the rows don't show up\" or \"badges are missing\", or before accepting a change that affects displayed data."
---
# /atrezzo:verify
CLI: `node ${CLAUDE_PLUGIN_ROOT}/scripts/cli.mjs` (`atrezzo` below).
1. `atrezzo world <scenario.yaml>` if `doctor` says "STALE".
2. Serve in the background: `atrezzo serve --scenario <name> [--static <dir>]`. If the app runs on its own dev server, point its API at `mock.baseUrl` (or use the generated MSW handlers).
3. Verify: `atrezzo verify <flow.yaml> --driver http` (data) and, if `playwright` or `playwright-core` is available, `--driver playwright` (real DOM). `verify` resets to the flow's scenario before starting. For an app without a DOM (native iOS/Android/desktop), use `--driver http --no-dom` (or flow `dom: false`): selector-only assertions are reported `SKIP`, only `data` assertions are checked, and the run is never reported as UI-verified; say so to the user instead of claiming the screen was checked.
- **App with a session**: never write the cookie or token into the flow and never ask the user for its value. Flow `headers:` hold only committable values (`Accept-Language`, `X-Tenant: acme`); `${…}` in a flow is rejected. The user passes the secret at run time: `atrezzo verify <flow.yaml> --header "Cookie: $SESSION"`, or `--header @-` with `Name: value` lines on stdin. Give the user that command to run themselves (in their terminal, or with `!` in the prompt so the masked report lands in the conversation); do not run it yourself with a value from the environment. Secret-looking headers print as `***`. If the app keeps its session in `localStorage` (Supabase: `sb-<ref>-auth-token`), headers are not enough: add a flow `storage: { local: { … } }` block holding a fake session made up for the mock, never a real token (the mock checks none; `${…}` is rejected), and use `--driver playwright`.
4. Read the exit code: `0` green · `1` some assertion KO · `2` not verifiable (no mock, no playwright, assertion without `data`) · `3` invalid flow/scenario. **A 2 is never an OK**: say so.
5. On KO: `atrezzo verify <flow.yaml> --diagnose` and reason about the hypotheses **before** touching the scenario:
- Read the certainty in `[...]`: act on `confirmed`, verify `likely` before changing anything, never touch the scenario for a `possible`.
- `page-error` / `console-error`: an uncaught browser exception (always KO) or `console.error` (under `--strict-console`; otherwise a `WARNING`) happened on the screen; fix the client bug, do not touch the scenario. A `page-error` takes priority over the step's data hypotheses; a `data.pick` mismatch seen on the same step is only cross-referenced in the row note.
- `click-target-missing`: a step's `click` target did not appear or could not be clicked before asserting; check the selector, `wait_for`, or `click_timeout`.
- `render` / `client-side-filter`: the mock delivers what was expected; the failure is in the screen. Do not touch the scenario.
- `pagination-mismatch`: the data exists outside the page; check the client's or the endpoint's `limit`/`offset`/`sort`.
- `envelope-key-mismatch`: the flow's `data.pick` could not be read from the 200 response, so the row stays KO (the pick is never swapped for another key, and the full-set probe is skipped). It is `confirmed` only when the matched endpoint's declared item-key path (from `envelope.items`, the legacy `pick:` shorthand, or the default `data`) exists in the response and holds an array: align `data.pick` with that declared key, or update the endpoint declaration to match the real API, then rerun—the reported item count is for this response page only, so fixing the pick may still leave pagination or world issues. Without such a declared alternate array path (a bare array, no envelope, or a body that is not a JSON object), it stays `possible` and no alternate key is suggested: the picked key yielded no readable rows, which does not prove 0 rows in the response or world, so compare `data.pick` with the real response shape before touching anything. Under `--driver playwright`, a `page-error` (or another step blocker such as navigation, click, or `--strict-console`) outranks it: the applicable blocker hypothesis remains primary and no `envelope-key-mismatch` hypothesis is added; each affected row's note adds `also: data.pick … is absent` (or `cannot be resolved`); fix the crash or blocker first, then rerun.
- `dedupe-by-id`, `null-field`: a client assumption; see `${CLAUDE_PLUGIN_ROOT}/references/assumptions.md`.
- `undeclared-filter`: the client filters by a parameter the contract does not have.
- `world-mismatch`: only then fix `world` or the assertion.
6. Never regenerate with another seed "to make it pass". Report: the table, the hypothesis you chose, the evidence and the proposed change.