Communitygithub.com

Drama2557/4RealDigital-Video-Studio

HyperFrames CLI 開発ループを活用します。init、add、catalog、capture、lint、check、snapshot、compare、grade-compare、preview、play、present、beats、keyframes、単一またはバッチレンダリング、publish、cloud、cloudrun、feedback、lambda、doctor、browser、info、upgrade、skills、compositions、docs、benchmark、telemetry、transcribe、auth、tts、remove-background などのコマンドを使用します。ビルドやレンダリングの失敗を診断する際にも使用します。validate、inspect、layout は非推奨のエイリアスであり、代わりに check を使用します。ローカル、HeyGen ホスト型クラウド、AWS Lambda、Google Cloud Run でのレンダリングに対応します。

4RealDigital-Video-Studio とは?

このスキルは、HyperFrames CLI の完全な開発ループを日本語環境で利用できるようにします。ユーザーは `npx hyperframes` を使用して、プロジェクトの初期化、 lint、チェック、プレビュー、レンダリング、パブリッシュ、クラウドデプロイなど、ビデオ制作の全工程をコマンドラインから実行できます。このスキルは、スタジオプレビューでの最終承認後にのみレンダリングを許可するなど、厳格な品質ゲートとレビューループを重視しており、 `check` コマンドが自動的に `lint` を実行し、ブラウザ検査でランタイムエラーや WCAG コントラストを検証します。開発者は `--json` 出力や `doctor` コマンドを使用して CI/CD パイプラインに統合できるほか、AWS Lambda、Google Cloud Run、HeyGen クラウドを使用したサーバーレスレンダリングにも対応しています。また、サブコンポジションのスモークテスト、スタジオからの選択要素のクエリ、バグ報告時の再現パケット生成など、高度なワークフローをサポートし、 `beats`、`keyframes`、`present` などの特殊コマンドも提供します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Drama2557/4RealDigital-Video-Studio/tree/HEAD/.agents/skills/hyperframes-cli

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

HyperFrames CLI

特にプロジェクトの指示でラッパーが指定されていない限り、npx hyperframes ... としてコマンドを実行します。ラッパーが存在する場合はそれに従います。この CLI には Node.js 22 以降と FFmpeg が必要です。

開発ループ

  1. スキャフォールディング: npx hyperframes init <project> を実行するか、サイトをキャプチャします。非 TTY モードでは、--non-interactive --example=<name> を渡します。
  2. 作成: /hyperframes-core を使用してコンポジションを記述します。
  3. 編集中の迅速なフィードバック: 最初の HTML パス後、および構造変更後に npx hyperframes lint を実行します。
  4. 最終ゲートの実行: npx hyperframes check を実行します。このコマンドはブラウザを開く前に lint を再実行します。冗長なスタンドアロン lint 呼び出しを前置しないでください。注釈付きの概要フレームとクロップ検出のために --snapshots を追加します。
  5. サブコンポジションの検査: index.html が data-composition-src をマウントする場合、中間時点のスナップショットをキャプチャし、マウントされた各シーンを検査します。
  6. 最終スタジオプレビューを開く: npx hyperframes preview を実行し、タイムラインプロジェクトの URL をユーザーに渡し、修正するかレンダリングするかを尋ねます。
  7. 承認後にのみレンダリング: 反復処理にはドラフト品質を、納品には高品質を使用します。
  8. 出力の確認: ファイルが存在し、空でなく、妥当な長さであることを確認します。
# 高速な反復チェック。作成中に必要に応じて繰り返します。
npx hyperframes lint

# 必須の最終ゲート。lint を含みます。
npx hyperframes check
npx hyperframes preview
npx hyperframes render --quality high --output out.mp4
test -s out.mp4
ffprobe -v error -show_format out.mp4

check は最初に lint を実行し、その後、1 つのブラウザセッションと 1 回のシークパスを使用して、ランタイムエラー、失敗したリクエスト、レイアウト、*.motion.json アサーション、および WCAG コントラストを監査します。永続的な検出結果は終了コードに影響します。一時的な開始/終了の検出結果は情報提供のみです。--strict を使用して警告をゲートします。validate、inspect、layout は互換性のためにエイリアスとして残っていますが、新しい手順やスクリプトには使用しないでください。

