Communitygithub.com

raisaksham377-bot/youtube-shorts-ai-editor

AI 비디오 편집 파이프라인의 2단계: 마스터 컷 위에 시각적 비트(Remotion TSX 샷)를 빌드하고 합성 프리뷰를 생성합니다. 사용자가 오버레이/전체 화면 애니메이션 세그먼트를 추가/편집하거나, '샷/비트'를 만들거나, 편집 계획을 구현하거나, 내레이션에 비트를 맞추거나, 샷을 다시 렌더링하거나, 프리뷰를 다시 베이킹할 때 사용하세요.

youtube-shorts-ai-editor란 무엇인가요?

이 스킬은 AI 기반 비디오 편집 파이프라인의 두 번째 단계를 자동화합니다. 사용자가 승인한 마스터 컷과 타임라인을 기반으로 Remotion TSX 파일로 시각적 비트(UI 모형, 전체 화면 명령문, 다이어그램, 이미지 공개 등)를 제작하고, 이를 마스터 위에 합성하여 프리뷰를 생성합니다. 핵심은 편집 계획, 타임라인 JSON, 대본(워드 레벨 타임스탬프 포함), 브랜드 가이드, 재사용 가능한 키트를 읽고, 라이브러리 우선 접근 방식으로 샷을 작성하며, 모든 시각적 요소를 내레이션 큐와 동기화하는 것입니다. Claude Code, Cursor, Codex 등과 같은 AI 에이전트와 함께 사용하도록 설계되었으며, 1920×1080 해상도에서 프레임 정확도로 합성하여 최종적으로 1080p30 프리뷰 MP4를 출력합니다. 9단계 워크플로우(계획 읽기 → 샷 작성 → 타임라인 업데이트 → 렌더링 → 스크린샷 검증 → 베이킹 → 복합 프레임 점검)를 따르며, 내레이션 동기화, 사전 공개 금지, 실제 자산 선호 등 5가지 주요 원칙을 적용합니다. 하위 레벨 Remotion 파일 작성 규칙은 별도의 'vidtsx-2d-generator' 스킬이 담당합니다.

지원 대상✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/raisaksham377-bot/youtube-shorts-ai-editor/tree/HEAD/.claude/skills/make-tsx

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

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

문서

make-tsx — 마스터 위에 시각적 비트 빌드

파이프라인의 2단계: 승인된 마스터 컷과 그 타이밍 스파인을 가져와 애니메이션 비트(UI/브라우저 모형, 전체 화면 명령문, 다이어그램, 이미지 공개)를 제작한 다음, 마스터 위에 합성하여 프리뷰를 만듭니다. 비트 단위로 협업하며 작업하며, 사용자가 각 비트별로 피드백을 제공합니다.

이것은 프로젝트 오케스트레이션입니다. 단일 크래시 없는 Remotion 파일(프레임 기반만 사용, 단조 interpolate, Easing.bezier, useState/useEffect 없음, 임포트 주의사항)을 작성하는 하위 레벨 규칙은 vidtsx-2d-generator 스킬을 사용하세요. 여기의 샷은 해당 규칙을 따릅니다.

입력 (매 세션마다 먼저 읽을 것)

  • 계획 — videos/video-N/work/edit-plan.md (또는 v2-update-plan.md 같은 변경 목록). 무엇을 구축할지에 대한 진실의 원천입니다. 리뷰에서 나온 변경 목록이 있으면 그것이 우선합니다. 적용하고, 이미 확정된 비트를 다시 논의하지 마세요.
  • videos/video-N/work/timeline.json — 각 샷을 마스터 상의 구간 + type으로 매핑합니다. 당신이 이것을 편집합니다. (아래 스키마 참조.)
  • videos/video-N/work/edited-transcript.json — 마스터 타임라인의 워드 레벨 시간(ms)입니다. 모든 것이 이것에 동기화됩니다.
  • brand.md — 색상/폰트/모션/전달 토큰입니다. 모든 샷이 브랜드를 읽어 모든 비디오가 하나의 채널처럼 느껴지도록 합니다.
  • remotion/src/lib/kit.tsx (+ lib/vscode.tsx, lib/browser.tsx) — 재사용 가능한 컴포넌트 라이브러리; src/brand.ts, src/fonts.ts; remotion/src/shots/video-N/에 있는 기존 샷들.

워크플로우

  1. 읽기 — 계획 + 타임라인 + 대본 + 브랜드 + 키트. 각 큐를 맞추기 위해 정확한 워드 타임을 가져옵니다(edited-transcript.json에서 구문을 grep → 시작/종료 ms → 로컬 프레임 = (cue_s − shot.master_in_s) × fps).
  2. 정말 열려 있는 것만 묻기 — 시작 시 소규모 배치에 대해서만 질문하고, 그런 다음 구축합니다. 확정된 결정을 다시 묻지 마세요.
  3. 라이브러리 우선. 처음부터 UI를 작성하기 전에 키트 컴포넌트를 재사용하세요. 재사용 가능한 무언가(창 크롬, 브라우저 프레임, 카드 슬롯)를 만든 경우 lib/에 넣어 이후 샷과 비디오가 사용할 수 있게 하세요. 좋은 패턴을 라이브러리에 반영하세요.
  4. 샷 작성/편집 — remotion/src/shots/video-N/에 vidtsx 형식의 .tsx 파일로 작성합니다(scripts/gen-registry.mjs에 의해 자동 등록됨). 파일당 하나의 샷. 브랜드 토큰과 아래 원칙을 따르세요.
  5. 단어에 동기화 (원칙 참조). 각 하위 요소의 등장을 대본 큐에 맞춰 시간을 조정하세요. 말하기 전에 보여주거나 요점이 지나간 후에는 절대 보여주지 마세요.
  6. timeline.json 업데이트 — 비트의 구간과 type을 추가/교체/재조정하세요. 슬롯이 플레이스홀더(예: 보류 중인 화면 녹화)인 경우 명확한 메모를 남기세요.
  7. 렌더링 + 스크린샷으로 검증 (절대 건너뛰지 마세요): cd remotion && node scripts/render-all.mjs --scale=1 <ShotIds> (불투명 → out/<id>.mp4, 투명 오버레이 → .mov). 먼저 스틸(--still)로 검증하고, 워드 동기화된 공개/스크롤의 경우 클립을 렌더링하고 각 큐에서 프레임을 추출합니다(ffmpeg -ss <t> -i out/<id>.mp4 -frames:v 1 f.jpg) — 60% 스틸 하나만으로는 충분하지 않습니다.
  8. 프리뷰 베이킹: python tools/bake.py (timeline.json을 읽어 videos/video-N/output/video-N-preview.mp4, 1080p30 생성). 반복 작업 중에는 --end SECONDS로 접두사 부분만 베이킹할 수 있습니다.
  9. 복합 프레임 스팟 체크 — 베이킹된 mp4에서 변경된 비트의 복합 프레임(실제 마스터 위에 올려진 샷)을 확인하세요. 단독 샷만 확인하지 마세요.

timeline.json (합성 맵)

{
  "master": "videos/video-1/reference/master.mp4", "master_fps": 60,
  "remotion_out": "remotion/out",
  "shots": [
    { "id": "CreditsStat", "type": "cutaway", "master_in_s": 170.0, "master_out_s": 179.0, "cue": "..." }
  ],
  "preview": { "end_s": 329.6, "out": "videos/video-1/output/video-1-preview.mp4", "width": 1920, "height": 1080, "fps": 30 }
}
  • type: "cutaway" — 샷의 .mp4가 [master_in_s, master_out_s] 구간 동안 마스터 비디오를 대체합니다. 마스터 오디오는 항상 아래에서 계속됩니다.
  • type: "overlay" — 투명 샷(ProRes 4444 .mov, compositionConfig에서 transparent: true)이 해당 구간 동안 마스터 위에 합성됩니다. 상단/하단 밴드의 작은 지속형 CTA/뱃지에 사용합니다.
  • bake.py는 [0, end]를 모든 샷 경계에서 분할하고, 각 세그먼트를 렌더링(컷어웨이는 샷에서, 오버레이는 마스터+알파, 그 외는 마스터 패스스루)한 후 연결하고 마스터 오디오 0..end를 먹싱합니다. 프레임 정확합니다. 샷의 파일은 먼저 remotion/out/에 존재해야 합니다.
  • 샷은 1920×1080으로 디자인하며, --scale=2로 렌더링하면 최종 4K가 됩니다. 프리뷰는 1080p30으로 베이킹하고, 최종 전달은 4K60입니다.

