用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/team-telnyx/adgen --skill remotion-best-practices命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | remotion-best-practices |
| description | Best practices for Remotion - Video creation in React |
| metadata | {"tags":"remotion, video, react, animation, composition"} |
Always render at 1920x1080 (1080p) minimum. Never ship 720p.
| Format | Width | Height | Use case |
|---|---|---|---|
| 16:9 landscape | 1920 | 1080 | YouTube, website embeds, presentations |
| 9:16 vertical | 1080 | 1920 | Instagram Reels, TikTok, YouTube Shorts |
| 1:1 square | 1080 | 1080 | Instagram feed, LinkedIn |
| 4K landscape | 3840 | 2160 | High-end presentations (render time 4x) |
Default fps: 30. Use 60fps only when smooth motion is critical (scrolling UIs, fast transitions).
Telnyx uses two fonts in all video content:
In theme.ts: FONTS.heading for PP Formula, FONTS.sans for Inter.
Loading fonts in Remotion:
// In your composition's Root or a wrapper component:
import { staticFile } from "remotion";
const fontFace = `
@font-face {
font-family: "PP Formula";
src: url("${staticFile("fonts/PPFormula-Medium.otf")}") format("opentype");
font-weight: 500;
}
`;
// Inject via <style> in an AbsoluteFill wrapper
Place font files in public/fonts/ of your Remotion project. Inter is also available via @remotion/google-fonts.
Every video should follow a clear narrative arc:
Structure timing accordingly: distribute content across the middle sections proportionally.
Apply the "one idea per slide" principle to video scenes:
Don't design from scratch every time:
Never generate fake data, screenshots, or statistics:
[PLACEHOLDER: your metric here] for numbersBefore rendering or publishing any Remotion video, verify:
When building Remotion videos with AI coding agents (Claude, OpenCode, Cursor, etc.), follow these patterns for best results.
Explicitly reference the skill - Tell the agent to "use the remotion-best-practices skill" or read specific rule files. Don't assume it picks up context automatically.
One change at a time - Don't ask for 5-10 changes in one message. Single requests = better results. "Add a fade-in to the title" not "add fade-in, change colors, adjust timing, and add a counter."
Feed Remotion docs when needed - For advanced features (audio visualization, captions, 3D), grab the relevant Remotion documentation. Add .md to any remotion.dev URL for a markdown version you can paste directly.
Don't try to build the whole video at once. Build scene by scene:
1. Intro section (hook/title) → verify it works
2. Main content section → verify
3. Feature/demo section → verify
4. CTA/outro section → verify
5. Then refine weak sections individually
This matches the "one idea per scene" principle and gives the agent focused context.
Follow this loop for each section:
Expect to spend 10-15 minutes iterating on complex sections (like animated cards or product reveals).
When the agent doesn't know a Remotion API:
# Get markdown version of any Remotion doc page
https://remotion.dev/docs/audio-visualization
→ https://remotion.dev/docs/audio-visualization.md
Paste the markdown into chat. This is faster than the agent searching.
Before asking the agent to build a Remotion video:
the project public/ folder for existing assetsskills/remotion-best-practices/rules/launchpad-animations.md for reusable motion componentspublic/ folder firstProven prompts from remotion.dev/prompts that produce high-quality results:
Source: https://www.remotion.dev/prompts/news-article-headline-highlight Tool: Claude Code (Opus 4.5)
Import a screenshot of a news article, use tesseract CLI for OCR to find text positions, then in Remotion:
Key techniques: OCR positioning, 3D transforms (perspective/rotateX/rotateY), blur animation, rough.js canvas overlay, z-index layering.
Source: https://www.remotion.dev/prompts/travel-route-on-map-with-3d-landmarks Tool: Claude Code (Opus 4.5)
Multi-step travel animation:
Key techniques: Map rendering, camera zoom/pan, animated path/line drawing, 3D object rendering (Three.js/R3F), multi-stop route sequencing.
Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.
Read individual rule files for detailed explanations and code examples: