feat: split lightweight HyperFrames default skill#608
Closed
miguel-heygen wants to merge 1 commit intomainfrom
Closed
feat: split lightweight HyperFrames default skill#608miguel-heygen wants to merge 1 commit intomainfrom
miguel-heygen wants to merge 1 commit intomainfrom
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
5c5ca04 to
be36f7d
Compare
be36f7d to
116cce8
Compare
116cce8 to
9337f21
Compare
9337f21 to
68d64b3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
HyperFrames should be discoverable as the default video path, but the existing default
skills/hyperframescontent was too heavy for default injection. It bundled the full production authoring workflow and implied CLI/runtime dependencies that are not safe to assume in every environment.What this fixes
skills/hyperframesas a lightweight default entry point with no bundled runtime dependency setup.optional-skills/hyperframesashyperframes-production.optional-skills/website-to-hyperframesbecause it depends on the full production guidance.hyperframes skillsnow passes--full-depth, and direct install docs/templates usenpx skills add heygen-com/hyperframes --full-depth.hyperframes doctor, FFmpeg/FFprobe, Chrome, Docker, and resources before trying heavyweight commands.skills/andoptional-skills/.Root cause
Default
skills/entries are bundled and discovered by default, so the full HyperFrames authoring skill made every default environment inherit production workflow guidance and dependency assumptions. The full skill is still useful, but it belongs behind optional discovery while the default skill should only provide routing, safe preflight, and the minimal composition contract.Explicit HyperFrames installs are a different user intent: those users are choosing the HyperFrames skill set, so the CLI and docs should install through
--full-depthand include the optional production workflows.Verification
Local
bun installnpx skills add . --listnpx skills add . --list --full-depthHOME="$(mktemp -d /tmp/hf-skills-home.XXXXXX)" npx skills add . --all --global --yes --full-depthinstalled 13 skills, includinghyperframes-productionandwebsite-to-hyperframesbun run lint:skillsbunx oxlint packages/cli/src/capture/agentPromptGenerator.ts packages/cli/src/commands/contrast-audit.browser.js scripts/lint-skills.tsbunx oxlint packages/cli/src/commands/skills.ts packages/cli/src/commands/skills.test.ts packages/cli/src/commands/init.tsbunx oxfmt --check README.md docs/quickstart.mdx docs/guides/prompting.mdx docs/guides/claude-design.mdx docs/guides/open-design.mdx docs/guides/claude-design-hyperframes.md docs/guides/website-to-video.mdx docs/packages/cli.mdx packages/cli/src/commands/init.ts packages/cli/src/templates/_shared/AGENTS.md packages/cli/src/templates/_shared/CLAUDE.md packages/cli/src/commands/skills.ts packages/cli/src/commands/skills.test.tsbunx oxfmt --check skills/hyperframes/SKILL.md skills/hyperframes-cli/SKILL.mdbunx vitest run packages/cli/src/commands/skills.test.tsbun run build:hyperframes-runtimebun run --filter @hyperframes/cli typecheckbun run --filter @hyperframes/cli testgit diff --checkgit diff --cached --checknpx skills add heygen-com/hyperframescommand without--full-depthNode floor check
util.styleText.util.styleText.util.styleText.--version,--help, anddoctorstart successfully.init demo --example warm-grain --non-interactive --skip-skillslint .render . --fps 24 --quality draft --workers 1 --output out.mp4 --quietBrowser
/skills/hyperframes/SKILL.md/optional-skills/hyperframes/SKILL.md/optional-skills/website-to-hyperframes/SKILL.md/packages/cli/src/commands/skills.tsagent-browserthat all required markers loaded, including the explicit--full-depthCLI install marker, the direct-install fallback hint, and the render-fail-fast instruction. The default skill is 3,553 bytes while the production guidance is optional.agent-browser errorsreturned no browser errors..codex-artifacts/lightweight-hyperframes-skill/default-skill-proof.png.ffprobe: 7.8s, 152984 bytes.Notes
The default skill does not install or download heavy dependencies. It tells agents to surface missing runtime requirements and only use
npx hyperframes browser ensurewhen Chrome is missing and the user explicitly wants the CLI-managed browser path.Existing users who already installed the previous full skill are not forced onto the lightweight skill. New default bundled users get the lightweight entry point; new HyperFrames-first users installing with the documented command get the optional production skills too. If someone uses an older direct install command without
--full-depth, the lightweight skill now tells agents to prompt them toward the full-depth install when they ask for detailed production authoring.