Communitygithub.com

Hownameee/short-videos

將影片或音檔轉錄為字幕,並以動畫方式顯示字幕。

short-videos 是什麼?

此技能提供完整的字幕處理流程,包含轉錄、顯示與動畫製作。它定義了標準的 `Caption` 型別(基於 Remotion 的 `@remotion/captions` 套件),確保字幕資料結構一致。使用者可透過載入 `transcribe-captions.md` 將影片或音檔轉錄為字幕,再使用 `display-captions.md` 在影片中呈現,且支援從 `.srt` 檔案匯入字幕(`import-srt-captions.md`)。所有字幕必須以 JSON 格式處理,並遵循指定的型別定義。完成後建議載入「Remotion Best Practices」技能,並在必要時開啟 Remotion Studio。此技能適用於 Remotion 平台,專為開發者設計,能有效率地整合字幕功能於影片專案中。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Hownameee/short-videos/tree/HEAD/.agent/skills/remotion-captions

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

所有字幕必須以 JSON 格式處理。字幕必須使用 Caption 型別,定義如下:

import type { Caption } from "@remotion/captions";

此為型別定義:

type Caption = {
  text: string;
  startMs: number;
  endMs: number;
  timestampMs: number | null;
  confidence: number | null;
  pageBreakAfter?: boolean;
};

產生字幕

若要將影片和音檔轉錄為字幕,請載入 transcribe-captions.md 檔案以取得更多指示。

顯示字幕

若要在影片中顯示字幕,請載入 display-captions.md 檔案以取得更多指示。

匯入字幕

若要從 .srt 檔案匯入字幕,請載入 import-srt-captions.md 檔案以取得更多指示。

完成後

完成後,請載入此技能:Remotion Best Practices

如果尚未開啟,請開啟 Remotion Studio,除非另有指示。

Individual skills in this repo

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

Hownameee/short-videos

Generate, revise or troubleshoot local Kokoro narration, pronunciation and scene word timing. Reuse verified unchanged clips; inspect the Python environment before setup changes. Exclude research, visuals, music composition and publishing.

Hownameee/short-videos

Router for all Remotion skills

Hownameee/short-videos

Structure Remotion markup for interactivity

Hownameee/short-videos

Remotion Map animation knowledge

Hownameee/short-videos

Content, animation and effects best practices

Hownameee/short-videos

Upgrade Remotion, and related packages

Hownameee/short-videos

>- Run Phase 1 of the shared short-video workflow: turn a raw topic or prompt into a sourced research pack and 2–4 distinct video directions, each with a defensible tension hook, promise, payoff, beats, visual approach, duration range, and risks. Use whenever the user asks for video ideas, angles, research, facts, hooks, topic analysis, or choices before scriptwriting. Stop for the user's direction choice and do not silently continue into script or production.

Hownameee/short-videos

Produce an approved short video or correct an existing video's background sound, emotion, captions, mix or export. Generate only changed narration, render and review a current preview, run technical and editorial QC, then export. Exclude script-only and general audio-advice requests.

Hownameee/short-videos

>- Run Phase 2 of the shared short-video workflow: convert an explicitly selected direction and its research into a reviewable beat sheet, narration, flexible scene timing, on-screen text, visual plan, captions, music and SFX cues, pronunciation notes, payoff, takeaway, and contextual CTA. Use whenever a user asks to write, revise, preview, or approve a short-video script. Stop for script approval and do not generate TTS or render video yet.

Hownameee/short-videos

>- Design and review a coherent visual system for short-form video before and during Remotion implementation. Use for video art direction, scene UI, typography, layout, color, diagrams, captions, motion, transitions, platform safe areas, or visual-quality review. Use Remotion skills separately for API, timeline, media, Studio, and rendering behavior; do not use this skill for narration-only or research-only work.

Hownameee/short-videos

Coordinate prompt-to-short-video discovery, scripting and production. Resume existing projects and route soundtrack or mix corrections directly to production. Preserve direction choice and script approval; exclude general audio advice.

相關技能