Use Vishot use-vishot
Capture deterministic screenshots with Vishot and return a structured manifest of the generated images.
Use it when uI inspection, documentation, visual comparison inputs, or any screenshot task across Electron, web, and Capacitor applications; this skill is not specific to pull requests.
- Our test
- 8/10✓ Verified
- tested Dec 6, 2026
- GitHub stars
- 52k
- moeru-ai/airi
- Added by
- 0
- members
- Updated
- Dec 6
- commit f28d10e
- Content
- 2 files
- no scripts · 4 KB
- License
- MIT
- free to use
What our test found
The skill gives a clear, deterministic capture workflow and manifest contract, with useful guidance for runtime selection and image validation.
Limits spotted
- It depends on separate runtime and helper skills, so the complete workflow may not be available in isolation.
- It does not specify exact Vishot command syntax or how to handle cases where no capture tools are accessible.
name: use-vishot description: Capture deterministic screenshots with Vishot and return a structured manifest of the generated images. Use for UI inspection, documentation, visual comparison inputs, or any screenshot task across Electron, web, and Capacitor applications; this skill is not specific to pull requests.
Use Vishot
Use Vishot as the common screenshot interface and delegate runtime-specific behavior to the matching variant skill.
Workflow
- Identify every requested surface and state: route or window, viewport, theme, locale, fixture data, and any interaction needed to reach it.
- Reuse product-owned Vishot scenarios, stories, routes, and stable selectors before creating temporary automation.
- If the existing scenarios do not expose a valid reusable helper for the requested state, write the smallest disposable scenario or helper needed to reach it. Keep one-off automation outside tracked scenario directories. When the state will be checked again during UI iteration, add it as a reusable scenario in the matching
packages/scenarios-*package, asenforce-rules-for-ui-testsdescribes. Run the complete startup, state preparation, capture, and artifact-inspection flow; do not stop after documenting that a helper is missing. - Select the runtime variant:
- Invoke
$use-vishot-with-electronfor Electron windows. - Invoke
$use-vishot-with-webfor browser routes. - Invoke
$use-vishot-with-capacitorfor Capacitor WebView or native-shell evidence. - Also invoke
$use-vishot-with-input-filewhen reaching the requested state requires a local file chooser or file input. - When developing or debugging the disposable automation, use a locally available
$agent-browserto inspect web or Capacitor DOM and interaction paths. For Electron window discovery and interaction, also invoke$agent-browser-electron. Use these skills as development and validation aids; do not make their availability a prerequisite for Vishot capture. - Produce the final screenshot artifacts with Vishot whenever possible, even when agent-browser helped discover selectors or verify the interaction sequence. Treat a missing product helper as temporary automation work, not as proof that Vishot cannot capture the state; report a Vishot limitation only after reproducing a concrete runtime failure.
- Give the variant an explicit output directory. Directory ownership belongs to the caller; Vishot only writes named capture artifacts into that directory.
- Keep locale, theme, data, viewport, and readiness conditions deterministic when captures will be compared.
- Inspect every generated image. Reject blank, loading, error, permission, onboarding, or unstable frames unless that is the requested state.
- Return a manifest rather than relying on directory order:
id: settings-connection
title: Settings / Connection
runtime: web
viewport: 1440x900
image: /absolute/output/settings-connection.pngInclude the failure reason instead of an image path when capture cannot complete. Do not invent PR, revision, upload, or repository-storage policy; the invoking workflow owns those decisions.
Capture Contract
- Use stable IDs and human-readable titles for all requested states.
- Omit
--namewhen the URL or Electron window produces a unique meaningful name. Use it when states would collide or need an explicit identifier. - Treat
--settle-msas a final rendering delay, not a substitute for a state-specific readiness condition. - Return absolute paths and the parameters needed to reproduce each capture.