remotion-best-practices – skill Lập trình cho agent AI
Các thực hành tốt nhất cho Remotion - tạo video trong React
Cài skill remotion-best-practices bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/remotion-best-practices-b7bff.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /remotion-best-practices – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/remotion-best-practices-b7bff.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $remotion-best-practices – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/remotion-best-practices-b7bff.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /remotion-best-practices – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/remotion-best-practices-b7bff.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /remotion-best-practices – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
When to Use
Use this skills whenever you are dealing with Remotion code to obtain the domain-specific knowledge.
How to use
Read individual rule files for detailed explanations and code examples:
- [rules/3d.md](rules/3d.md) - 3D content in Remotion using Three.js and React Three Fiber
- [rules/animations.md](rules/animations.md) - Fundamental animation skills for Remotion
- [rules/assets.md](rules/assets.md) - Importing images, videos, audio, and fonts into Remotion
- [rules/audio.md](rules/audio.md) - Using audio and sound in Remotion - importing, trimming, volume, speed, pitch
- [rules/calculate-metadata.md](rules/calculate-metadata.md) - Dynamically set composition duration, dimensions, and props
- [rules/can-decode.md](rules/can-decode.md) - Check if a video can be decoded by the browser using Mediabunny
- [rules/charts.md](rules/charts.md) - Chart and data visualization patterns for Remotion
- [rules/compositions.md](rules/compositions.md) - Defining compositions, stills, folders, default props and dynamic metadata
- [rules/display-captions.md](rules/display-captions.md) - Displaying captions in Remotion with TikTok-style pages and word highlighting
- [rules/extract-frames.md](rules/extract-frames.md) - Extract frames from videos at specific timestamps using Mediabunny
- [rules/fonts.md](rules/fonts.md) - Loading Google Fonts and local fonts in Remotion
- [rules/get-audio-duration.md](rules/get-audio-duration.md) - Getting the duration of an audio file in seconds with Mediabunny
- [rules/get-video-dimensions.md](rules/get-video-dimensions.md) - Getting the width and height of a video file with Mediabunny
- [rules/get-video-duration.md](rules/get-video-duration.md) - Getting the duration of a video file in seconds with Mediabunny
- [rules/gifs.md](rules/gifs.md) - Displaying GIFs synchronized with Remotion's timeline
- [rules/images.md](rules/images.md) - Embedding images in Remotion using the Img component
- [rules/import-srt-captions.md](rules/import-srt-captions.md) - Importing .srt subtitle files into Remotion using @remotion/captions
- [rules/lottie.md](rules/lottie.md) - Embedding Lottie animations in Remotion
- [rules/measuring-dom-nodes.md](rules/measuring-dom-nodes.md) - Measuring DOM element dimensions in Remotion
- [rules/measuring-text.md](rules/measuring-text.md) - Measuring text dimensions, fitting text to containers, and checking overflow
- [rules/sequencing.md](rules/sequencing.md) - Sequencing patterns for Remotion - delay, trim, limit duration of items
- [rules/tailwind.md](rules/tailwind.md) - Using TailwindCSS in Remotion
- [rules/text-animations.md](rules/text-animations.md) - Typography and text animation patterns for Remotion
- [rules/timing.md](rules/timing.md) - Interpolation curves in Remotion - linear, easing, spring animations
- [rules/transcribe-captions.md](rules/transcribe-captions.md) - Transcribing audio to generate captions in Remotion
- [rules/transitions.md](rules/transitions.md) - Scene transition patterns for Remotion
- [rules/trimming.md](rules/trimming.md) - Trimming patterns for Remotion - cut the beginning or end of animations
- [rules/videos.md](rules/videos.md) - Embedding videos in Remotion - trimming, volume, speed, looping, pitch
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Runtime and data boundaries
Use installed project tooling and lockfile versions; commands using package runners may download code when the CLI is absent. Install only dependencies needed by the agreed task and keep all Remotion packages on the same version. Remote media, font and transcription requests disclose data to their providers; use authorized assets and confirm paid/cloud transcription scope. Examples are partial component snippets unless exported; hooks belong inside React components, not module scope. using examples require TypeScript explicit resource management support. Validate rendered frames and audio in the target runtime.
Skill liên quan
- repo-maintainer – Kiểm tra và sửa vệ sinh repository ở các artifact, dependency, CI, tài liệu, trạng thái…
- repo-native-refactor – Review diff mà không chỉnh sửa, hoặc thực hiện dọn dẹp dựa trên bằng chứng trong khi giữ…
- requesting-code-review – Dùng khi hoàn thành tác vụ, triển khai tính năng lớn, hoặc trước khi merge để xác minh…
- resolving-merge-conflicts – Dùng khi cần giải quyết xung đột merge/rebase git đang dang dở.
- review-and-simplify-changes – Đánh giá git diff hoặc phạm vi tệp được chỉ định về khả năng tái sử dụng, chất lượng mã…
- review-animations – Dùng khi cần đánh giá mã animation và chuyển động theo tiêu chuẩn nghiêm ngặt về thủ…
- review-response-generator – Review Response Generator. Dùng khi làm việc với nội dung đánh giá và ngữ cảnh kinh…
- review-swarm – Đánh giá song song chỉ đọc bằng nhiều agent trên git diff hiện tại hoặc phạm vi tệp được…