Hbg Douyin Code Explainer Videoのロゴ

Hbg Douyin Code Explainer Video

コミュニティ
Mr-funny
hbg-douyin-code-explainer-video

Create and quality-gate Chinese 9:16 Douyin explainer videos using deterministic HTML/CSS/SVG/GSAP in HyperFrames, dialogue-aware local Qwen or Edge TTS, global Whisper alignment, speech-synced visuals, continuous transitions, stable instrumental BGM, and final encoded-media inspection. Use for commentary, educational formulas, workplace or growth scripts, faceless code-generated videos, or fixing portrait sizing, element alignment, premature reveals, blank transitions, narration sync, BGM pumping, or visual-continuity defects.

概要

公開者Mr-funny
リポジトリhbg-douyin-code-explainer-video
スキル名hbg-douyin-code-explainer-video
スター
33
フォーク
4
同梱ファイル
7
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 7個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    Mr-funnyがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Hbg Douyin Code Explainer Video」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Mr-funny/hbg-douyin-code-explainer-video/tree/main
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Mr-funny/hbg-douyin-code-explainer-video.git \
  .claude/skills/hbg-douyin-code-explainer-video
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでHbg Douyin Code Explainer Videoを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にHbg Douyin Code Explainer Videoを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Hbg Douyin Code Explainer Videoは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Douyin Code Explainer Video

Produce a complete vertical explainer from copy to final MP4. Treat visual QA as a delivery gate, not an optional polish pass.

Required companion skills

Read and apply the available HyperFrames authoring, HyperFrames CLI, GSAP, and code-video visual QA skills before editing a composition. Read HyperFrames typography, captions, motion, and transition references when required by those skills.

1. Normalize and analyze the copy

  1. Preserve the author's argument and conversational tone.
  2. Correct obvious ASR errors, malformed terms, punctuation, formulas, units, and factual prerequisites before TTS.
  3. For mathematics, distinguish spoken text from display notation. Example: speak “P,在失败的条件下,你不行” while displaying P(不行 | 失败).
  4. Identify every voice turn. Assign audience questions, quoted objections, and conversational prompts to the female voice when appropriate; assign explanation and synthesis to the male voice. Do not mechanically alternate voices.
  5. Default voices: Qwen CustomVoice Vivian for female and Uncle_Fu for male. Do not show the word “旁白”.
  6. Split into one semantic unit per segment. A segment should normally support one visual claim and one caption/progress interval.
  7. Create a storyboard before HTML. Record the spoken line, display copy, speaker, visual metaphor, geometry risks, and intended scene duration.

2. Generate continuous dialogue TTS

Read references/audio-pipeline.md before generating or mixing audio.

  1. Prefer the user's local Qwen CustomVoice model when it is healthy. Default voices are Vivian for female prompts and Uncle_Fu for male explanation. Use Edge TTS when the user requests it or Qwen long-block generation exceeds the measured guard.
  2. Generate complete semantic speaker turns, not visual-shot clips. Keep female/male turns as hard boundaries. Split only at genuine argument or chapter boundaries.
  3. Export a block manifest containing backend, voice, text, generation mode, duration, and speaker gaps. Never label stitched fallback audio as continuously synthesized.
  4. Apply the requested speed exactly once. Defaults: Qwen final track 1.3×; Edge +20%. Do not scale planned scene boundaries and assume they are final.
  5. Run one global open-source Whisper pass on the actual final-speed narration with word timestamps. Prefer whisper-large-v3-turbo, condition_on_previous_text=false, and an initial prompt containing names, formulas, and critical numbers.
  6. Align Whisper back to the complete scene list, regardless of scene count. Keep the corrected source script as display text; use Whisper for timing and spoken-content verification.
  7. Perform an explicit LLM review of every scene, speaker boundary, missing/repeated/truncated phrase, critical number, technical term, and probability direction. A high global similarity never overrides a failed scene.

3. Define the visual system

Create and read a project-local DESIGN.md before HTML. Unless the user specifies otherwise, use a warm editorial teaching-note aesthetic: warm paper background, charcoal structure, one orange accent, bold Chinese type, monospaced numbers, simple SVG diagrams, and no photographs or generated imagery.

Hard format requirements:

  • Canvas: 1080 × 1920, 24 fps, 9:16.
  • Critical safe area: at least 72px left, 120px right, 130px top, and 300px bottom.
  • Keep formulas, subtitles, labels, and small data away from platform controls.
  • Use code-only HTML/CSS/SVG/Canvas/GSAP. Do not use image or video generation tools.

