audit-agents
Audit or rewrite AGENTS.md so it holds only lasting principles. Run it only when the user…
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
$ npx -y skills add dzhng/skills --skill preview-shots --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/preview-shotsContext preview
The summary Claude sees to decide when to auto-load this skill.
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
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.
Put the review-worthy images in front of the user in a single Preview window they can flip through.
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.
should run headless by default; only open Chrome when the user explicitly asks for a live browser or when reproducing a headful-only bug.
any open ones: `osascript -e 'tell application "Preview" to close every window'`.
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.
AI skills for building software factories. My personal library of domain-agnostic agent skills, reused across every project.
Repo: dzhng/skills
Audit or rewrite AGENTS.md so it holds only lasting principles. Run it only when the user…
Eval and improve a skill against golden cases — run the target skill blind in a fresh,…
Create or revise agent skills. Use when adding a new skill file, renaming a skill,…
Audit the choices an implementing agent made, not its diff — a pure decision audit that…
Audit and prioritize performance work through bounded-work and forward-progress checks. Use…
Audit whether tests earn their maintenance cost and which suite owns each contract. Use when…