Communitygithub.com

davila7/remotion

Remotion의 모범 사례와 종합 가이드 – React를 사용한 프로그래매틱 비디오 제작, 애니메이션, 컴포지션 및 미디어 처리

remotion란 무엇인가요?

이 스킬은 React 기반의 프로그래매틱 비디오 생성 라이브러리인 Remotion의 모범 사례와 종합 가이드를 제공합니다. 개발자는 컴포넌트 기반 접근 방식과 애니메이션을 활용하여 동적 비디오 콘텐츠를 만들 수 있으며, 컴포지션(Composition), 시퀀스(Sequence), 오디오/비디오 미디어 핸들링 등 핵심 개념을 효율적으로 학습할 수 있습니다. 주로 Claude Code, Cursor, Codex 등 AI 코딩 에이전트 환경에서 사용되며, SKILL.md 문서는 Remotion 프로젝트 설정, 컴포넌트 구조, 타이밍 제어, 렌더링 파이프라인을 단계별로 설명합니다. 이 가이드는 복잡한 비디오 편집 작업을 React 생태계 내에서 해결하려는 개발자에게 유용하며, 재사용 가능한 컴포넌트와 상태 관리를 통해 비디오 제작을 자동화하고 최적화하는 방법을 제시합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/davila7/claude-code-templates/tree/main/skills/remotion

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

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

문서

remotion은(는) 무엇을 하나요?

Remotion의 모범 사례와 종합 가이드 – React를 사용한 프로그래매틱 비디오 제작, 애니메이션, 컴포지션 및 미디어 처리

개요

이 가이드는 Remotion을 효과적으로 사용하기 위한 모범 사례를 제공합니다. Remotion은 React로 비디오를 프로그래매틱하게 생성하는 강력한 라이브러리로, 웹 개발자가 익숙한 도구로 동적 비디오 콘텐츠를 제작할 수 있게 해줍니다.

주요 개념

컴포지션 (Composition)

  • Composition 컴포넌트는 비디오의 기본 프레임을 정의합니다.
  • 각 컴포지션은 고유한 id, durationInFrames, fps, width, height를 가집니다.
  • 하나의 프로젝트에 여러 컴포지션을 포함할 수 있습니다.

시퀀스 (Sequence)

  • Sequence 컴포넌트를 사용하여 시간 기반의 하위 장면을 구성합니다.
  • 시작 프레임(from)과 지속 시간(durationInFrames)을 설정합니다.
  • 중첩된 시퀀스로 복잡한 타이밍을 구현할 수 있습니다.

애니메이션

  • useCurrentFrame() 훅을 사용하여 현재 프레임 값을 가져옵니다.
  • spring(), interpolate(), easeInOut() 등 유틸리티 함수를 활용합니다.
  • CSS 스타일과 결합하여 부드러운 모션을 만듭니다.

미디어 처리

  • <Img>, <Video>, <Audio> 컴포넌트로 미디어를 표시합니다.
  • 정적 파일은 public/ 디렉터리에 배치합니다.
  • 동적 로딩과 preload를 지원합니다.

설정

npm init video

또는 기존 프로젝트에 추가:

npm install remotion @remotion/cli

기본 예제

import { Composition, useCurrentFrame, spring } from 'remotion';

export const MyComposition = () => {
  const frame = useCurrentFrame();
  const scale = spring({ frame });

  return (
    <div style={{ transform: `scale(${scale})` }}>
      <h1>안녕하세요, Remotion!</h1>
    </div>
  );
};

export const Root = () => (
  <Composition
    id="HelloWorld"
    component={MyComposition}
    durationInFrames={120}
    fps={30}
    width={1920}
    height={1080}
  />
);

모범 사례

  1. 컴포넌트 분리: 각 장면이나 요소를 별도의 컴포넌트로 분리하여 재사용성을 높입니다.
  2. 성능 최적화: useMemo와 React.memo를 사용하여 불필요한 재렌더링을 방지합니다.
  3. 타이밍 일관성: durationInFrames를 상수로 정의하여 유지보수를 용이하게 합니다.
  4. 정적 자산: 모든 이미지와 동영상을 public/ 폴더에 저장하고 상대 경로로 참조합니다.

렌더링

npx remotion render HelloWorld out/hello.mp4

출력 형식을 지정하려면:

npx remotion render HelloWorld out/hello.mp4 --codec=h264 --crf=18

최종 노트

Remotion은 강력하지만 많은 계산 리소스가 필요할 수 있습니다. 복잡한 프로젝트의 경우 서버리스 환경이나 고성능 워크스테이션에서 렌더링하는 것을 고려하세요. 항상 package.json에 Remotion 버전을 명시하고 정기적으로 업데이트하여 최신 기능과 버그 수정을 활용하십시오.

자세한 내용은 공식 문서를 참조하세요.

Individual skills in this repo

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

