Skip to content
Back to skills

Verify Ui

ASecurity

Screenshot the changed route with the project's own command. Use it before reporting a UI, layout, styling, copy or interaction change done.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 5, 2026
ai-agentsnode

Works with

  • terminal

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add joshuafolkken/kit --skill verify-ui --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Verify Ui?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Verify Ui
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joshuafolkken-verify-ui/badge)](https://www.skillsdirectory.com/skills/joshuafolkken-verify-ui)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: verify-ui
description: Screenshot the changed route with the project's own command. Use it before reporting a UI, layout, styling, copy or interaction change done.
argument-hint: '[route] [route...]'
---

# Verify the rendered screen

A rendered-UI change is not done until someone has looked at it (`CLAUDE.md` → completion gate);
passing tests are not that look. A change to the terminal board's display (`scripts/run/board/`)
takes the Terminal UI section below instead of steps 1–3.

## 1. Decide which routes to capture

1. The routes given as arguments (`/verify-ui / /blog`).
2. Otherwise `pnpm josh ui:routes` (branch diff, or `--staged`) lists the routes the change touches;
   **pick the ones a reader would notice**.
3. If it derives none, ask which screen to look at. Do not guess.

State the list before capturing.

## 2. Capture

Run `pnpm josh ui:shot <route>...` once, with every route (`pnpm josh ui:shot / /blog`). It finds this
project's screenshot command and runs it; do not probe the candidates by hand. The command prints the
image paths, and its exit status is the result. A failed capture is not a passed gate.

### When there is no screenshot command

`ui:shot` says so — `no screenshot command in this project — tried:` and the candidates — and exits
non-zero. Only then:

**Capture through the project's own E2E suite**: add `await page.screenshot({ path: … })` to the
Playwright spec covering the screen (or a new spec) and run it.

**Otherwise, when `pnpm josh run:prep <N>` prints `post_merge_check: <where to look>`** (not `none` or `?`),
the issue deferred the look past the merge: check what you can without a screenshot (the real output,
tests on colors or rendering), record `behavior checked, look unchecked` and the `<where to look>` in
the PR body and on the issue, and continue the run. This does not close the gate; never report it as
satisfied.

**Otherwise stop and say so**, in the session language: what you looked for, that the UI verification
gate is **not** closed by this run, and ask the user to look at the screen.

Never report the gate as satisfied on tests alone. Never stand up a preview server by hand and drive
it from a throwaway script. A project that should have the command and does not is an issue against
the application toolkit.

## 3. Look at the images

Read every produced image with the Read tool; capturing alone does not close the gate.
Check the change's intent: element present, placed, sized, spaced, colored and worded as intended;
nothing else disappeared or moved; the layout holds at the viewport.

## Terminal UI

The board is text, so read it: do not look for a screenshot command, and do not stop.

1. List the states the change affects, of: a notice or none, repeat, mute, theme (default, or a
   `--theme` value: `wopr`, `trace`, `flux`, `codec`, `nixie`, `skynet`, `magi`, `rk800`, `isac`,
   `ghost`), an icon change
   (`--icons letters`, `shapes`), a narrow width.
2. Per state, run `pnpm josh run:board --frame` once with the flags that fix it (`--notice <row state>`
   such as `merged` or `stopped`, `--issue <n>`, `--repeat`, `--mute`, `--theme <name>`,
   `--icons <letters|shapes>`, `--columns <n>`) and read the output: layout, wording, alignment, width.
   For a color change add `--ansi` and read the SGR codes. A change in another worktree → run
   `node tools/josh/josh-ready.ts run:board --frame …` in it, itself (no unit).

Only how a color looks, animation and sound are left to a person: write them in the issue's
`## 背景` as `マージ後の確認: <where to look>`; not a stop before the merge.

## 4. Report

- **Matches the intent**: route by route, what you checked, with the image paths (on the E2E
  fallback, the `path` option).
- **Does not match**: route, intended result, what the image shows, image path. Fix and capture again.
- **Could not capture**: the report from step 2, unchanged. This is not a pass.
- **Terminal UI**: state by state, the command run and the frame lines you read.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.