4. Build layout before animation

  1. Build and inspect the fully visible hero frame for every scene first.
  2. Use a full-size flex/grid content container with padding. Reserve absolute positioning for decoratives and tightly controlled diagrams.
  3. Put coupled geometry in one SVG or one common positioned parent. Declare exact invariants for shared centers, baselines, arrow endpoints, chart baselines, contact surfaces, and contained labels.
  4. Never accept “looks close” for a relationship that carries meaning.
  5. Add entrances with gsap.from() after the static layout is correct.

5. Synchronize motion to speech

  1. Start each scene shortly before its first spoken word.
  2. Keep at least one meaningful visual action alive throughout each spoken segment: drawing, counting, highlighting, moving a marker, filling a bar, tracing an arrow, or advancing a bottom progress line.
  3. Do not let the main action finish early and leave a long static hold. Do not reveal conclusions, final numbers, or later-scene elements before the related words.
  4. Treat every result-bearing text component as a semantic reveal, including takeaway pills, badges, labels, headers, footnotes, and captions. If it contains a conclusion or final number, remove it from the generic scene entrance and assign it the same explicit phase as the matching visual payoff.
  5. Do not rely on a future gsap.from() tween to keep payoff elements hidden before its start. At scene preparation time, explicitly set phased elements to opacity: 0, then reveal with deterministic fromTo() tweens. Capture a frame immediately before and after every payoff phase.
  6. Use one visual per sentence or logical unit. If a line changes subject, change or recompose the visual.
  7. Caption only the current segment. Keep one caption group visible at a time and hard-kill it at segment end.
  8. Never add a visible “旁白” label.

6. Preserve continuous scene handoffs

Use a continuous horizontal page-push as the primary transition. At every transition midpoint, outgoing and incoming pages must jointly fill the canvas.

  • Never place a full-screen blank mask above both scenes.
  • Never fade the outgoing content away before the transition.
  • Never allow black, empty paper, or decorative-only frames between semantic scenes.
  • Ensure the incoming scene already contains valid background and content while entering.
  • Use one primary transition for 60–70% of changes and restrained accents only for real topic shifts.

7. Add audible instrumental BGM

Use a project-local instrumental track. It should remain clearly audible without pumping louder and quieter around every phrase. Reuse scripts/mix_bgm.sh unless the project has a tested equivalent. Its default stable mode uses equal-power crossfaded loops and constant whole-track gain; use optional ducked mode only when the music masks speech. Keep alimiter with level=false.

Before mixing, run edge-silence detection on the source music. Trim padded or unsuitable edges with BGM_TRIM_START_SECONDS and BGM_TRIM_END_SECONDS, then choose a musically coherent loop section. Re-run silence detection and loudness inspection on the final MP4 and reject unexplained gaps or level jumps.

8. Run the mandatory QA gates

Read references/qa-checklist.md and complete every applicable check.

  1. Automated pass: run HyperFrames lint/check/inspect/animation-map and fix errors; review warnings and dead zones.
  2. Source-frame pass: capture one hero frame per scene, every transition midpoint, and before/mid/after frames for each high-risk relationship. Open suspicious frames at full resolution.
  3. Final-media pass: render the encoded MP4, then repeat high-risk frame inspection from that MP4. Run scripts/final_media_qa.sh for resolution, fps, duration, blank frames, silence, loudness, peak, hashes, and full-resolution extraction of optional named risk timestamps.
  4. Verify the full video stream at accelerated playback for content continuity. Every spoken segment must have a matching visual with no interruption.

Do not declare completion if only automated checks passed, if only source frames were inspected, or if the final encoded video was not checked.

Revision rule

When a defect is found, invalidate the previous render, fix the source, recapture neighboring frames, rerender, and write a new revision filename. Never overwrite an older review render.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Hbg Douyin Code Explainer Video」では何ができますか?

Create and quality-gate Chinese 9:16 Douyin explainer videos using deterministic HTML/CSS/SVG/GSAP in HyperFrames, dialogue-aware local Qwen or Edge TTS, global Whisper alignment, speech-synced visuals, continuous transitions, stable instrumental BGM, and final encoded-media inspection. Use for commentary, educational formulas, workplace or growth scripts, faceless code-generated videos, or fixing portrait sizing, element alignment, premature reveals, blank transitions, narration sync, BGM pumping, or visual-continuity defects.

TypingMindでHbg Douyin Code Explainer Videoを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Hbg Douyin Code Explainer Videoはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにHbg Douyin Code Explainer Videoをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Mr-funny/hbg-douyin-code-explainer-video/tree/mainを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Hbg Douyin Code Explainer Videoを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Hbg Douyin Code Explainer Videoで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもHbg Douyin Code Explainer Videoを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Hbg Douyin Code Explainer Video」は無料ですか?

Mr-funnyがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