davila7/citation-management

Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata, validate citations, and generate properly formatted BibTeX entries. This skill should be used when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.

davila7/claude-code-templates

Balance visual design with ATS compatibility for creative roles. Use when the user is in design, art, writing, marketing creative, or any visual/creative field and needs a resume that looks distinctive but still parses.

davila7/claude-code-templates

Optimize resumes for software engineering, product management, and technical roles. Use when the user mentions software engineer, developer, PM, data scientist, ML, DevOps, or other technical role resumes.

davila7/claude-code-templates

Expert in building portfolios that actually land jobs and clients - not just showing work, but creating memorable experiences. Covers developer portfolios, designer portfolios, creative portfolios, and portfolios that convert visitors into opportunities. Use when: portfolio, personal website, showcase work, developer portfolio, designer portfolio.

davila7/claude-code-templates

Create premium, Awwwards-quality website designs as React (.jsx) components that look like they were built by a top-tier agency charging $50k+ per project. Use this skill whenever the user asks for a website, landing page, portfolio, or web component that should look expensive, premium, luxury, editorial, high-end, or agency-quality. Also trigger when the user mentions Awwwards, FWA, award-winning design, or references brands like Apple, Aesop, Bottega Veneta, Stripe, or any luxury/fashion/design-forward brand. Trigger when the user says things like "make it look professional", "make it look expensive", "I want it to look really good", "high quality design", "not generic", or expresses dissatisfaction with typical AI-generated website aesthetics. Do NOT trigger for dashboards, admin panels, internal tools, or functional UI where aesthetics are secondary to utility — the standard frontend-design skill handles those.

davila7/claude-code-templates

Generates creative domain name ideas for your project and checks availability across multiple TLDs (.com, .io, .dev, .ai, etc.). Saves hours of brainstorming and manual checking.

davila7/claude-code-templates

When the user wants to optimize, improve, or increase conversions on any marketing page — including homepage, landing pages, pricing pages, feature pages, or blog posts. Also use when the user says "CRO," "conversion rate optimization," "this page isn't converting," "improve conversions," or "why isn't this page working." For signup/registration flows, see signup-flow-cro. For post-signup activation, see onboarding-cro. For forms outside of signup, see form-cro. For popups/modals, see popup-cro.

davila7/excel-analysis

Analyze Excel spreadsheets, create pivot tables, generate charts, and perform data analysis. Use when analyzing Excel files, spreadsheets, tabular data, or .xlsx files.

davila7/exploratory-data-analysis

Perform comprehensive exploratory data analysis on scientific data files across 200+ file formats. This skill should be used when analyzing any scientific data file to understand its structure, content, quality, and characteristics. Automatically detects file type and generates detailed markdown reports with format-specific analysis, quality metrics, and downstream analysis recommendations. Covers chemistry, bioinformatics, microscopy, spectroscopy, proteomics, metabolomics, and general scientific data formats.

davila7/generate-image

Generate or edit images using AI models (FLUX, Gemini). Use for general-purpose image generation including photos, illustrations, artwork, visual assets, concept art, and any image that isn't a technical diagram or schematic. For flowcharts, circuits, pathways, and technical diagrams, use the scientific-schematics skill instead.

davila7/jira

Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.

davila7/literature-review

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).

davila7/marketing-strategy-pmm

Product marketing, positioning, GTM strategy, and competitive intelligence. Includes ICP definition, April Dunford positioning methodology, launch playbooks, competitive battlecards, and international market entry guides. Use when developing positioning, planning product launches, creating messaging, analyzing competitors, entering new markets, enabling sales, or when user mentions product marketing, positioning, GTM, go-to-market, competitive analysis, market entry, or sales enablement.

davila7/market-research-reports

Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix.

davila7/markitdown

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

davila7/mermaid-diagram-specialist

Mermaid diagram specialist for creating flowcharts, sequence diagrams, ERDs, and architecture visualizations

davila7/mobile-design

Mobile-first design thinking and decision-making for iOS and Android apps. Touch interaction, performance patterns, platform conventions. Teaches principles, not fixed values. Use when building React Native, Flutter, or native mobile apps.

davila7/prompt-engineer

Expert in designing effective prompts for LLM-powered applications. Masters prompt structure, context management, output formatting, and prompt evaluation. Use when: prompt engineering, system prompt, few-shot, chain of thought, prompt design.

davila7/scientific-slides

Build slide decks and presentations for research talks. Use this for making PowerPoint slides, conference presentations, seminar talks, research presentations, thesis defense slides, or any scientific talk. Provides slide structure, design templates, timing guidance, and visual validation. Works with PowerPoint and LaTeX Beamer.

davila7/scientific-visualization

Create publication figures with matplotlib/seaborn/plotly. Multi-panel layouts, error bars, significance markers, colorblind-safe, export PDF/EPS/TIFF, for journal-ready scientific plots.

관련 스킬