mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-11 06:30:03 +00:00
chore(skill): drop visual-vocabulary.md + use published npx hyperframes
- Delete `references/visual-vocabulary.md` and scrub the four call sites that referenced it. The 6-axis lookup framing it introduced contradicted the rest of the skill's "design from the brand, not from a table" stance. - Replace all `npx tsx packages/cli/src/cli.ts <cmd>` invocations with `npx hyperframes <cmd>` in step-0-capture.md, step-5-build.md, step-6-validate.md, and beat-builder-guide.md. The capture- and snapshot-pipeline improvements that previously required the local CLI now ship in the published CLI via the stack's PRs #987 and #988, so once the stack lands the published CLI is the right invocation for the skill prose. - Remove the now-contradictory "ALWAYS use the local CLI — never npx hyperframes" warnings in step-0-capture.md and step-6-validate.md.
This commit is contained in:
@@ -70,17 +70,15 @@ After lint and validate pass, capture snapshot frames to SEE your own output. **
|
||||
|
||||
Scale snapshot count to the video — not a fixed number. Formula: `max(beats × 3, ceil(duration_seconds / 2))`. A 3-beat 10s video: max(9, 5) = 9 frames. An 8-beat 60s video: max(24, 30) = 30 frames. Aim for at least 3 frames per beat: entrance, hold, and near-exit.
|
||||
|
||||
**⚠ NEVER use `npx hyperframes snapshot`.** The published CLI (0.6.6) is missing critical fixes: sub-comps load before capturing, local-time seek for last beats, Gemini vision descriptions. Always use the local CLI below or all beats after the first may appear black and descriptions.md won't be generated.
|
||||
|
||||
```bash
|
||||
# The local CLI auto-loads .env from the current working directory, so a
|
||||
# .env file in <project-dir> with GEMINI_API_KEY=... is enough — no explicit
|
||||
# export needed. If you've set GEMINI_API_KEY directly in your shell env that
|
||||
# also works.
|
||||
npx tsx packages/cli/src/cli.ts snapshot <project-dir> --frames <N>
|
||||
# The CLI auto-loads .env from the current working directory, so a
|
||||
# .env file in <project-dir> with GEMINI_API_KEY=... is enough — no
|
||||
# explicit `export` needed. If you've set GEMINI_API_KEY in your shell
|
||||
# environment, that works too.
|
||||
npx hyperframes snapshot <project-dir> --frames <N>
|
||||
|
||||
# Pass a custom question to Gemini instead of the default prompt:
|
||||
npx tsx packages/cli/src/cli.ts snapshot <project-dir> --frames <N> \
|
||||
npx hyperframes snapshot <project-dir> --frames <N> \
|
||||
--describe "Is the brand logo visible in every beat? Is any beat showing a black or blank frame?"
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user