원칙 (하우스 스타일 — 적용하세요)

  • 단어에 동기화 (P1). 하위 요소를 내레이션 큐에 맞춰 edited-transcript.json에서 시간을 계산하여 공개하세요. "모든 것을 보여주고 그냥 유지"는 좋지 않습니다.
  • 선점하지 마세요 (P2). 나중에 언급되는 것을 화면에 절대 표시하지 마세요("skill"이 소개되기 전에 보여주지 말고, "더 많은 예시" 전에 예시 타일을 보여주지 마세요).
  • 실제 자산을 일반 아이콘보다 우선 — 기본값 (P3, brand.md §6). 실제 사물(회사, 사람, 도시/국가, 실제 앱/제품, 실제 채용 공고)을 언급하는 모든 비트는 루시드 아이콘 그래픽이나 손으로 그린 복제본이 아닌 실제 사진 또는 실제 스크린샷을 보여줍니다. 아이콘은 실제로 보여줄 것이 없는 추상적 개념(통계, 프로세스 단계)에만 대체재로 사용합니다. 두 가지 경우:
    • 실제 웹사이트 / 앱 / 페이지 → 실제 공개 URL을 가리키는 tools/capture_web.py (Playwright — requirements.txt 참조)로 실시간 캡처하고 media/projects/<video>/real/에 저장합니다. WebBrowserFrame(단일 정적 페이지)에 프레임을 넣거나 /fake-screencast(시뮬레이션된 커서/스크롤/클릭이 있는 워크스루)로 재생합니다. 이것은 실제 상태 캡처이며, 다시 그린 모형이 아닙니다.
    • 실제 사진 / 로고 / 사람 / 장소 → 실제 자산(엔터티 자체 사이트, Wikipedia, Wikimedia Commons, YC/LinkedIn 스타일 프로필)을 찾기 위해 WebSearch/브라우저 도구를 사용하고, curl/다운로드하여 media/projects/<video>/real/에 저장합니다. 로고나 스카이라인을 기억에서 다시 그리지 마세요. 실제 파일을 가져오세요. 정적으로 표시하지 말고 Ken Burns 효과(느린 scale 1.0→1.12 + 비트 유지 시간 동안 약간의 이동 드리프트)로 애니메이션 처리하세요.
    • 기계를 떠나는 것(실제 회사에 보내는 피치, 공개 업로드)은 무작위 이미지 검색 결과보다 공식/공개 라이선스 출처를 선호하세요. 공개 시점에 camera-snap SFX 큐(brand.md §10)와 함께 표시하세요.
  • 구성/설정 → 실제 UI (P4). 키, 대시보드, .env, 스킬 폴더 → 추상적인 그래픽이 아닌 실제 VS Code / 대시보드 UI.
  • 실제 결과물을 실제 편집기에서 (P5). 생성된 결과물은 실제 편집기 내에서 열린 상태(이미지가 채팅 옆 창에 표시됨)로 표시되고, 브랜드 카드에 떠 있지 않습니다.
  • 전체 화면 vs 오버레이. 개념 비트 = 전체 화면 컷어웨이(토킹 헤드에서 전환). 오버레이는 상단/하단 밴드의 작은 지속형 CTA/뱃지에만 사용하며, 중앙에 프레임된 토킹 헤드를 절대 가리지 마세요.
  • 실제 UI 사실성. UI 클론은 실제 제품(Claude Code = 어두움 + 산호, 실제 로고)과 일치해야 하며, 인디고 브랜드가 아니어야 합니다. 브랜드 인디고는 오버레이/전체 화면 비트용입니다.
  • 녹화 vs TSX. TSX는 통제된 하이라이트/스크롤/줌이 필요할 때 사용합니다. 실제 화면 녹화는 요점이 진정한 증거(실제 출력, 실제 속도)일 때만 사용합니다. 사용자가 제공할 녹화를 위해 명확하게 표시된 플레이스홀더 슬롯을 남기세요.
  • 화면상 텍스트는 브랜드 음성을 따릅니다. em-대시 없음 (사이트 카피가 피하므로 오버레이에서도 제외하세요).

