Hbg Douyin Code Explainer Video 标志

Hbg Douyin Code Explainer Video

社区
Mr-funny
hbg-douyin-code-explainer-video

使用 HyperFrames,通过确定性的 HTML/CSS/SVG/GSAP、能理解对话语境的本地 Qwen 或 Edge TTS、全局 Whisper 对齐、与语音同步的画面、连续转场、稳定的纯音乐 BGM,以及最终编码媒体检查,制作并进行质量把关的中文 9:16 抖音讲解视频。适用于评论、教育类公式讲解、职场或成长类脚本、不露脸的代码生成视频,也适用于修复竖屏尺寸、元素对齐、画面过早出现、转场空白、旁白同步、BGM 音量起伏或视觉连续性问题。

概览

发布者Mr-funny
代码仓库hbg-douyin-code-explainer-video
技能名称hbg-douyin-code-explainer-video
星标数
33
复刻数
4
附带文件
7
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 7 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Mr-funny 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Hbg Douyin Code Explainer Video AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Hbg Douyin Code Explainer Video。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Hbg Douyin Code Explainer Video 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Hbg Douyin Code Explainer Video AI 技能有什么作用?

使用 HyperFrames,通过确定性的 HTML/CSS/SVG/GSAP、能理解对话语境的本地 Qwen 或 Edge TTS、全局 Whisper 对齐、与语音同步的画面、连续转场、稳定的纯音乐 BGM,以及最终编码媒体检查,制作并进行质量把关的中文 9:16 抖音讲解视频。适用于评论、教育类公式讲解、职场或成长类脚本、不露脸的代码生成视频,也适用于修复竖屏尺寸、元素对齐、画面过早出现、转场空白、旁白同步、BGM 音量起伏或视觉连续性问题。

为什么在 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,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Hbg Douyin Code Explainer Video?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Hbg Douyin Code Explainer Video 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Hbg Douyin Code Explainer Video 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Hbg Douyin Code Explainer Video AI 技能免费吗?

Mr-funny 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