Communitygithub.com

Asymmetric-al/core

使用 React 进行视频创作的最佳实践 – Remotion 技能包

core 是什么?

该技能为使用 Remotion(一个基于 React 的视频创建库)的开发者提供了全面的最佳实践和领域特定知识。它涵盖了从字幕处理、FFmpeg 集成、音频可视化到 3D 内容、动画、资产管理、音频处理、图表、过渡效果、字体加载、地图、语音旁白等各个方面。技能支持包括 TailwindCSS、Lottie、Three.js、React Three Fiber、Mediabunny、ElevenLabs TTS 等多种工具和库的集成。通过阅读独立的规则文件,开发者可以快速获得代码示例和详细说明,从而提高 Remotion 视频制作的效率和质量。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/Asymmetric-al/core/tree/HEAD/.agents/skills/remotion-best-practices

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

何时使用

在处理 Remotion 代码时,请使用此技能以获取领域特定知识。

字幕

处理字幕时,请加载 ./rules/subtitles.md 文件以获取更多信息。

使用 FFmpeg

对于某些视频操作(例如修剪视频或检测静音),应使用 FFmpeg。请加载 ./rules/ffmpeg.md 文件以获取更多信息。

音频可视化

当需要可视化音频(频谱条、波形、低音响应效果)时,请加载 ./rules/audio-visualization.md 文件以获取更多信息。

如何使用

阅读各个规则文件以获取详细解释和代码示例:

Individual skills in this repo

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

Asymmetric-al/core

Build animations for Expo and React Native only, using Reanimated, Gesture Handler, Expo Router, and expo-haptics. Use when the target runtime is an Expo or React Native app. Do not use it for Core Next.js web motion; use `animate` for web. Only runs when explicitly invoked; it does not trigger on its own.

Asymmetric-al/core

Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations. Only runs when explicitly invoked; it does not trigger on its own.

Asymmetric-al/core

Reverse-lookup glossary that turns a vague description of a web animation or motion effect into its exact term ("the bouncy thing when a popover opens" → Pop in; "the iOS rubber-band scroll" → Rubber-banding). Use when the user asks "what's it called when…", or describes a motion effect without knowing its name and wants the right word to prompt an AI or designer with. For naming an effect, not designing or building one.

Asymmetric-al/core

Inspect a Core UI or code surface for a small number of justified motion opportunities and explicitly identify what should remain static. Use when asked what should animate, where motion would improve feedback or comprehension, how to make an interface feel more alive without over-animating it, or whether a proposed animation is worth adding. Read-only; do not use to review or fix existing motion code or to implement animations.

Asymmetric-al/core

Survey a codebase's animation and motion code as a senior motion advisor, then produce a prioritized audit and self-contained implementation plans for other agents (or cheaper models) to execute. Read-only on source code — it plans improvements, it does not apply them. Use when the user asks to "improve the animations", "audit the motion", "make this app feel better", or wants a roadmap of animation fixes rather than a review of a single diff.

Asymmetric-al/core

Implement smooth, accessible animations with motion/react (Framer Motion) in React. Use when adding animations, gestures, or layout transitions with motion, AnimatePresence, useScroll, and related APIs. Requires a 'use client' boundary; not for strictly server-rendered components or when no animation is needed.

Asymmetric-al/core

Reviews animation and motion code against a high craft bar derived from Emil Kowalski's design engineering philosophy. Default to flagging; approval is earned.

相关技能