2 つの異なるプレビュー画面

これらの状態を混同しないでください:

画面開かれる可能性のあるタイミング目的
ストーリーボードコンポジションチェック前、storyboard: yes の場合のみ計画カードとワイヤーフレームスケッチを確認します。?view=storyboard#project/<name> を開きます。
最終コンポジションプレビューcheck が合格した後レンダリング前に組み立てられたタイムラインを確認します。#project/<name> を開きます。

初期のストーリーボードは最終ビデオの承認ではありません。レンダリングには常に hyperframes-core/references/review-loop.md で定義された最終承認が必要です。

サブコンポジションのスモークテスト

静的監査ではすべてのマウント障害を捕捉できるわけではありません。プロジェクトがサブコンポジションを使用する場合、各ホストスロットに対して少なくとも 1 つの可視中間点をキャプチャします:

npx hyperframes snapshot --at <t1>,<t2>,<t3>

小さなスタイル未設定のコンテンツ、キャンバスサイズのアイコン、欠落したヒーロー要素、またはタイムライン登録のタイムアウトは、レンダリングをブロックするマウント欠陥として扱います。対応する修正については hyperframes-core/references/sub-compositions.md を参照してください。

エージェントの慣例

  • エージェントおよび CI 呼び出しでは --json を優先します。サーバーモードの render、preview、play は通常の JSON 出力を提供しません。preview --selection --json および preview --context --json はクエリモードの例外です。

  • doctor --json は常にゼロで終了します。そのペイロードでゲートします:

    npx hyperframes doctor --json | jq -e '.ok' >/dev/null
    
  • 非 TTY モードは自動です。init では --example が必要です。TTY で確定的な動作を強制するには --non-interactive を使用します。

  • 同じ検証ループ内のすべてのコマンドに 1 つの HYPERFRAMES_RUN_ID を使用します。

  • 対応する警告、変数、または CI 条件がレンダリングをゲートする必要がある場合は、--strict、--strict-all、--strict-variables を使用します。

  • JSON パスはホームディレクトリを $HOME として秘匿します。秘匿を元に戻そうとしないでください。

  • チェックが合格したという理由だけでレンダリングしないでください。最終プレビューで一時停止し、承認を待ちます。

スタジオ指示による編集

ユーザーが「この要素」や現在の選択範囲に言及する場合は、推測する代わりにスタジオにクエリします:

npx hyperframes preview --context --json --context-fields selection

可能な場合は selection.target.hfId を、そうでない場合はそのセレクタとソースファイルを使用します。結果が no-selection を報告する場合は、ユーザーに要素をクリックして再実行するよう依頼します。必要なコンテキストスライスのみを要求します。計算されたスタイルや編集可能なテキストメタデータには --context-detail full のみを使用します。完全な動作と障害コードは references/preview-render.md にあります。

レンダリングの選択肢

ニーズコマンド
高速なローカル反復npx hyperframes render --quality draft
最終ローカル納品npx hyperframes render --quality high --output out.mp4
再現可能なコンテナレンダリングnpx hyperframes render --docker --strict --output out.mp4
ローカル変数駆動のバッチレンダリングnpx hyperframes render --batch rows.json --output "renders/{name}.mp4"
HeyGen ホスト型ゼロインフラストラクチャレンダリングnpx hyperframes cloud render
自己管理型分散 AWS レンダリングnpx hyperframes lambda render <project> --width 1920 --height 1080 --wait
自己管理型分散 GCP レンダリングnpx hyperframes cloudrun render <project> --width 1920 --height 1080 --wait

ユーザーがローカルの Chrome、FFmpeg、AWS を必要とせずにホスト型レンダリングを希望する場合は、クラウドレンダリングを使用します。Lambda は AWS の所有権が要件である場合にのみ使用します。Cloud Run は GCP の所有権が要件である場合にのみ使用します。クラウドパスを実行する前に、対応するリファレンスを読んでください。

レンダリングが成功したことを確認した後、テレメトリが無効になっているか、ユーザーがオプトアウトしていない限り、1 つのフィードバックレポートを送信します:

npx hyperframes feedback --rating <0-10> --comment "<特定の結果または課題>"

問題なく動作した場合のフィードバックは簡潔にします。バグや課題がある場合は、提出前に再現パケットをキャプチャします。症状の要約のみを送信しないでください。再実行可能なコマンドと作業ディレクトリ、期待される動作と実際の動作、正確なエラー、出力が完了したか/フォールバックしたか/失敗したか、回避策、再現プロジェクトのステータスを含めます。評価が 7 以下で、視覚的な欠陥(黒いフレーム、ちらつき、破損した出力、間違ったフレーム、空白の出力、その他の視覚的異常)を説明する場合は、COMPOSITION_STRUCTURE: ブロックも含めます。これはプライバシーを保護した構造的な分析(要素のカウント + 属性の有無 + タイムラインの形状)であり、メンテナーがコンポジション ZIP なしで既知のバグファミリとパターンマッチングできるようにします。エージェントはコンポジションセンサスヘルパーを介してこれを自動入力します。人間のユーザーが手動で入力する必要はありません。問題が再現しなかった場合はその旨を述べ、最後に失敗したコマンドとログを引き続き含めます。--file-issue は同意がある場合にのみ使用します。これは最小限の再現を公開 URL に公開します。必須のパケット形式とプライバシーに関する警告は references/preview-render.md にあります。

コマンドを実行する前に対応するリファレンスを読む

以下のリファレンスと所有スキルは、必須のコマンド契約であり、オプションの背景情報ではありません。テーブル内のコマンドを実行する前に、対応する行を読んでください。

ニーズリファレンス
init、capture、skillsreferences/init-and-scaffold.md
lint、check、モーションサイドカー、snapshotreferences/lint-validate-inspect.md
compare、grade-compare、変数駆動 render --batchreferences/compare-and-batch.md
既存プロジェクトの Studio ビートグリッドに対する beatsreferences/beats.md
preview、play、render、publish、Studio コンテキスト、フィードバックreferences/preview-render.md
doctor、ブラウザ管理references/doctor-browser.md
auth、HeyGen ホスト型クラウドレンダリング、テンプレート変数references/cloud.md
AWS Lambda のデプロイとレンダリングreferences/lambda.md
Google Cloud Run のデプロイとレンダリングreferences/cloudrun.md
info、upgrade、compositions、docs、benchmark、テレメトリ、メディア前処理references/upgrade-info-misc.md

コンポジション変数については、/hyperframes-core → references/variables-and-media.md も読んでください。hyperframes add と hyperframes catalog については、/hyperframes-registry を使用します。hyperframes present の前には /slideshow を、hyperframes keyframes の前には /hyperframes-keyframes を読んでください。TTS、文字起こし、キャプション、または背景除去の選択肢については、/media-use を使用します。

特殊なコマンドは、所有するワークフローによって意図的に文書化されています:

npx hyperframes present <project-dir> --port 3004 --no-open
npx hyperframes beats <project-dir> --json
npx hyperframes keyframes <project-dir> --json

present は、プレゼンターとオーディエンスの同期を備えたナビゲーション可能なデッキを提供します。beats は references/beats.md で定義されているスタンドアロンの Studio ビートグリッドユーティリティです。keyframes はシークセーフなアニメーションとモーションパスの診断を提供します。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Drama2557/4RealDigital-Video-Studio

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

Drama2557/4RealDigital-Video-Studio

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

Drama2557/4RealDigital-Video-Studio

