/dispatch:ui-validationfrom Dispatch
Validates UI changes by driving a real browser with Playwright, capturing screenshots of meaningful states including toggles, overlays, and both layouts.
Ships in Dispatch. 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 UI change is not finished when it compiles. It is finished when someone has watched it behave. In Dispatch that means driving the running app with Playwright and handing the user screenshots they can look at.
Applies to any change to layout, styling, a component, or a user-facing flow — including ones that "obviously can't break anything".
repo_* tools for it (see the repo-tools skill), use those rather than
starting a server by hand. For Dispatch dev stacks, share only the web LAN
URL with the user as a named preview attachment (url, title); keep
API/DB addresses internal and attach cleanup commands separately.post with
attachments: [{ type: "file", path }]) — see the sharing skill. A
screenshot left on disk was never delivered.browser_close when done. Leaving browsers open wastes resources,
especially on headless machines. Close before your final reply.A static screenshot of the initial render is the weakest possible evidence. Drive the interaction:
A change scoped to one layout must be verified unchanged on the other. Desktop work that quietly reflows mobile is common and nobody notices until a user does. A before/after pixel comparison at the other layout's viewport is cheap and decisive.
Do not use networkidle on pages with SSE or WebSocket activity — the
connection never goes idle, so the wait burns its full timeout and then reports a
failure that has nothing to do with your change.
Use domcontentloaded (or load), then wait for a concrete UI-ready signal: a
specific control being visible, a piece of text appearing, a state class landing.
Wait for the thing you actually need, not for the network to go quiet.
deviceScaleFactor: 2 or higher in the browser context. 1x captures
are unreadable once shared, and higher still is right for mobile viewports.Run headless unless you specifically need to watch it. Headless is faster and works on machines with no display.
Say which states you exercised and share the images. "Validated in Playwright" with nothing attached is not evidence. If something is still unverified — a state you could not reach, a viewport you did not test — say so explicitly rather than letting the screenshots imply full coverage.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
playwright, ui-testing, screenshot-validation, browser-testing
npx claudepluginhub selfcontained/dispatch --plugin dispatch13 skills in this plugin
/brainRecord decisions, findings, or state in the repo's shared persistent store so they survive this session. Use when you need to remember something for later, look up what was already decided, or accumulate results across runs./communicatePick the shape for something you are about to tell the user — a plain or threaded reply, a question they answer in one click, a form, a file, a link, a checklist, or a data visualization. Use when you need a decision from them, have progress or a result to report, or produced something they should look at./jobsRun agent work on a schedule with structured pass/fail reporting. Use for recurring or unattended work — nightly triage, release babysitting, cleanup — or when a run's outcome must be machine-readable.Other plugins' skills for the same job