/shotkit:visual-asset-criticfrom shotkit
Critiques AI-generated images against storyboard shots and prompts, producing structured revision notes with verdict, issues, and fix recommendations. Use for QA on AI visuals before committing.
Ships in shotkit. 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.
Read when SKILL.md points to them.
You are the editorial second-eye on AI-generated images. Most teams don't have one, they generate, glance, accept, and ship. This skill is the structured review pass that catches what a tired creator misses.
The output is a critique with concrete, actionable revision notes. Not vibes. Not "looks good." Specific, prompt-level or post-level fixes.
Trigger when the user:
shots.json shot reference and wants QAAfter ./install.sh, the validators and helpers are in ~/.claude/shotkit-tools/ and the
brand packs are in ~/.claude/shotkit-brand-packs/. A --project install puts both
under ./.claude/ instead. From a repo clone they are tools/ and brand-packs/. The
commands below give the installed path first and the clone path second. They need no
setup: sk runs each tool and supplies the two Python packages the validators use.
Two artifacts from every review, always both: a human-readable markdown critique (the primary surface) and a machine-readable critique JSON (so a pipeline can gate on the verdict instead of parsing prose). The JSON is detailed in Step 6; it never replaces the markdown.
The JSON goes to output/critiques/round-{N}/{shot_id}.critique.json. One file per shot
per round, never a shared filename. A 12-shot project reviewed over three rounds writes 36
critiques, each at its own path, so no review overwrites another.
The markdown critique uses these sections:
## Verdict
ACCEPT / REVISE / REJECT, one line
## What's working
2–4 specific positives. Concrete observations, not flattery.
## What's not working
2–5 specific issues. Each one cites a layer. Brand Lock, Series Lock, Shot Spec, Composition, Technical, or Continuity.
## Revision plan
For each issue, the fix:
- Prompt-level (re-roll with this change to the prompt)
- Post-level (acceptable to address in editing/compositing)
- Re-roll required (no prompt fix; budget 2–3 attempts)
## Confidence
HIGH / MEDIUM / LOW, how sure you are about the verdict
You need:
| Input | Required? | Default if absent |
|---|---|---|
| The generated image | Yes | Cannot critique without it |
| Shot ID + shots.json | Recommended | If absent, ask for shot intent in a sentence |
| brand-lock.snapshot.md | Recommended | If absent, critique only on technical merits |
| The original prompt used | Helpful | If absent, infer from intent |
If only the image is provided with no context, ask for one piece of information: what was this shot supposed to be? A single sentence is enough to anchor the critique.
What was this shot supposed to do? Pull from:
rationale field (if shots.json provided)subject, framing, angle, motion fieldsIf you can't establish intent in one sentence, ask. Don't critique blind.
Read references/critique-rubric.md for the full rubric. Quick version, check the image against:
For each layer, note: pass / soft fail / hard fail. The verdict aggregates these.
A plan with scenes and locks comes from long-form-architect. The viewer sees the
same face forty times, so a frame is judged against the pictures it has to match, not
only against its own shot spec. A frame can be a good picture and still fail.
For a shot in a scene, a wrong person, place, prop or light is logged once, under Continuity. Layer 2 (Series Lock) is not run for those things on a scene shot. It still runs for a shot with no scene.
Open each of these at full size beside the frame, one at a time:
image
names, or else locks/<lock id>.<ext>. Is it the same person: the face, the hair,
the build, the clothes? Is a mark that sits on one side on the same side? Is the prop
the same object, the place the same room?derives_from. Same light from the same
side, same room, same weather, and each person on the side and in the place the
scene's who gives them. A person does not change chairs between two shots. A shot
with no derives_from in a scene that has a master may list it as a neighbour.states say what changes and from which scene. A ring
worn one scene early is a continuity break. When the frame shows the correct new
state, the lock entry holds and its note names the state. When the state is wrong,
the lock entry does not hold.Compare with the picture that stands now: the lock's current picture and the master's
newest frame. validate_provenance.py fails an ACCEPT held against a replaced picture. A
master that is itself REVISE is not a reference. Review its coverage after it is made
again.
The look lock is not listed under compared_to. When it has a picture, look at it
beside the frame all the same.
For each picture, answer one question: does it hold? "Holds" means a viewer would take it
for the same person, place or thing. A small drift that holds is a minor Continuity
issue. A break is "holds": false with a major issue, even when a grade, a crop or a
flip would fix it. The rubric's rule that a hard fail a crop or a grade fully fixes is
minor does not apply to Continuity. A break is blocking only when no fix can be named
short of making the lock picture again. A major break makes the verdict REVISE. The
issue names the lock and says what differs: "lock_tomas: the darn is on the right elbow,
the lock picture has it on the left."
Do not compare against a lock that has no picture yet. Say that you could not: in the
markdown, and in the JSON as "meta": {"not_compared": ["lock_tomas"]}. No tool reads
meta.not_compared. It is a note for the reader.
Rules for the cases that come up:
minor Series Lock issue whose
fix is to make the lock picture again or change the sentence. This is the one Series
Lock issue a shot in a scene can carry. Do not fail frames for it.light, weather and who.
A side named there ("from the right") is the side of the screen."holds": false on the
frame that departs from the lock or the master. The frame beside it gets
"holds": true and a note. Otherwise a good frame is sent back for its neighbour's
fault. The same goes for a frame that is right where its master is wrong: the lock
picture decides, the frame holds, and the note names the master as the one at fault.note of each compared_to entry, and name both pictures in the issue. Counting
it twice can turn a REVISE into a REJECT.note says what was hidden, and no issue is raised.minor on a still that stands in for a shot to be filmed, a hard fail on a
generated shot that will be in the piece where a viewer could tell. Readable words
that differ from the lock or the plan are a Continuity issue.For every "not working" point, the critique must say what to do about it. Three buckets:
Prompt-level fix, change the prompt and re-roll. Specify the exact change:
"The character has brown hair instead of salt-and-pepper. Add 'salt-and-pepper hair' verbatim from series_lock to the prompt, it's missing in the current prompt."
Post-level fix, acceptable to address in compositing. Specify what:
"Color grade is slightly cool, push warmth +5 in post, no need to re-generate."
Re-roll required, no prompt fix will help; the generator just produced a bad sample. Budget 2–3 attempts:
"Hands are mangled. This is a known Flux failure mode; re-roll 2–3 times with same prompt and pick the best."
| Verdict | When |
|---|---|
| ACCEPT | All layers pass or soft-fail in ways post can fix |
| REVISE | One or two layers hard-fail; clear fix path |
| REJECT | Three+ layers fail or one critical layer (Brand Lock, Series Lock) hard-fails with no clear fix |
This table is a summary. The verdict is derived from the severities by the gating rule in Step 6, and where the two differ the gating rule decides.
Be honest about uncertainty:
| Confidence | When |
|---|---|
| HIGH | Storyboard reference + brand-lock + prompt all available, clear assessment |
| MEDIUM | Some references missing but core intent is clear |
| LOW | Only the image, intent is inferred; verdict is your best guess |
HIGH is a factual claim about what you had, not a mood. validate_critique.py
rejects a critique at 1.1 or later that claims HIGH while shot_id, brand_lock_ref, or
prompt_ref is null, because that combination says the three inputs HIGH depends on were
not there.
After writing the markdown critique, also write
output/critiques/round-{N}/{shot_id}.critique.json conforming to
templates/critique.schema.json at version 1.1, or 1.2 for a shot in a long piece
(below). Same review, two surfaces. The markdown
is for the human; the JSON is so a scripted QA loop (e.g. visual-prompt-forge revision
mode) can act on the verdict without parsing prose.
Map the markdown to the schema, section for section:
| Markdown | JSON field |
|---|---|
## Verdict | verdict (ACCEPT / REVISE / REJECT) |
## What's working bullets | working[] (one string each) |
## What's not working + ## Revision plan | issues[], merge them: each issue carries its layer/note from "what's not working" and its fix_type/fix from the matching revision-plan line |
## Confidence | confidence (HIGH / MEDIUM / LOW) |
Provenance, all of it required at 1.1. A verdict is a claim about specific bytes. Name them, and hash them:
| Field | Value |
|---|---|
run_id, round | from run.json and the round directory you are writing into |
created_at | UTC instant, YYYY-MM-DDThh:mm:ssZ |
shot_id | the shot, or null for a standalone image with no storyboard |
image_ref, image_sha256 | the frame you reviewed, and its SHA-256 |
prompt_ref, prompt_sha256 | the prompt file it came from, and its SHA-256 |
media_ref | only for the user's own photo or clip: its id in media/media.json, for example m03. Then prompt_ref, prompt_sha256, generator, model_version and seed are null, and confidence may still be HIGH |
brand_lock_ref, brand_lock_sha256 | the snapshot you judged against, and its SHA-256 |
generator, model_version | the generator id from _capabilities.json, and its model version |
seed | if the generator exposes one, else null |
shasum -a 256 output/frames/round-1/shot_03.png \
output/prompts/round-1/flux.txt \
output/brand-lock.snapshot.md
Every one of those fields is required, and every one is nullable. That combination is
deliberate: null records that an input genuinely was not available, while a missing field
records nothing at all. If you did not have the prompt, write prompt_ref: null and drop
your confidence to MEDIUM. Do not omit the key.
The hashes are the point. Without image_sha256, a frame regenerated after this review
still satisfies image_ref, and a stale ACCEPT sails through the gate attached to a file
nobody looked at.
A shot in a long piece: version 1.2 and compared_to. Record every picture you held
the frame against, with its hash and your answer:
"version": "1.2",
"compared_to": [
{ "kind": "lock", "id": "lock_tomas", "image_ref": "locks/lock_tomas.png",
"image_sha256": "…", "holds": false, "note": "the darn is on the right elbow" },
{ "kind": "master", "id": "shot_003", "image_ref": "frames/round-2/shot_003.png",
"image_sha256": "…", "holds": true }
]
compared_to is valid only in a 1.2 critique. validate_critique.py rejects it on
1.0 or 1.1.
kind is lock, master or neighbour. An entry with "holds": false needs a
Continuity issue of major or blocking severity, so it can never sit beside ACCEPT.
The hash matters for the same reason the frame's does: a lock picture is sometimes made
again, and every ACCEPT given against the old one is then a verdict about a picture that
is gone. A lock entry names the lock's current picture, and a master entry the
master's newest frame. For a shot in a scene, validate_provenance.py fails an ACCEPT
that skipped a lock with a picture on disk, that skipped the master its derives_from
names when that master has a frame, that was held against a superseded lock picture or an
old round of the master, or whose picture has changed since. A shot that names no locks,
or a lock with no picture yet, owes no comparison.
Severity, assign one per issue. This is the field the gate runs on, so map it from the layer rubric deterministically:
| Severity | Means | Maps from |
|---|---|---|
minor | soft-fail, fixable in post | a soft-fail on any layer; fix_type: post-level |
major | hard-fail with a clear fix path | a hard-fail that a prompt change or re-roll fixes |
blocking | hard-fail on a critical layer (Brand Lock / Series Lock) with no clear fix, or a defect that makes the asset unusable | an unrecoverable hard-fail |
Gating rule, the verdict is derived from severities, not chosen freely. This guarantees the markdown verdict and the JSON verdict always agree:
blocking issue ⇒ verdict is REJECT.major issues ⇒ verdict is REJECT.major issues (and no blocking) ⇒ verdict is REVISE.minor issues, or none ⇒ verdict is ACCEPT (with post notes).The three-major rule is a threshold, not a judgement call, and it matches
references/critique-rubric.md. The validator enforces it.
Pick the markdown ## Verdict by this same rule.
Writing a schema-valid critique is not the same as passing the gate. Run it:
~/.claude/shotkit-tools/sk validate_critique.py output/critiques/round-1/shot_03.critique.json
# from a repo clone:
# tools/sk validate_critique.py output/critiques/round-1/shot_03.critique.json
Or check the whole tree at once, which also recomputes every hash against the files on disk:
~/.claude/shotkit-tools/sk validate_provenance.py output/
# from a repo clone:
# tools/sk validate_provenance.py output/
This step is not optional and it is not someone else's job. A critique that says ACCEPT
while carrying a major issue is a bug, and the only reason to write a validator for that
bug is to actually run it on the critiques you write, not only on the fixtures in the repo.
Worked examples: examples/critique.accept.json and examples/critique.revise.json show
the shape at version 1.0, which is still valid and carries no provenance.
examples/worked-run/critiques/ shows version 1.1 with real hashes, two shots across two
rounds. For version 1.2 with compared_to, see the reviews in
skills/long-form-architect/examples/the-orchard-three-scenes/critiques/.
"Looks great" / "feels off" without specifics is not a critique. Every observation must reference something in the image (composition, color, anatomy, lighting direction, etc.).
"Change the prompt" is not a fix. "Add 'salt-and-pepper hair' to the character anchor, it's currently missing" is a fix.
If the brief was "founder at laptop, calm mood" and the generation delivered exactly that, don't note that "the room could be more visually interesting." That's scope creep, not critique.
Some failures (mangled hands, weird eye reflections, jewelry shimmer) are known generator weaknesses. Surface them as such, don't pretend a different prompt will fix them. Recommend re-roll or post.
Generation is one stage in a pipeline. If the image is 80% right and the gap is fixable in post, that's an ACCEPT with post notes. Don't send the user back to re-generate when an editor would handle it in 90 seconds.
This rule does not apply to identity in a long piece. In doubt whether it is the same person, place or prop: REVISE.
references/critique-rubric.md, the full layer-by-layer rubricVerdict
REVISE
What's working
- Composition correctly reserves the right two-thirds for text overlay (matches shot_03 rationale)
- Lighting direction matches series_lock (window-left, warm afternoon)
- Mood reads as calm/considered, on-brand
What's not working
- Series Lock, character mismatch. The character has brown hair, but series_lock specifies "salt-and-pepper." This is a verbatim-anchor failure.
- Technical, left hand. Hand on the laptop has six fingers (Flux known failure mode).
- Shot Spec, framing. Generated as MS but spec called for MCU. Subject is too small in frame.
Revision plan
- Hair: Prompt-level. Add "salt-and-pepper hair" to the character anchor in the prompt, currently missing. Re-roll.
- Hand: Re-roll required. Generate 2–3 more times with same prompt and pick a clean one.
- Framing: Prompt-level. Change "medium shot" to "medium close-up" in the prompt. Re-roll.
Confidence
HIGH
After every pass, re-render the board so the user sees the result without opening files:
~/.claude/shotkit-tools/sk board output/
# from a repo clone:
# tools/sk board output/
A live board (sk board output/ --serve) reloads by itself. If no board is open yet,
add --open.
After delivering the critique, if the verdict is REVISE, offer:
"Want me to draft the revised prompt? Point
visual-prompt-forgeat this output tree in revision mode and it will re-emit prompts for just the shots that need them."
If the verdict is REJECT, do not offer that. REJECT means a blocking issue or three or more major ones, which is a failure with no clear fix path, and revision mode is built to stop there and ask. Say what blocked it and what decision it needs: a changed shot spec, a changed brand-lock, or a different generator.
Don't auto-revise. The user picks. The critique you just wrote is exactly what closes that loop.
examples/critique.accept.json (opens in a new tab)examples/critique.revise.json (opens in a new tab)examples/worked-run/brand-lock.snapshot.md (opens in a new tab)examples/worked-run/critiques/round-1/shot_01.critique.json (opens in a new tab)examples/worked-run/critiques/round-1/shot_02.critique.json (opens in a new tab)examples/worked-run/critiques/round-2/shot_02.critique.json (opens in a new tab)examples/worked-run/frames/round-1/shot_01.png (opens in a new tab)examples/worked-run/frames/round-1/shot_02.png (opens in a new tab)examples/worked-run/frames/round-2/shot_02.png (opens in a new tab)examples/worked-run/preview.html (opens in a new tab)examples/worked-run/prompts/round-1/flux.txt (opens in a new tab)examples/worked-run/prompts/round-2/revised-flux.txt (opens in a new tab)examples/worked-run/run.json (opens in a new tab)examples/worked-run/shots.json (opens in a new tab)examples/worked-run/text-overlays.json (opens in a new tab)references/critique-rubric.md (opens in a new tab)templates/critique.schema.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
ai-image-review, visual-qa, image-critique, storyboard, revision-notes
npx claudepluginhub whystrohm/shotkit --plugin shotkit7 skills in this plugin
/brand-lock-extractorExtract a production-ready brand-lock.md from a brand's existing assets. Point it at a website URL, a brand book PDF, screenshots, or a written description and it produces the nine-section brand-lock the rest of shotkit consumes, with a confidence and source noted for every value. Use when the user wants to onboard a brand, says "build a brand lock", "extract my brand", "make a brand pack from my site", or hands over brand assets. The cold-start killer that turns a blank brand-pack template into a filled, validate-ready file. Pairs with storyboard-architect downstream./long-form-architectPlan a long video from an idea, a treatment or a script. Use for a trailer, a short film, a single scene with dialogue, an episode opening, a documentary short, a brand film or a music video, or any video past about 90 seconds, and when the user says "plan the film", "break down this script", "shot list for this scene", "plan the shoot" or "storyboard the trailer". Asks its questions first, then writes the story, the sections, the scenes with their coverage, the lock list for people, places and props, and a shot list with a source for every shot (to film, own footage, to generate). Produces story.md plus the same run files as storyboard-architect, so the board, the prompts and the checks work on it unchanged. It plans the piece; it does not render it./shotkitRun the whole Shotkit pipeline from one line of brief and open the board. Use when the user types /shotkit, or asks to "plan a video", "storyboard this and show me", "make a shot plan with prompts", or wants a storyboard, the prompts for their image or video generator and one page to see it all on. Also use when the user points at a folder of their own photos and clips, or says "use my footage", "make a video from these", "what can we make from this shoot". Plans the shots, writes the prompts, renders the board and opens it in a browser. A trailer, a film, a scene or anything past about 90 seconds is planned in scenes, after a few questions. For one step only, such as prompts for an existing shots.json or a check of one frame, use that step's own skill./storyboard-architectTurn a video brief into a storyboard and shot list with shot specs, timing, on-screen text and per-shot rationale. Use when the user asks for a storyboard, a shot list, shot-by-shot beats or structured pre-production for a video, or hands over a script or concept to break into shots. Produces run.json, storyboard.md, shots.json, text-overlays.json and brand-lock.snapshot.md. It plans the video; it does not render it. Pairs with visual-prompt-forge, visual-asset-critic and storyboard-html-preview./storyboard-html-previewRender a shotkit storyboard (shots.json, text-overlays.json, brand-lock.snapshot.md) into one self-contained HTML preview that a reviewer can open, share or print. Use when the user asks to preview, share, export or print a storyboard or shot list, for example "preview the storyboard", "share this storyboard", "export the storyboard to HTML" or "a print version of the shot list". A request to share, export or print something that is not a storyboard is not for this skill. It runs when the user asks for it; storyboard-architect offers it and does not start it./visual-prompt-forgeWrite model-specific image and video prompts for the shots in a storyboard or shot list (shots.json). Outputs copy-paste-ready prompts for stills (Midjourney, Flux, Ideogram, GPT Image, Nano Banana, Seedream) and motion video (Kling, Veo, Seedance, Hailuo), and a revision mode that reads critiques and re-emits prompts for only the shots that failed. Use when the user asks for prompts for their shots, storyboard or shot list, hands over shots.json, or asks to apply a critique to failed shots. Naming a generator is not enough on its own; the request has to be for prompts for storyboard shots. Composes with storyboard-architect upstream and visual-asset-critic downstream.Other plugins' skills for the same job