소스 정보
- 저장소
- tools-only/X-Skills
- 최근 소스 활동
- 2026년 2월 20일 02:35
- 감지된 SKILL.md 언어
- 영어
- 스타
- 7
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SOC 직업 분류 기준
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/tools-only/X-Skills --skill remotion-best-practices명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
| name | remotion-best-practices |
| description | Best practices for Remotion - Video creation in React |
| metadata | {"tags":"remotion, video, react, animation, composition"} |
remotion executor (provides Node.js 20, Chromium, ffmpeg, yt-dlp, deno)npx create-video — it is interactive and will hang in automated environmentsnpx create-video uses interactive prompts that cannot be bypassed. Instead, manually initialize:
# 1. Create project and install dependencies
mkdir -p my-video && cd my-video
npm init -y
# 2. Install Remotion core + common packages
npm install remotion @remotion/cli @remotion/media-utils react react-dom
# 3. Optional: 3D / Three.js support
npm install @remotion/three @react-three/fiber @react-three/drei @react-three/postprocessing three
# 4. Optional: Zod schemas for parametrizable videos
npm install @remotion/zod-types zod@3.22.3 # zod version must match @remotion/zod-types peer dep
Minimal project structure:
my-video/
├── package.json
├── remotion.config.ts # Config.setVideoImageFormat("jpeg"); Config.setOverwriteOutput(true);
├── tsconfig.json
├── public/ # Static assets (audio, images)
└── src/
├── index.ts # registerRoot(Root)
├── Root.tsx # <Composition> definitions
└── MyVideo.tsx # Video component
Tip: The remotion executor pre-caches common npm packages at /opt/remotion-template/node_modules/. You can copy them to skip download:
cp -r /opt/remotion-template/node_modules ./node_modules
IMPORTANT — Do NOT run tsc or npx tsc:
npx remotion render handles TypeScript compilation internally via esbuild — it is much faster and more lenient than tsc.tsc --noEmit will produce spurious type errors (missing module declarations, JSX issues) that are irrelevant to Remotion rendering.npx remotion render. Fix only errors reported by the renderer itself.IMPORTANT — Project directory:
mkdir -p my-video && cd my-video). Do NOT use absolute paths like /app/workspace/ or /app/my-project/.IMPORTANT: Always use these flags for maximum rendering speed:
# Standard render (2D content — no --gl needed)
npx remotion render src/index.ts MyComposition out/video.mp4 \
--concurrency=16
# 3D content (Three.js / WebGL) — MUST use --gl=swangle
npx remotion render src/index.ts MyComposition out/video.mp4 \
--concurrency=16 \
--gl=swangle
In remotion.config.ts, always set high concurrency:
import { Config } from "@remotion/cli/config";
Config.setVideoImageFormat("jpeg");
Config.setOverwriteOutput(true);
Config.setConcurrency(16); // Use 16 parallel browser tabs (NOT default 4)
// For 3D/WebGL content only:
Config.setChromiumOpenGlRenderer("swangle"); // SwiftShader software GL for headless containers
GL renderer for 3D/WebGL content:
--gl=swangle — Required for 3D. Uses SwiftShader (bundled in Chrome). Works without GPU. Supports full concurrency=16.--gl=angle — Does NOT work in headless Docker without GPU. Do not use.--gl for Three.js content — default mode has no WebGL support in headless containers.Segment rendering for long videos (>60s): Split into 30-second segments and render in parallel:
# Render segment (frames 0-899 = first 30s at 30fps)
npx remotion render src/index.ts MyComp out/seg_000.mp4 \
--frames=0-899 --concurrency=16 --gl=swangle
# Merge all segments with ffmpeg
ffmpeg -y -f concat -safe 0 -i concat_list.txt -c copy out/final.mp4
Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.
When dealing with captions or subtitles, load the ./rules/subtitles.md file for more information.
For some video operations, such as trimming videos or detecting silence, FFmpeg should be used. Load the ./rules/ffmpeg.md file for more information.
When needing to visualize audio (spectrum bars, waveforms, bass-reactive effects), load the ./rules/audio-visualization.md file for more information.
Read individual rule files for detailed explanations and code examples: