/mthines-agent-skills:aw-verify [run [local|preview|checks]|intent|setup|report] [<pr-url>|<pr-number>|<ticket-id>] [--no-fix] [--no-push] [--no-comment] [--loops <n>] [--as <role>] [--keep-stack] [--foreign-stack teardown|ask|abort]from mthines-agent-skills
End-to-end verification skill that probes features in a browser (ui-verify), checks telemetry, and fixes issues with one commit per finding. Reports with screenshots. Invoked via /aw-verify.
Ships in mthines-agent-skills. 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.
Read when SKILL.md points to them.
Prove a feature works on a real environment, try hard to break it, read what the services recorded while you did, and report it in one shape.
The checks, the browser, and the telemetry must agree.
Repo values come from .agents/aw/ (rules/config.md); repo facts from .agents/aw/notes.md.
Who owns what, the spec contract, and the anti-patterns: rules/delegation.md; why it is shaped this way: references/design.md; why each criterion test exists: references/criterion-quality.md.
run [local|preview] [<pr>|<ticket>] is the default (no reference → the branch's PR, else its plan.md).
Which environment a caller runs comes from ui.yml → verify: when the repo has one: scripts/verify-env.mjs prints VERIFY_ENV: <preview|local|checks|none> [before-pr|after-pr], and with --tier the run to take, VERIFY_RUN: <checks|local|preview> <before-pr|after-pr> (rules/config.md § verify).
run checks proves a diff with no UI file by recorded test runs, before on the base and after on the branch: no stack, browser, or environments.yml, the same regions and the same gate (rules/checks-mode.md). A bare run on a diff with no UI file takes this path too; run local runs the local stack on any diff, so a change the path rules send to local is checked through the local UI and API against the local backend, with no spec block on the PR when no file is UI.
intent [<pr>] publishes the acceptance criteria and stops: it runs the Run card's steps 0 and 1 (config, then intent.md and its Step 6 publish), starts no stack, browser, or probe, and prints INTENT: <source> — <n> criteria, where <source> is brief, pr+ticket, pr, or diff only (rules/intent.md § Step 1 decides which). A later run reuses the same intent.md and the published AC-n IDs.
setup writes .agents/aw/ (rules/setup.md); report re-renders the last report and re-upserts the PR's verify report, with no stack, browser, or telemetry calls.
Every run with a PR ends by rendering its proof and, on trusted PRs, posting it — what was tested, why, the result, and uploaded screenshots and recordings — as the aggregate region of the PR's one verify report — on your own PR a region of the PR description, on anyone else's a comment — which a re-run from any account updates in place (rules/pr-comment.md): the verdict, what needs a human, the criteria once in a collapsed table above it, what is worth a look in the preview, and a media strip (one recording, then up to two screenshot thumbnails), everything else collapsed; whatever policies.pr_comment says. It posts without asking on your own PRs and on PRs opened by a bot in policies.trusted_bots; on anyone else's PR it renders the report, prints comment: not posted (not your PR — ask), and asks once (rules/pr-comment.md § Whose PR posts automatically). The comment is always written by verify-comment.mjs from report.md, never by hand. The script uploads every local screenshot and recording the report names (--no-upload skips that), never folds the aggregate (an older commit gets a visible banner), and refuses an aggregate that is only collapsed blocks.
Your own PR: fix, push, and re-verify until the verdict is ✅ verified, at most 3 iterations — on local and preview alike — then post (rules/fix-loop.md § Own PR). Someone else's PR: report only.
| Flag | Effect |
|---|---|
--no-fix | Report findings, change no code |
--no-push / --no-comment | Commit fixes but do not push / defer the PR comment — only for a caller that runs report <pr-url> itself afterwards (aw) |
--loops <n> | Fix-and-reverify iterations (default and max 3; telemetry.yml loops may lower it) |
--as <role> | Run as auth.identities.<role> instead of the default identity (rules/auth.md § Several identities) |
--keep-stack | Never tear the local stack down |
--foreign-stack <teardown|ask|abort> | Overrides policies.foreign_stack; aw passes abort |
Someone else's PR is never fixed, on local or preview: its blocking findings go to review-loop --ui as review threads.
Do these in order; Read a step's rule before its first action when it is not already in context.
Everything this run writes goes under .agent/{branch}/verify/, never /tmp, where another run uses the same names.
Checks mode (rules/checks-mode.md) replaces steps 0–6 with its own seven steps and ends at step 7 without --ui.
rules/config.md § Resolve). No .agents/aw/environments.yml, or no entry for the environment → run setup first; never guess a URL, dataset, or start command. Read lessons (rules/lessons.md § Read).rules/intent.md). Write intent.md: the brief's AC-n verbatim, each tagged ui: / api: / worker:, every criterion linted (§ Step 3b), the changed surfaces mapped to criteria, and the edge-case matrix (rules/edge-cases.md: the brief's EC-n rows first, then the gaps, on every surface).
Then publish the criteria as the PR's intent region (§ Step 6) whenever a PR resolves, before the first probe.
The matrix always has a Concurrency row for any ui: AC that creates a record (fire the trigger twice in parallel, count rows), an Idempotency row for an api: one, and a Duplicate delivery row for a worker: one and one Failure row per guardrail in the brief (break the dependency the guardrail names: make the file unwritable, block the route, stop the service).rules/local-stack.md + the driver file; login per rules/auth.md: a stale session asks the login hook through a needs-login marker before it asks the user; the agent never reads .agents/aw/.env.test-user). Start it detached, logs to procs/<name>.log, poll the ready URL. A sandbox that refuses listen → drive the app's own request handler in-process and say browser: not run (no local port).
A criterion that needs a feature flag in a given state sets, proves, and restores it per rules/flags.md; it never asks the user to edit an env file.
Before the stack starts, restore any flag an earlier run left set (flags.md step 0); a shared: true flag is restored on every exit, and any flag that could not be restored is a Degraded: flag <key> not restored … line.rules/browser-verification.md). Per batch, append to probes.jsonl: window_start, run it, then window_end and each log's byte log_offsets. Batches: acceptance specs, then edge rows, then fault rows; restore every injected fault before the next batch.
A defect that blocks the path (a 500, a build error, a crash) → record it, then route around it without changing code (another dev-server mode, a direct request, seeded state) and keep probing; one defect must not hide the next.telemetry-verify over all of them; save its block to telemetry.md.rules/findings.md): one JSON line per defect in findings.jsonl, with its probe and evidence.local or preview; never someone else's PR; unless --no-fix: rules/fix-loop.md), then report (rules/report.md), lessons and cleanup (rules/lessons.md § Write). After a fix, re-run the probe that found it; stop at ✅ verified or at --loops, and report a finding open at the cap as open.node "${CLAUDE_SKILL_DIR}/scripts/verify-comment.mjs" --pr <pr-url> --check [--ui] --media-fresh --repo-dir ., with --ui on a UI diff. It exits 1 and names what the PR lacks: the intent region, a criterion still ⬜ or without a Proof cell, a ui: criterion ⏭️ under a ✅ verdict, an aggregate that does not open ## <verdict emoji> <verdict words> — <headline> from templates/report.md.template or has no closed Details block, a UI diff with no ui-verify spec block, or a screenshot/recording older than the head whose diff since its own capture touches a UI file with no media:unchanged-since justification (rules/pr-comment.md § Media provenance). Fix each line and re-run until it prints report complete; never end the run, print AW RUN COMPLETE, or say the PR is verified before it does. A PR you may not write to prints gate: not run (<reason>).
With no PR yet (/aw runs aw-verify before it opens the PR): first mark every AC in intent.md from the final results with node "${CLAUDE_SKILL_DIR}/scripts/verify-comment.mjs" --local .agent/<branch>/verify --marks '<json>', then run node "${CLAUDE_SKILL_DIR}/scripts/verify-comment.mjs" --check --local .agent/<branch>/verify [--ui]. It applies the same rules to intent.md and report.md, counts an AC with no mark as not run, and names every AC line it cannot parse, such as one with no [kind:target] tag; re-run until it prints local report complete, and never hand back to the caller before it does.run preview only, after Gate, on a verdict of ✅ verified): rules/smoke-compile.md. Picks the [smoke]-tagged spec (default: Spec 1's first [must-follow] step), compiles its already-passing route-cache entry into a committed Playwright script deployment-verify replays after the deploy, and drafts (never commits) its probes.yml wiring. Gated on the spec's route being mechanically read-only (# mutations: none) and on the repo having opted a production identity into environments.yml; absent either, it reports which and compiles nothing — never a reason to hold the run.The verdict is the most severe row of rules/report.md § Verdict whose condition holds, in the order ⛔, ❌, ⚠️, ✅: an AC that fails or a guardrail that does not hold is ❌ not verified; an AC verified on a stand-in, not on its own target, caps the run at ⚠️ (rules/report.md § Substitution); a defect outside the ACs is reported but does not flip it.
Skill("ui-verify", "run .agent/<branch>/specs.md --env <env> --url <url> --no-telemetry --no-comment")
Agent(subagent_type="general-purpose",
prompt='Run Skill("telemetry-verify", "--env <env> --windows .agent/<branch>/verify/probes.jsonl [--host <preview host>] [--driver <driver>] --brief <plan.md or verify/intent.md> --out .agent/<branch>/verify/findings.jsonl --no-comment") and return only its TELEMETRY block')
dash0-mcp → first check that mcp__<telemetry.yml mcp_server>__getSpans exists. Absent → telemetry: skipped (Dash0 MCP server '<name>' not connected), no dispatch; never query another Dash0 server, whose empty answer proves nothing.ui-verify always gets --no-telemetry, so no window is read twice; both witnesses always get --no-comment, so the PR holds one aggregate (rules/pr-comment.md).confirms: report it as no regression observed (path emits no signal) and say the browser run is its only proof.pipe:, one AC-n <verdict> line per AC, signals:, findings:, and [receipt] verdict: confirms|contradicts|ambiguous|null; its findings join findings.jsonl as T-<n>.general; with no dispatch tool, run it here and say telemetry: same-context (reduced independence).verify-comment.mjs --check [--ui] printed report complete after the last post, or, with no PR, --check --local printed local report complete: it is the proof of the next four items on the PR, so a run that skipped any of them cannot pass it.intent region on the PR (visible, collapsed), never skipped for a non-UI diff (checks mode proves it). A collapsed table (| status AC‑n | criterion | proof |) with every Proof cell filled. Its statuses (⬜ ✅ ❌ ⏭️) match the final results, written with --marks after the report and after every fix-loop re-verify.intent.md, probes.jsonl, findings.jsonl, and report.md under .agent/{branch}/verify/; specs.md for a UI change. Checks mode: runs.json, intent.md, and report.md.pass, fixed → pass, fail, or ⏭️ not verified on target (<what ran instead>), with evidence; every edge row probed or n/a with a reason; every changed surface in the Coverage table.TELEMETRY block covering every window, or telemetry: skipped (<reason>). Never leave it out: the report is incomplete without one of the two, and a connected Dash0 MCP server is never a valid skip reason.aggregate region posted with every screenshot and recording uploaded, or a comment: not posted (<reason>) line.run preview on a UI diff: a smoke compile line in the report (rules/smoke-compile.md § Skip lines) — compiled, defaulted, gated out and why, or not applicable. Never silently absent.references/criterion-quality.md (opens in a new tab)references/design.md (opens in a new tab)rules/auth.md (opens in a new tab)rules/browser-verification.md (opens in a new tab)rules/checks-mode.md (opens in a new tab)rules/config.md (opens in a new tab)rules/delegation.md (opens in a new tab)rules/edge-cases.md (opens in a new tab)rules/findings.md (opens in a new tab)rules/fix-loop.md (opens in a new tab)rules/flags.md (opens in a new tab)rules/intent.md (opens in a new tab)rules/lessons.md (opens in a new tab)rules/local-stack.md (opens in a new tab)rules/pr-comment.md (opens in a new tab)rules/report.md (opens in a new tab)rules/setup.md (opens in a new tab)rules/smoke-compile.md (opens in a new tab)rules/stack/cli.md (opens in a new tab)rules/stack/command.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
e2e-testing, ui-verify, telemetry-verify, autonomous-workflow, fix-loop
Generated from the plugin's indexed repository (mthines/agent-skills) — no native marketplace selected
npx claudepluginhub p/mthines-mthines-agent-skills54 skills in this plugin
/ai-engineeringReviews and guides LLM/AI application engineering — prompts, caching, RAG, agent loops and tools, resilience, model migration, evals, prompt-injection defence, and observability. Invoke with /ai-engineering for "review my prompt", "set up RAG", or "write evals".
/animationsAuthors performant CSS-first web animations and picks the right feedback for an interaction — transitions, View Transitions, scroll-driven motion, Motion for React, reduced motion, and perceived performance. Triggers on "animate this", "hover effect", "feel faster", "skeleton loader", "/animations".
/animations-nativeAuthors performant React Native / Expo animations and gestures with Reanimated and react-native-gesture-handler on the UI thread; web animations go to `animations`. Triggers on "reanimated", "react native animation", "gesture handler", "swipe gesture", "/animations-native".
/atelierTakes one change from request to merged PR by sequencing existing skills — aw builds the draft PR, prepare gets it green, a deterministic gate allows the squash-merge only when a user-visible diff that needs a rollout ships behind a deployment-verify flag contract, or a small one carries a classed no-flag marker (and, in a repo with a hosted service, every diff carries a contract or an opt-out) — then reads the default-branch pipeline, fixes a red one once, verifies a no-flag change on the deploy with deployment-verify, and says what a human does next. Resumable from a sticky PR comment; invoke with /atelier.
/attach-mediaUploads local screenshots and recordings to GitHub and embeds them in a PR or issue body or comment as inline-rendering user-attachments URLs, via `gh --attach` with a curl fallback; never writes placeholders. Triggers on "attach screenshots to the PR", "upload this recording to the PR", "/attach-media".
/autonomous-workflowThe phase machinery (0–7) behind the `aw` dispatcher: task intake through a tested draft PR in an isolated worktree, gated by the plan.md brief and the run-checks.mjs sentinel, with companions that never block. Not the entry point — natural-language requests for autonomous work go to the `aw` skill; invoke /autonomous-workflow only to run the phases directly.
Other plugins' skills for the same job