Communitygithub.com

Hownameee/short-videos

トランスクリプション、キャプションの表示とアニメーションを行います。

short-videos とは?

このスキルは、Remotion を使用して動画内のキャプションを処理、表示、アニメーション化するためのものです。まず、オーディオや動画ファイルから`@remotion/captions`ライブラリの`Caption`型に準拠したJSON形式のキャプションを生成します(文字列、開始時間、終了時間、信頼度などを持つ)。次に、生成したキャプションを動画内に表示する方法、および.srtファイルなどから既存のキャプションをインポートする方法を提供します。このスキルはRemotion Studio(Node.js上のReactベースの動画フレームワーク)上で動作し、開発者が効率的にキャプション編集を行うための補助ファイルを参照する構造になっています。

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

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

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

ドキュメント

すべてのキャプションは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.

関連スキル