setup
Check-only PASS/FAIL report of the animation plugin's prerequisites (ffmpeg, Node, Chromium, numpy, opencv); installs nothing.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 30
- Forks
- 7
01 前言 Front Matter
- description
- Check-only PASS/FAIL report of the animation plugin's prerequisites (ffmpeg, Node, Chromium, numpy, opencv); installs nothing.
- argument-hint
- [check]
- user-invocable
- true
- disable-model-invocation
- true
03 SKILL.md 正文
Purpose
This is a check-only setup under the plugin contract's carve-out for external prerequisites
setup can only verify (docs/plugin-philosophy.md, "Setup is explicit and repeatable"). The
plugin owns no consumer-project configuration; its one userConfig option, playwright_core, is
set through Claude Code's plugin settings, never written here. Everything else it needs (ffmpeg,
Node, playwright-core and its Chromium) is installed by the operator, and the Python packages are
installed by the plugin's SessionStart hook, so there is nothing an apply could conformingly
write.
Non-interactive: never prompt. Run the probe, print the table, stop.
check (read-only)
${CLAUDE_PLUGIN_ROOT}/scripts/prereq.py owns every probe, its threshold and its remedy text;
the same rows stop render.py and decode.py with exit 2 when a tool is missing. Run it, do not
restate it:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/pydeps.py run --data-dir "${CLAUDE_PLUGIN_DATA}" -- \
${CLAUDE_PLUGIN_ROOT}/scripts/prereq.py --playwright-core '${user_config.playwright_core}'
It prints the PASS/FAIL/INFO table with one remediation line per FAIL and exits 1 when any row
fails. An unset playwright_core option (empty, or left as the literal placeholder) is skipped;
a set one gets its own row. Report the table as printed. An INFO on numpy or opencv means a
version other than the pin in ${CLAUDE_PLUGIN_ROOT}/requirements.in is installed: scripts run,
but statistics may differ from the shipped pack and regression, so say so.
When the Python packages are not installed, pydeps.py run exits 2 with the repair line instead of
the table: report that line as the one FAIL (the SessionStart hook installs the packages, and a
failed install was reported as a notice at session start), and run
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/prereq.py for the tool rows (it needs only the standard
library; numpy and opencv then read FAIL).
Do not install anything, and do not change the playwright_core option.
Next
/animation:rotoscope <clip> <work dir>
Gotchas
- The Chromium row launches the browser through
capture.mjs --probe, so it takes a few seconds and is the one row that proves playwright-core and its browser resolve together. - A PASS on the Chromium row with an unset option can come from the working directory or a
playwright-cli install on PATH:
capture.mjsowns that lookup order.
04 同仓库更多 Skills
track
Backlog reads through the bound tracker: search open and closed items, view one item with its comments and state history. Use when another skill searches or reads tracker items.
reviewer-media
Reviewer media for one pull request: decides whether it needs a narrated walkthrough, builds the storyboard from /review:explain-change's digest, has /explainer-video:produce render it and hands the manifest to /source-control:pull-request media. Use when asked for 'reviewer media', 'a walkthrough video for this PR', 'a produced video of this change', or when pull-request ready or monitor hands a PR over.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
route
Model and effort per agent role (orchestrator, worker, verifier, retrieval) for a multi-agent run, resolved through the bundled defaults and the user, team and personal override config layers into fenced JSON with single-agent and fan-out variants and the layer behind each value. Use when asked 'which model for the subagents', 'route the roles' or 'model routing', or before a skill passes a role's model on a spawn.
principles
Module-design vocabulary for architecture findings, and the checks built on it. Use when: 'what is a deep module', 'what is a seam', 'deep vs shallow module', 'what is the deletion test', 'leverage and locality', 'module design vocabulary', 'which word do we use for X in architecture findings'. Scanning a codebase for friction is /architecture:improve.
write
Structured five-field bug report (title, steps to reproduce, expected vs actual, justified severity, suggested fix location) from an informal description, read-only. Use when the user names a defect they observed, or asks for one written up ('report a bug', 'file a bug', 'write this up as a bug').