---
name: qa-review
description: Check a motion design video before delivery - contact sheets, text cut-off/overlap/size/contrast, glyph coverage, platform safe areas, cover crop, pacing, flashes, claims and banned phrases, loudness and voice/mix parity - and run an independent critic subagent that never saw the code. Use after scenes are built and before any video, cover or caption package is delivered, and after every revision.
license: MIT
title: qa-review
canonical_url: https://skilld.dev/gh/aykutucesai/motionforge/qa-review
last_updated: 2026-11-12T05:45:54.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references/critic.md](https://skilld.dev/api/skills-raw/aykutucesai/motionforge/qa-review/references/critic.md).
>
> If the user asked to install this Skill, run `npx skilld install aykutucesai/motionforge/qa-review`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/qa-review`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/aykutucesai/motionforge/qa-review) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/qa-review`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/qa-review --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/qa-review --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# QA review

The person who built a scene sees what they meant, not what is on the frame. This skill replaces "looks good" with numbers and an outside eye. Nothing is delivered with an open FAIL.

Write results to `videos/<slug>/qa/report.md`:

```markdown
Render: renders/<slug>-v<N>.mp4  sha256: <hash>   Date: <yyyy-mm-dd>
| id | status | evidence | note |
|----|--------|----------|------|
| T1 | pass   | ffprobe.json | h264 yuv420p bt709 1080x1920 30fps |
```
Status is `pass`, `fail`, `warn` (accepted with a written reason) or `pending` (needs a human). The report belongs to one render: record `sha256sum` of the file; any re-render makes the report stale and the checks run again (at least those touching changed scenes plus T*, A*).

## Order
1. Lint (see motion-director step 10) → 2. stills + sheet → 3. automatic checks → 4. look at the sheets yourself → 5. fix → 6. critic → 7. full render → 8. technical + audio checks on the final file → 9. human items.

## Contact sheets (always look at them)
```bash
python3 tools/contact_sheet.py renders/<slug>-v1.mp4 --every 0.5 --cols 6 --out qa/sheet.png --safe 220,1600   # time-stamped overview
python3 tools/contact_sheet.py renders/<slug>-v1.mp4 --every 1 --width 360 --out qa/phone.png                  # one frame per second at phone size
ffmpeg -pattern_type glob -i 'qa/stills/*.png' -vf "scale=270:-1,tile=6x3" -frames:v 1 qa/sheet.png          # stills only, before a full render
```
For the critic, also make a per-scene sheet: stills at the start, middle and end of every scene in `direction.json`, tiled in scene order. Read `qa/phone.png` as a viewer would: at 360 px wide, is every important word readable?

## Required checks

### Technical (on the final file)
| id | Check | How | Rule |
|---|---|---|---|
| T1 | stream spec | `ffprobe -v error -show_streams -show_format -of json <mp4> > qa/ffprobe.json` | H.264, yuv420p (not yuvj420p), BT.709 tags, planned size and fps, AAC 48 kHz, faststart |
| T2 | duration | same | audio and video durations differ by ≤ 0.15 s |
| T3 | black / frozen frames | `ffmpeg -i <mp4> -vf blackdetect=d=0.1,freezedetect=n=0.003:d=3 -an -f null - 2>&1 \| grep -E "black_\|freeze_"` | no unintended black; frozen stretches > 3 s need a reason |
| T4 | flashes | `ffmpeg -i <mp4> -vf signalstats,metadata=print:key=lavfi.signalstats.YAVG:file=qa/yavg.txt -f null -` | at most 3 large luminance swings (> 20% of range) per second |
| T5 | determinism | render one frame of a scene twice, compare `sha256sum` | identical |

### Text and frame
| id | Check | How | Rule |
|---|---|---|---|
| X1 | cut off / overlap / under UI | `node tools/textcheck.mjs <scene>/index.html` for every scene | no text clipped by the frame; overlapping text boxes ≤ 15% of the smaller box; nothing important under platform UI |
| X2 | size and contrast | textcheck output + sheet | 9:16 at 1080 wide: captions ≥ 48 px, headlines ≥ 64 px, nothing readable under 28 px; contrast ≥ 4.5:1 (≥ 3:1 above 40 px) |
| X3 | reading time | `node tools/readcheck.mjs <scene>/index.html --ignore caption` | each settled text block stays ≥ 1.5 s + 0.3 s per word (CJK: ≥ characters ÷ 4.5 + 1.5 s); captions ≥ 0.6 s per chunk |
| X4 | glyph coverage | glyph script below | every character of on-screen text exists in the font that renders it |
| X5 | safe areas | overlay sheet or textcheck | 9:16: content in x 60–1020, y 220–1600; nothing important at x > 940, y 900–1700; captions in y 1150–1500 |
| X6 | cover crop | `python3 tools/cover_safe_area.py renders/cover.png --boxes qa/cover-boxes.json` (boxes from `textcheck.mjs --dump`), or `--detect`; plus `contact_sheet.py --guide 3:4` | all cover text inside the 3:4 crop (y 240–1680 on 1080×1920); readable at 270 px wide |
| X7 | first frame | still at t = 0 | the hook is on screen at frame 0 as big text; no logo intro, no fade from black |
| X8 | last frame | still at the end | holds ≥ 1 s; closes the idea (result, rule, CTA); outro shows handle/site if the brand has them |
| X9 | generic look | sheet | no full-frame purple/blue gradient, no grid background, not every element fading in, not the same layout in every scene (unless the chosen style says otherwise) |
| X10 | real assets | sheet + `assets/CREDITS.md` | brand logos are the real files; screenshots are real or listed as mock; every third-party file has a license line |

**Glyph check (X4)** with fontTools (`pip install fonttools brotli`):
```bash
python3 - <<'EOF'
import json, sys
from fontTools.ttLib import TTFont
text = open("videos/<slug>/qa/onscreen.txt", encoding="utf-8").read()   # all on-screen text + captions
fonts = ["assets/fonts/Display-latin.woff2", "assets/fonts/Display-latin-ext.woff2"]  # every subset loaded
cmap = set()
for f in fonts: cmap |= set(TTFont(f).getBestCmap())
missing = sorted({c for c in text if not c.isspace() and ord(c) not in cmap})
print("missing:", "".join(missing) or "none"); sys.exit(1 if missing else 0)
EOF
```
For Turkish always include `ı İ ş Ş ğ Ğ ç Ç ö Ö ü Ü` in the test text. Also confirm the subsets' `unicode-range` declarations cover those code points (see motion-director building-scenes).

### Timing and story
| id | Check | Rule |
|---|---|---|
| P1 | cue sync | key words on screen within 3 frames of being spoken (sample 5 cues from `words.json` and render those stills) |
| P2 | no cut inside a word | scene boundaries fall in gaps between words |
| P3 | density | words per second per scene ≤ the language pace + 10% |
| P4 | dead stretches | nothing new for > 4 s only with a reason (T3 helps find them) |
| P5 | hook kept | the promise made in the first 3 s is paid off; the spoken hook and frame-0 text match |
| P6 | claims | every high-risk claim in `script.md` is confirmed, sourced, softened or removed; status recorded |
| P7 | banned phrases | script, on-screen text, captions, cover and `post.md` scanned against `skills/script-and-hooks/i18n/<lang>.md` and the brand's `words_avoid` |
| P8 | language | captions and on-screen text in the video language; register (formal/informal) consistent |

### Audio
| id | Check | How | Rule |
|---|---|---|---|
| A1 | loudness | `bash tools/loudness.sh measure <mp4>` | integrated within ±1 LU of target (−14 social, −16 when agreed); true peak ≤ −1 dBTP; no clipping |
| A2 | voice vs mix parity | `bash tools/loudness.sh compare audio/voice.wav audio/mix.wav` (warns past 3 LU); then measure the mix over a voice-only window and over a music-only window: `ffmpeg -ss <a> -to <b> -i audio/mix.wav -af ebur128 -f null - 2>&1 \| grep " I:"` | music-only stretches ≥ 8 LU below speech stretches; a voice stretch with music under it is within 1–2 LU of the same stretch in `voice.wav` after the final gain |
| A3 | footage vs TTS | same command on a presenter-footage window and a TTS window | within 1 LU; no level jump at the switch |
| A4 | start | voice starts within 0.3 s of frame 0 | the hook is heard immediately |
| A5 | listening | — | `pending` until the user has listened on a phone speaker; you cannot hear the mix |

### Human items (always `pending` until the user confirms)
- H1 final watch on a phone, sound on and off;
- H2 claims confirmed by the user where marked;
- H3 pronunciation of names and numbers.

## Fix loop
- Fix FAILs first, newest scene last. After a fix, re-run the checks for that scene and every check on the final file.
- A WARN stays only with a one-line reason in the report.
- When feedback names a timestamp, render that exact frame and look before editing.

## Independent critic (required)
After your own FIX list is empty and before the full render, run the critic in [references/critic.md](https://skilld.dev/api/skills-raw/aykutucesai/motionforge/qa-review/references/critic.md) as a **fresh-context subagent that never wrote or read the scenes, the code or the script**. It sees only the sheets and the 5-line brief. Fix each FIX it returns or answer it in writing in `qa/report.md`. If your environment cannot start a subagent, say so at delivery; do not role-play the critic in your own context.

## Delivery gate
Deliver only when: no `fail`, every `warn` has a reason, the critic ran (or its absence is reported), and the `pending` human items are listed in the delivery message.
