mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 07:50:13 +00:00
Every skill now starts the CLI through hyperframes/scripts/plugin-cli.mjs, which starts npm in the home folder. A standalone install, with no plugin manifest, runs the newest release that moves into HYPERFRAMES_PLUGIN_CWD. The skills no longer prefer a project's own wrapper over the CLI.
17 lines
1.5 KiB
JSON
17 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://context7.com/schema/context7.json",
|
|
"url": "https://context7.com/heygen-com/hyperframes",
|
|
"public_key": "pk_7ap9nKkdYKKdCjGDm5clY",
|
|
"folders": ["docs", "skills", "registry", "examples"],
|
|
"excludeFolders": ["docs/public", "**/tests", "**/test", "**/fixtures", "**/node_modules"],
|
|
"excludeFiles": ["weekly-updates.mdx"],
|
|
"rules": [
|
|
"Install the HyperFrames agent skills before writing a composition: `npx skills add heygen-com/hyperframes`, or in Claude Code `claude plugin marketplace add heygen-com/hyperframes` then `claude plugin install hyperframes@hyperframes`.",
|
|
"A composition is an HTML file whose root element has data-composition-id, data-width, data-height and data-duration. Timed elements use class=\"clip\" with data-start and data-duration.",
|
|
"Register one paused GSAP root timeline per composition on window.__timelines[\"<composition-id>\"]. The runtime seeks it frame by frame, so never play it yourself.",
|
|
"Rendering is deterministic: no Date.now(), no unseeded Math.random(), no network fetches at render time.",
|
|
"Run the CLI through the installed skills' launcher, `node <skills folder>/hyperframes/scripts/plugin-cli.mjs <command>`, in the project. `npx hyperframes` inside a project can start a program the project supplies, so never run it in a project someone else made.",
|
|
"Check before rendering with the CLI's `lint`, `check`, and `snapshot --at 1,3,5` for frames. Make the MP4 with `render --output video.mp4`."
|
|
]
|
|
}
|