Communitygithub.com

akshayDev17/ai-explainer-video

각 비디오 세그먼트의 애니메이션 비주얼을 제작하고 반복 개선합니다. 강의 콘텐츠 기반 설명 영상 파이프라인의 5단계로, 비트에 홀드가 필요할 때 오디오 단계를 다시 호출합니다.

ai-explainer-video란 무엇인가요?

이 스킬은 강의 자료를 바탕으로 한 설명 영상 제작 파이프라인(`explainer-video-from-coursework`)의 5단계를 담당하며, 시각적 비트(visual beat) 단위로 각 세그먼트의 애니메이션 장면을 저작합니다. 주요 기능은 비트 타이밍을 조정하고, 'pacing-check' 도구로 오디오 타임라인과의 정합성을 검증하며, 필요 시 `build-audio` 단계를 재호출하여 내레이션에 홀드(hold)를 추가하는 것입니다. SVG, 코드 연습, 다이어그램 등 세 가지 장면 호스트를 지원하며, 각 세그먼트는 `SCENE_BEATS` 배열을 통해 시작 시간(`at`), 최소 체류 시간(`min`), 홀드 여부를 선언합니다. 렌더링 후 생성된 스틸 프레임을 육안으로 확인하여 색상, 연결선 오류 등 시각적 결함을 잡아내는 것이 완료 조건입니다. 지원 플랫폼: Claude Code, Cursor 등 Node.js 기반 AI 에이전트에서 실행 가능합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/akshayDev17/ai-explainer-video/tree/HEAD/skills/craft-video-scene

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

craft-video-scene — 비주얼 저작하기

explainer-video-from-coursework 파이프라인의 일부 — 8단계 중 5단계. 오디오 단계 위의 오케스트레이터 역할로, 반복 실행되며 비트가 맞지 않을 때 build-audio를 다시 호출합니다. 오디오 단계 자체는 원샷으로 다시 돌아오지 않습니다.

파이프라인의 도구와 장면 호스트는 형제 스킬 explainer-video-from-coursework에 있습니다: 이 스킬의 폴더를 기준으로 node ../explainer-video-from-coursework/tools/<tool>.mjs 형태로 실행하세요. 프로젝트 루트에서 실행하므로 out/ 임시 파일이 노트 옆에 생성됩니다.

전제 조건: out/<name>/<NN>/timeline.json (오디오 단계에서 생성됨)과 비디오 스크립트; --shots 보기를 위한 헤드리스 Chromium (SETUP.md 참조).

--shots 렌더링에서 Playwright cache not found 오류가 발생하면 Chromium이 없는 것입니다 — 사용자에게 SETUP.md 단계를 안내하고 다시 실행하세요.

각 세그먼트는 비트(beat) 입니다: 내레이션과 이를 설명하는 비주얼. 비주얼을 비주얼 비트(visual beat) 로 저작하세요 — 각 단계는 최소 체류 시간(minimum dwell)과 내레이션에 대한 정렬을 가지며, 절대 시간(초)으로 지정하지 않습니다.

세그먼트별 호스트 (out/<name>/<NN>/manifest.json, key → {host, scene}):

  • svg (src/scene-svg.html) — 열린 차선; renderAt(t, svg, timeline)과 SCENE_BEATS를 노출합니다.
  • code (src/scene-code.html) — 코드 연습.
  • diagram (src/scene-diagram.html) — scene-core.js 기반의 선언적 nodes/edges/reveal/banners 설정.

비트가 타이밍을 소유합니다 — 세그먼트별로 SCENE_BEATS를 선언하세요: { id, at, min, hold }. at은 내레이션 시작부터의 초 단위 시간, min은 최소 체류 시간, hold: true는 내레이션 이후에도 실행을 허용하는 비트를 표시합니다.

도구 호출로 표현되는 루프

장면 작성 / 편집
  → node ../explainer-video-from-coursework/tools/pacing-check.mjs --scene out/<name>/<NN>/scenes/<name>.js \
        --timeline out/<name>/<NN>/timeline.json --segment <key>
        (부족분 = "비트 X에 +3s 필요" → 스크립트 세그먼트에 `pad` 추가,
         비트에 `hold: true` 설정)
  → 패드를 추가한 경우:
        node ../explainer-video-from-coursework/tools/build-audio.mjs --script out/<name>/scripts/<NN>-*.json \
              --out out/<name>/<NN> --voice Aoede
        (무료 — TTS는 텍스트 캐시됨 — 타임라인이 더 넓게 재배열됨)
  → node ../explainer-video-from-coursework/tools/render.mjs --shots 6,20,34 --work out/<name>/<NN> \
        --scene "src/scene-diagram.html?scene=<name>"
  → 스틸 프레임을 확인      ← 자동화되지 않은 단계
  → 수정 → 반복

체커는 타이밍과 구조 오류를 잡아내지만, 시각적 결함(누락된 칩, 연결되지 않은 커넥터, 잘못된 색상)은 잡지 못합니다. 렌더링된 프레임을 직접 확인해야만 이러한 오류를 발견할 수 있습니다.

완료 조건: pacing-check가 0으로 종료되고 모든 스틸 프레임을 육안으로 확인했을 때.

유지보수

이 파일을 수정하거나 사용자가 이 단계의 변경을 요청하면, 주 explainer-video-from-coursework 스킬의 "Stage 5 — /scene" 섹션이 일치하도록 조정되어야 하며, 답변에서 해당 섹션을 언급하도록 사용자에게 알리세요.

Individual skills in this repo

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

akshayDev17/ai-explainer-video

Assemble one video from its segments — render each window silent, concatenate, mux the narration once, and verify. Stage 8 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Synthesize narration and build the measured timeline for one video. Stage 4 of explainer-video-from-coursework — the one-shot TTS primitive.

akshayDev17/ai-explainer-video

Retitle and curate the videos in an explainer-video plan — write enrichment.json and merge it. Stage 2 of explainer-video-from-coursework; run it alone to retitle an existing plan.

akshayDev17/ai-explainer-video

Decompose a coursework notes directory into an explainer-video plan and prove no content-bearing section is dropped. Stage 1 of explainer-video-from-coursework; run it alone to (re)plan a directory.

akshayDev17/ai-explainer-video

Generate YouTube chapters and English captions for one finished video. Stage 6 of explainer-video-from-coursework.

akshayDev17/ai-explainer-video

Render one scene config over one time window to an MP4 (or a handful of QA stills). Stage 7 of explainer-video-from-coursework — the render primitive.

akshayDev17/ai-explainer-video

Write and validate the spoken narration for one explainer-video. Stage 3 of explainer-video-from-coursework; run it alone to (re)write a video's script.

akshayDev17/ai-explainer-video

Plan an explainer-video series from a directory of coursework notes — decompose into videos (proving nothing is dropped), retitle and curate, write the narration, synthesize the audio, author the visuals, then render and assemble the finished cut. Use when the user wants to turn structured coursework notes into explainer videos.

관련 스킬