Skip to content

feat(skills): add hyperframes-cli skill - #154

Merged
vanceingalls merged 4 commits into
mainfrom
feat/hyperframes-cli-skill
Mar 31, 2026
Merged

feat(skills): add hyperframes-cli skill#154
vanceingalls merged 4 commits into
mainfrom
feat/hyperframes-cli-skill

Conversation

@vanceingalls

@vanceingalls vanceingalls commented Mar 31, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Adds hyperframes-cli skill that teaches AI agents the CLI workflow: scaffold → lint → preview → render
  • Renames the dev command to preview across the entire codebase (22 files)
  • Registers the skill in init.ts so new projects get it bundled alongside hyperframes-compose and hyperframes-captions

Why

CLI skill: Without this skill, agents have no way to discover the CLI — the compose-video skill only covers HTML authoring. In a real session, an agent was asked to "open it in the studio" and resorted to searching for binaries, finding the monorepo via Spotlight, and running bun run studio manually. With the skill, agents correctly run npx hyperframes lint then npx hyperframes preview.

dev → preview: The command starts a preview server for viewing compositions. "preview" describes what users are actually doing more accurately than "dev".

Test plan

  • Skills linter passes (npx tsx scripts/lint-skills.ts)
  • oxfmt + oxlint pass
  • Zero remaining hyperframes dev references in .md, .mdx, .ts files
  • Subagent test: given "open this project in the studio", agent correctly lints then runs npx hyperframes preview
  • Verify hyperframes init bundles the new skill into .claude/skills/hyperframes-cli/
  • Verify hyperframes preview works end-to-end

🤖 Generated with Claude Code

Adds a new skill that teaches AI agents how to use the HyperFrames CLI
(init, lint, dev, render, doctor). Previously, agents had no way to
discover the CLI — the compose-video skill only covered HTML authoring.
This led to agents searching for binaries, finding the monorepo, and
running bun run studio manually instead of using npx hyperframes dev.

Also registers the skill in init.ts so new projects get it bundled
alongside hyperframes-compose and hyperframes-captions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
vanceingalls and others added 3 commits March 31, 2026 00:11
The command starts a preview server — "preview" describes what users
are doing more accurately than "dev". Updates the command name, file
name, all CLI references, docs, skills, and template CLAUDE.md.

22 files updated across CLI source, docs, skills, and templates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- testing-local-changes.mdx: two inline command examples
- troubleshooting.mdx: anchor link #dev → #preview, "dev server" → "preview server"
- cli.mdx: "dev server" → "preview server"

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vanceingalls
vanceingalls merged commit 9cbfec1 into main Mar 31, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants