reviewing-ffmpeg-skill-changes
БесплатноБез исполняемых скриптовНе проверенReview a change to the ffmpeg-skill repository for the failures its own contract makes possible — a claim in a result document that is true at one layer and…
от kajisho5★ 13 317 звёзд на GitHubОб этом скилле
Reviewing ffmpeg-skill Changes
This repository has an unusual failure mode, and a review that misses it looks
thorough while catching nothing. The product is a JSON result document that an
agent reads instead of watching the video. A change can be correct at the FFmpeg
layer, correct at the Python layer, and still ship a lie at the layer that
matters: status: "completed" next to a non-zero exit, verified: true for
something the tool never measured, a cut described as lossless when the keyframe
snap moved it 1.24 s. The 0.9.1/0.10.0 "honesty fix" (cut.py's mode /
keyframe_snapped / duration_delta_seconds, check.py's reason, render.py's
check-stage exit code) exists because three such claims shipped and were caught
after the fact. Review the claim, not just the code.
The second failure mode is re-reporting decisions. Three review rounds on
2026-09-12 re-reported entries in docs/design-decisions.md, which is why that
file exists.
Establish the review base first
Read the tree at the commit under review, not a summary of it and not your own working copy if it has moved.
git fetch origin && git log --oneline -1 origin/main
git diff --stat origin/main...HEAD # what the branch actually changes
git show origin/main:docs/design-decisions.md | head -40
git ls-tree --name-only origin/main docs/design-decisions.d/ # the decisions added since, one file each
At least one earlier review reported committed media that is not in git and colour flags that were already validated — both came from reading a summary rather than the tree. Before reporting any finding, name the file and line you read it at, and confirm the symbol still exists there.
Check the claim at the layer the caller reads
For every writing tool touched, trace the success document it prints and ask whether each field is something the tool measured.
| field | the review question |
|---|---|
status |
can this be completed while the exit code is non-zero? (die() must set failed) |
verified |
is it the conjunction of steps the tool actually ran, or an assumption? |
reencodes_* |
was a copy fallback taken and reported, or silently assumed not taken? |
dropped_non_av_streams |
did the timeline move (track must be dropped, true) or stay (kept, false)? |
keyframe_snapped, duration_delta_seconds |
for cut: is the measured divergence reported, not rounded away? |
mode |
does it name the path actually taken (copy vs re-encode)? |
error.kind |
input / ffmpeg / output / missing_tool / timeout / verification / interrupted — is it the one that happened? |
error.retryable |
must stay false; a true here invites a blind retry loop |
--dry-run claims matter too: info() rewrites wrote X to [dry-run] would write X, and analysis_only tools (check, sync, multicam, scenes,
cropdetect, report, silence, loudness, stabilize) do run FFmpeg to
measure. overlay is one only for a multi-line --text on FFmpeg 8.0, 8.0.1
or 8.1.0 (it measures each line on a generated frame); otherwise its dry run
runs no ffmpeg. probe is not one of them (ffmpeg_execution: none). A change that makes a writing tool print a write claim under
dry-run is a defect.
See references/result-honesty.md for the code pointers and the exact test names
that pin each of these.
Refuse to report what the repo already decided
Grep docs/design-decisions.md and docs/design-decisions.d/ before writing any "this looks wrong" sentence.
Each entry names the rationale and the test that pins it. If the change under
review is about one of them, the report must say which sentence there no longer
holds — otherwise it is a re-report and will be closed as one.
Also grep before claiming a gap, because several checks are centralised:
grep -rn "validate_color(" scripts/ # colour flags are validated at tool level, not per call site
grep -rn "apply_common()" scripts/ # --quality range check happens once, here
grep -rn "time_arg(" scripts/ # the single time parser; a tool parsing time itself is the bug
Score the change against the repository's rules
A change that is correct in isolation can still be unshippable here. Verify each applicable rule against the tree:
- Contract first.
python3 scripts/_contract.py --jsonis the source of truth for tool names, flags, dry-run semantics and error kinds.README.mdandSKILL.mdrestate it and are tested against it. A new flag that exists only in a script is half shipped; extend the generator, never hand-duplicate a schema. - Every surface, or it is not shipped. A
featupdatesREADME.md(tool table, contract table, gotchas),SKILL.md,references/scripts.md,docs/contract.mdandCHANGELOG.md. Seereferences/surfaces.md. SKILL.mdstays under 16,000 bytes and 180 lines — enforced bytest_skill_md_stays_under_its_byte_budgetand `tes
Установить reviewing-ffmpeg-skill-changes в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл reviewing-ffmpeg-skill-changes?
Review a change to the ffmpeg-skill repository for the failures its own contract makes possible — a claim in a result document that is true at one layer and false at the layer a caller reads, a new flag that reaches the code but not the contract/docs/demo surfaces, a "bug" that docs/design-decisions.md already decided with a pinning test, a fix with no regression test, a new runtime dependency or a raw ffmpeg shell call that breaks the scope boundary, a SKILL.md line added without one trimmed, a review that re-derives findings from a summary instead of the tree at the reviewed commit. Use when asked to review a PR or diff in this repository, when authoring code here and needing a pre-commit check, or when triaging an external review or audit report about this codebase.
Как установить скилл reviewing-ffmpeg-skill-changes?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reviewing-ffmpeg-skill-changes запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic