Communitygithub.com

Hownameee/legendas-curtas

Transcrever, exibir e animar legendas em vídeos.

O que é legendas-curtas?

Este skill permite que você trabalhe com legendas em projetos Remotion, desde a transcrição de áudio até a exibição e animação de textos sobrepostos. Ele define o tipo `Caption` usado por todas as funções de legendagem, exigindo que os dados sejam processados no formato JSON. O skill oferece suporte a três fluxos principais: geração de legendas a partir de arquivos de áudio ou vídeo (mediante instruções externas), exibição das legendas no vídeo com controles de posição e estilo, e importação de arquivos .srt existentes. Essas funcionalidades são distribuídas em documentos markdown separados, que devem ser carregados conforme a necessidade. Ao final, o skill recomenda carregar as melhores práticas do Remotion e abrir o Remotion Studio, a menos que haja instrução em contrário. Ele é útil para desenvolvedores que precisam adicionar legendas dinâmicas, acessíveis e customizáveis em suas produções de vídeo com Remotion.

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Todas as legendas devem ser processadas em JSON. As legendas devem usar o tipo Caption, que é o seguinte:

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

Esta é a definição:

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

Gerando legendas

Para transcrever arquivos de vídeo e áudio e gerar legendas, carregue o arquivo transcribe-captions.md para mais instruções.

Exibindo legendas

Para exibir legendas no seu vídeo, carregue o arquivo display-captions.md para mais instruções.

Importando legendas

Para importar legendas de um arquivo .srt, carregue o arquivo import-srt-captions.md para mais instruções.

Pós-criação

Após finalizar, carregue este skill: Remotion Best Practices

Se ainda não tiver feito, abra o Remotion Studio, a menos que haja instrução em contrário.

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.

Habilidades Relacionadas