이것이 전체 원칙 세트입니다. 비디오 계획이 수정 패스를 요구하는 경우, 변경된 내용과 이유를 videos/<project>/work/v2-update-plan.md에 기록하여 다음 패스가 그 추론을 이어받을 수 있도록 하세요.

도구 빠른 참조

  • 샷 등록: node remotion/scripts/gen-registry.mjs (자동 발견 실행; 파일 추가 후 필요).
  • 렌더링: node remotion/scripts/render-all.mjs [--still] [--scale=1|2] <ShotIds...>.
  • 베이킹: python tools/bake.py [timeline.json] [--end S] [--keep].
  • 임시 렌더링/프레임은 스크래치패드에 넣고 프로젝트에는 넣지 마세요.

완료 = 변경된 비트가 렌더링되고, 각 큐에서 스틸/프레임을 확인했으며, 프리뷰가 다시 베이킹되었고, 복합 프레임을 스팟 체크했습니다. 패스가 완료되면 계획/타임라인과 관련 메모리를 업데이트하세요.

Individual skills in this repo

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

raisaksham377-bot/youtube-shorts-ai-editor

Makes this repo's videos look like YOUR channel instead of the house default — interviews you for palette, fonts, wordmark, motion energy, delivery specs and SFX taste, then rewrites brand.md + remotion/src/brand.ts + remotion/src/fonts.ts together and renders a proof card so you SEE it. Use whenever the user wants to set up or change their brand, rebrand the repo, "make it my colors/fonts", change the accent color, set their wordmark, adjust the motion feel, or asks why their videos look like someone else's. Run it once before the first video. Not for per-video art direction (that is /make-tsx) and not for thumbnails, which are deliberately louder than the brand (that is /packaging).

raisaksham377-bot/youtube-shorts-ai-editor

Build a split-frame vertical Short/Reel (1080x1920) from talking-head footage — real face cropped into the bottom half throughout, bespoke motion-graphic beats + word-by-word captions in the top half. Use when the user wants a "vertical short", "reel", "9:16 video", "split-frame" format, asks to keep their face on screen the whole time while graphics play above it, wants an in-context app/UI mockup moment (like clicking a button in a browser) without cutting away from their face, or hits caption-pill-covers-my-face / no-GPU-rendering / audio-duration-mismatch problems while building one. Covers the crop-offset technique for framing the face, the caption-pill safe zone, the top-half-only UI-mockup scene pattern, the full pipeline from raw footage to final SFX mix, and the environment gotchas (no NVIDIA GPU, AAC priming gap, comp-native transcode). Topic-agnostic — this is a layout/technique skill, not tied to any one video's content. Builds on /clean-cut, /make-tsx conventions, and /suggest-sfx; doesn't rep...

raisaksham377-bot/youtube-shorts-ai-editor

Voice/audio cleanup step of the AI Video Editor pipeline — diagnose a video's background noise, pick the right denoise method, and produce a cleaned master (voice isolated, levels preserved, video stream copied). Use when the user wants to "clean the audio / voice", "remove background noise", "denoise", "isolate voice", fix outdoor/room/water/hum/hiss noise, run ElevenLabs Voice Isolator or local RNNoise, A/B denoise methods, or produce a cleaned master for a video-N in this repo. Covers diagnosing the noise (spectrogram + levels), choosing eleven vs rnnoise by noise type, the sample A/B, tools/clean_voice.py, preserving levels (RMS-match, not LUFS), and rewiring the pipeline to the clean master. Not the SFX/music mix (that is /suggest-sfx + the final-mix step) and not the cut (that is /clean-cut).