The technique catalog: five velocity-matched SEAMS (zoom-through, INVERSE zoom-through, cut-the-curve, waterfall cut, rack-focus blur-cut) plus the two in-scene techniques — waterfall ENTRY (staggered arrival cascades for title cards / segment openers) and the nudge curve (slow-fast-slow three-phase group slides). Covers partial-travel (~12% of frame) velocity matching via mirrored power4 eases, the Z scale-sign rule, size-scaled blur (10px text / 18-20px full-frame), word-by-word staggered cuts, cascade pacing by element weight, and the 10/65/25 slide ratio. Read before authoring any transition, text-beat handoff, kinetic text entry, or group reposition. [depth, zoom, inverse-zoom, scale-sign, mirrored-zoom, rack-focus, pacing, velocity, cut-the-curve, waterfall, stagger, cascade, kinetic-text, title-card, segment-opener, nudge, slide, easing, group-motion, z-depth, motion-graphics, cinematic, transition, blur, directional-continuity]

Drama2557/4RealDigital-Video-Studio

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.

Drama2557/4RealDigital-Video-Studio

Turn arbitrary text — an article, notes, a topic, a brief — into a faceless explainer video: there is no site or footage to capture, so the visuals are invented per scene (typography, abstract graphics, diagrams, data-viz). Use for topic explainers, concept breakdowns, how-tos, listicles. Not a video built from a website (/product-launch-video — promo or tour). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Import Figma content into a HyperFrames composition — rendered assets, brand tokens, components, storyboard sections → reconstructed motion (frames read as states, not slides) (REST/CLI), connector-assisted motion when available, and shaders from a connector or native export. Use when the user pastes a figma.com link or asks to bring a Figma design, frame, logo, brand, or animation into a video/composition.

Drama2557/4RealDigital-Video-Studio

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

Drama2557/4RealDigital-Video-Studio

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Also covers Tailwind projects and the STORYBOARD.md / SCRIPT.md plan formats. Read before writing composition HTML.

Drama2557/4RealDigital-Video-Studio

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

Drama2557/4RealDigital-Video-Studio

Install, discover, and wire registry blocks and components into HyperFrames compositions. Use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

Drama2557/4RealDigital-Video-Studio

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

Drama2557/4RealDigital-Video-Studio

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

Drama2557/4RealDigital-Video-Studio

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

House-style oversized macOS cursor technique for HyperFrames launch videos. Load whenever a scene involves cursors or a pointer-led action, when kicking off a UI scene, when igniting a morph/transition/typing run with a click, or when a scene reads as static, dead, or stale and needs a cheap high-yield source of motion to carry the viewer's eye and segment them out of the stale state. Covers cursor size/look (incl. brand-motif cursors), the off-screen entry law, tip-targeting and the click tap, click-ignites-the-next-beat, and exit / cross-scene handoff.

Drama2557/4RealDigital-Video-Studio

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Render-correctness doctrine for scene-to-scene seams in HyperFrames launch videos — the prerequisites that make transitions composite correctly on the master timeline. Load when assembling the master timeline / index.html, when a white flash appears at a cut or crossfade seam (especially on dark films), when reasoning about why a transition opacity dip shows through, or when verifying the render-side mechanics of how overlapping scene wrappers blend. Covers the opaque stage-ground (#root background) white-flash guard and how the injector overlaps wrappers, holds final frames, ping-pongs tracks, and stamps lint-clean template code onto the master timeline. Does NOT contain the per-transition catalog — see the transition registry for individual transition entries.

Drama2557/4RealDigital-Video-Studio

Author a HyperFrames slideshow — a presentation, pitch deck, or interactive deck with discrete slides, fragment reveals, branching, hotspot navigation, and built-in presenter mode with speaker notes; also converts an existing page into a deck. Output is a navigable deck, not a rendered MP4. If the user didn't explicitly ask for a slideshow, confirm before authoring. Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Package an existing talking-head / interview / podcast video with timed, designed GRAPHIC OVERLAY cards — kinetic titles, lower-thirds, data callouts, quotes, side panels, picture-in-picture — synced to the transcript, on a 16:9 / 9:16 / 4:5 canvas of your choice; the clip plays untouched underneath. Trigger on "graphic overlays", "on-screen graphics", "package / dress up my video". Not plain subtitles (/embedded-captions). Unclear → /hyperframes.

Drama2557/4RealDigital-Video-Studio

Agent skill / project related to launch or product demo video: Drama2557/4RealDigital-Video-Studio

関連スキル