Skip to content
AI & Agents
Skill

/preview-shots

Open image shots (screenshots, snapshot baselines, montages, renders) in ONE macOS Preview window so the user can eyeball them. Use when the user asks to open / show / pull up / review shots in Preview or Finder, or right after producing visual artifacts the user should look at

From plugin
skills
1.5k38 skills

Claude Code

$ npx -y skills add dzhng/skills --skill preview-shots --agent claude-code

SKILL.md

preview-shots.SKILL.md
name: preview-shots
description: Open image shots (screenshots, snapshot baselines, montages, renders) in ONE macOS Preview window so the user can eyeball them. Use when the user asks to open / show / pull up / review shots in Preview or Finder, or right after producing visual artifacts the user should look at before signing off.

Preview Shots

Put the review-worthy images in front of the user in a single Preview window they can flip through.

Workflow

1. **Curate the set** — the images that answer "is this right?": the just-changed or just-blessed baselines, the integrated result, and the reference image when there's something to compare against. Don't dump every PNG in the folder; pick the smallest set that lets the user judge the change. If the user named specific shots, open exactly those. 2. **One window** — open them with a single `open -a Preview <path> <path> ...` call. One `open` invocation lands all the files in one window with a thumbnail sidebar; separate calls spawn separate windows. 3. **Caption them** — list one line per shot (what it is) so the user knows what they're flipping through.

Rules

  • macOS only (`open`); pass absolute or repo-root-relative paths.
  • Order the files most-important-first; the first one is what Preview shows on open.
  • Review saved PNG/GIF artifacts, not live Chrome. Exact regression capture

should run headless by default; only open Chrome when the user explicitly asks for a live browser or when reproducing a headful-only bug.

  • **One set at a time — never pile up windows.** Before opening a new set, close

any open ones: `osascript -e 'tell application "Preview" to close every window'`.

  • **Close on unattended proceed.** When you opened shots for a non-blocking review

and then move on without the user's response, close Preview afterward: `osascript -e 'quit app "Preview"'`. An overnight autonomous run must never wake the user to a wall of Preview windows — at most one set open, and none once you've proceeded past the checkpoint.

Read more
@dzhng
Ships withskills

AI skills for growing software farms. My personal library of domain-agnostic agent skills, reused across every project. Small, composable, and hackable — works with any harness that supports skills: Claude Code, Codex, opencode, Cursor, duet, and 70+ others.

Stars on GitHub

Momentum

stars in total
1.5k
Star history of dzhng/skills on GitHub, a chart by star-history.com

Other skills on skills.

audit-agents

audit-agents

Audit or rewrite AGENTS.md so it holds only lasting principles. Run it only when the user asks for it by name; never invoke it on…

@dzhng@dzhngInstall Skill
eval-skills

eval-skills

Eval and improve a skill against golden cases — run the target skill blind in a fresh, context-free subagent on each example…

@dzhng@dzhngInstall Skill
write-skills

write-skills

Create or revise agent skills. Use when adding a new skill file, renaming a skill, simplifying an existing skill, improving…

@dzhng@dzhngInstall Skill
cinematic-shot

cinematic-shot

Shoot software UI like a film. A sequence of hero shots, each a steep, oblique, extreme close-up of the interface floating in…

@dzhng@dzhngInstall Skill
isometric-motion

isometric-motion

Build animations and interactive elements (explainers, figures, hero visuals, step-through walkthroughs) in the crafted isometric…

@dzhng@dzhngInstall Skill
launch-video

launch-video

Make a showreel-grade motion-graphics launch video, with music, that introduces a CLI, library, or product from its repo. Use…

@dzhng@dzhngInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3w393k
@openclaw@openclawInstall Skill

Questions about preview-shots.

Which coding agents can use preview-shots?
preview-shots installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.