raisaksham377-bot/youtube-shorts-ai-editor

Step 1 of the AI Video Editor pipeline — turn raw talking-head footage into a clean master cut. Use when the user wants to "clean cut", "cut the raw footage", "remove filler / dead air / bad takes", "tighten the pacing", produce cuts.json, run the cut editor, or render a cleaned preview/master for a video-N project in this repo. Covers audio extraction, AssemblyAI transcription, authoring cuts.json (keeps/cuts/fluff categorized), the cut policy (content-aggressive, pause-natural ~0.5s), QA + review docs, the local cut-editor UI, tight/natural previews, the final 4K60 render, and producing edited-transcript.json as the handoff to /make-tsx. Not for building TSX overlays (that is /make-tsx) or the raw TSX authoring rules (that is vidtsx-2d-generator).

raisaksham377-bot/youtube-shorts-ai-editor

Turn static SCREENSHOTS into a simulated screen recording (TSX) — a fake screencast with an animated cursor that eases to targets and clicks, a browser URL bar that updates per page, hard-cut navigations, in-page filter crossfades, smooth scroll, and a ken-burns zoom onto the payoff. Use when a beat needs to show a walkthrough of a web app / dashboard / settings page and you'd rather build it from screenshots than get (or ask for) a real screen recording — "fake a screen recording", "turn these screenshots into a screencast", "simulate clicking through the dashboard", "animate this UI walkthrough", "cursor moving through the app". Built on remotion/src/lib/screencast.tsx. This is a technique WITHIN step 2 (make-tsx): defer timeline/render/bake orchestration to make-tsx and raw crash-free TSX rules to vidtsx-2d-generator. Not for a single static page clone (use WebBrowserFrame directly) and not when the point is genuine proof of real speed/output (use a real recording).

raisaksham377-bot/youtube-shorts-ai-editor

Generates click-optimized YouTube packaging — 3 thumbnail bets under one fixed title, engineered for YouTube's built-in A/B/C thumbnail test, plus a value-forward description, then renders the thumbnails as real images. Use this whenever you want to package a long-form video or turn a video idea into titles and thumbnails. Triggers include how would you package this, title ideas for, thumbnail concept, package this video, A/B variations, and make this clickable. Calibrates to your channel's own CTR data if you have it. Long-form only, never Shorts. Not for non-YouTube copywriting.

raisaksham377-bot/youtube-shorts-ai-editor

Step 4 of the AI Video Editor pipeline — the SFX pass. Analyze a video's beats + narration and propose tasteful sound effects synced to them, drawing from (and growing) a shared, reusable SFX library, then render an SFX-mixed audition preview. Use when the user wants to "add SFX / sound effects", "suggest sfx", "score the transitions", "sound-design this beat", generate/source sound effects, build or extend the sfx library/catalog, author or audit a sfx-plan, or mix SFX over a video-N preview in this repo. Covers reading timeline + edited-transcript + brand §10, the library-first flow, generating misses with the ElevenLabs Sound Effects API, the per-video sfx-plan.json, the hard user-audit gate, and mixing with tools/mix_sfx.py (light voice ducking). Not the music bed (that is the final-mix step) and not the visual beats (that is /make-tsx).

raisaksham377-bot/youtube-shorts-ai-editor

Generate production-ready 2D TSX video files for VidTSX (Remotion-based) from a shot, scene, or video description. Use whenever the user wants to create or generate a VidTSX video, a 2D TSX shot or scene, an animated clip, title card, or rendered motion graphic — including when they describe a visual animation they want built, or say "make a shot", "build this scene", "generate the TSX", or "turn this into a video". Covers the mandatory file structure and composition config, dimension presets (horizontal/vertical/square), six style presets (minimalist, memphis, neo-brutalism, glassmorphism, neon, corporate), and the hard rules that keep renders from crashing, covering frame-based animation only (no useState/useEffect/setTimeout), strictly monotonic interpolate ranges, Easing.bezier not wrapper syntax, and the chroma-js and @remotion/paths import gotchas. Not for 3D/three.js compositions, general React work, or editing video files.

관련 스킬