remotion-markup
하는 일
이 스킬은 코드로 영상을 만드는 도구인 Remotion에서 React 코드를 작성하는 방법을 안내합니다. 애니메이션 영상을 만들고 코드가 올바르게 렌더링되기를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓Remotion 영상에서 애니메이션 제목이나 장면을 만들어 달라고 에이전트에게 요청할 때.
- ✓CSS 전환이나 애니메이션으로 만든 움직임이 렌더링된 영상에 나타나지 않을 때.
- ✓Remotion 컴포넌트가 시간에 따라 페이드, 슬라이드, 확대되기를 원할 때.
스킬 링크
https://github.com/remotion-dev/remotion/blob/main/packages/codex-plugin/skills/remotion-markup/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Remotion 영상의 제목이 처음 2초 동안 페이드 인하면서 위로 슬라이드되게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 에이전트에게 현재 프레임 번호와 보간을 기준으로 움직임을 만들라고 알려 줍니다. Remotion이 영상에 필요로 하는 방식이며, 따라야 할 코드 패턴도 보여 줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
This is guidance for writing Remotion React Markup. If this is not relevant, load Remotion Best Practices instead.
Preserve user changes
Users may make edits in the code outside of the conversation.
If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.
General rules
Drive animations using useCurrentFrame() and interpolate().
CSS transition or animation will not render correctly, they need to refactored.
Tailwind animation class will not render correctly, they need to be refactored.
Use Easing.bezier() and Easing.spring() to customize timing.
Structure your markup according to Remotion Interactivity Best Practices
import { useCurrentFrame, Easing, interpolate, Interactive } from "remotion";
export const FadeIn = () => {
const frame = useCurrentFrame();
return (
<Interactive.Div
name="Title"
style={{
opacity: interpolate(frame, [0, 2 * fps], [0, 1], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: Easing.bezier(0.16, 1, 0.3, 1),
}),
}}
>
Hello World!
</Interactive.Div>
);
};
Keep the interpolate() call inline in the style prop.
Use scale, translate, rotate CSS properties over transform.
// 👍 Inline editable keyframes and transform shorthands
style={{
scale: interpolate(frame, [0, 100], [0, 1], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
output: 'perceptual-scale' // For `scale` animations, use "output: 'perceptual-scale'"
}),
translate: interpolate(frame, [0, 100], ["0px 0px", "100px 100px"], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
}),
rotate: interpolate(frame, [0, 100], ["20deg", "90deg"], {
extrapolateLeft: 'clamp',
extrapolateRight: 'clamp',
easing: Easing.spring({damping: 200}),
}),
}}
// 👎 Non-inline values and transform strings become harder to edit in Studio
const scale = interpolate(frame, [0, 100], [0, 1]);
style={{
transform: `scale(${scale})`,
}}
Assets
Place assets in the public/ folder at your project root.
Use staticFile() to reference files from the public/ folder.
Media components
Add video and audio using <Video> and <Audio> from @remotion/media.
Add images using the <CanvasImage> component.
Add animated GIFs, APNG, WebP or AVIF images using <AnimatedImage>, use @remotion/gif if not using Chrome.
Use staticFile() for files in public/ or pass a remote URL directly:
import { Audio, Video } from "@remotion/media";
import { staticFile, CanvasImage, AnimatedImage } from "remotion";
export const MyComposition = () => {
return (
<>
<Video src={staticFile("video.mp4")} style={{ opacity: 0.5 }} />
<Audio src={staticFile("audio.mp3")} />
<CanvasImage
src={staticFile("logo.png")}
style={{ width: 100, height: 100 }}
/>
<Video src="https://remotion.media/video.mp4" />
<AnimatedImage src={staticFile('nyancat.gif')} />
</>
);
};
Example scene
import {
AbsoluteFill,
Easing,
Interactive,
interpolate,
useCurrentFrame,
useVideoConfig
} from "remotion";
export const Empty = () => {
const {fps} = useVideoConfig();
const frame = useCurrentFrame();
return (
<AbsoluteFill
name="Scene"
style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'white'
}}
>
<Interactive.Div
name="Title"
style={{
opacity: interpolate(frame, [1 * fps, 2 * fps], [0, 1], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: Easing.bezier(0.16, 1, 0.3, 1),
}),
fontSize: 88
}}
>
Title
</Interactive.Div>
<Interactive.Div
name="Subtitle"
style={{
opacity: interpolate(frame, [2 * fps, 3 * fps, 8 * fps, 10 * fps], [0, 1, 1, 0], {
extrapolateRight: "clamp",
extrapolateLeft: "clamp",
easing: [Easing.bezier(0.16, 1, 0.3, 1), Easing.linear, Easing.bezier(0.16, 1, 0.3, 1)],
}),
fontSize: 32
}}
>
Subtitle
</Interactive.D
자주 묻는 질문
이 스킬을 쓰려면 React를 알아야 하나요?
Remotion 영상은 React로 작성되므로 어느 정도 익숙하면 도움이 됩니다. 하지만 에이전트가 평이한 요청을 받아 대부분의 코드를 씁니다.
왜 에이전트가 일반 CSS 애니메이션을 쓸 수 없나요?
CSS 전환과 애니메이션은 Remotion 영상에서 올바르게 렌더링되지 않습니다. 이 스킬은 대신 프레임 기반 움직임을 쓰도록 안내합니다.
이 스킬이 영상을 대신 만들어 주나요?
아니요. 이 스킬은 Remotion 프로젝트에서 에이전트가 쓰는 코드를 안내합니다. 영상을 렌더링하려면 Remotion 프로젝트를 따로 설정해야 합니다.
상세 정보
인기도
- GitHub 스타
- 70k
- 순위
- #3150
- 라이선스
- —
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
fix-root-cause
70k에이전트가 문제가 처음 어긋난 지점을 추적해, 임시방편으로 증상을 가리는 대신 그 지점을 고치도록 가르칩니다.
gh-stack
70k에이전트가 큰 작업을 연결된 브랜치와 풀 리퀘스트 스택으로 나누어, 검토자가 한 번에 작은 변경 층만 보도록 돕습니다.
issue-management
70k에이전트가 GitHub 이슈를 상위 이슈, 하위 이슈, 차단 관계로 연결하도록 돕습니다. 프로젝트 작업이 명확하게 정리되도록 합니다.
no-comments
70k에이전트가 팀의 자체 코드만 설명하는 코드 주석을 제거하고, 브라우저, 라이브러리, 플랫폼의 특이 사항에 대한 메모는 남기도록 돕습니다.
비슷한 스킬
angular-developer
280k에이전트가 Angular 코드를 만들고 프로젝트 구조를 조언하도록 돕습니다. 새 프로젝트 시작, 코드 부분 생성, 성능과 접근성 개선에 유용합니다.
frontend-a11y
280k모든 사람이 웹 인터페이스를 쓸 수 있도록 에이전트를 돕습니다. 웹사이트와 앱이 화면 읽기 프로그램과 키보드 탐색에서 잘 작동하도록 합니다.
frontend-patterns
280k프론트엔드 개발의 현대적인 패턴을 적용하도록 에이전트를 돕습니다. React와 Next.js에서 성능을 최적화하고, 상태를 관리하며, 모범 사례를 따릅니다.