重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
remotion-transitions by ashad001/remotion-transitions
npx skills add https://github.com/ashad001/remotion-transitions --skill remotion-transitions本技能将教你如何使用 TransitionPresentation API 在 Remotion 中构建生产级、高能量的自定义过渡效果——这正是 Fyltr 的 Instagram Reel 广告活动中所使用的模式。
TransitionPresentation API、确切的组件结构以及时间控制原理clamp 外推模式Remotion 的 @remotion/transitions 包公开了一个 TransitionPresentation 类型。你需要实现一个接收以下参数的组件:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
presentationProgress — 过渡开始时为 0 → 过渡结束时为 1presentationDirection — "exiting"(旧场景)或 "entering"(新场景)children — 被包装的场景同一个组件会同时包装两个场景。你需要根据方向来动画化不同的内容。
presentationProgress 驱动的 interpolate() / spring() 实现useCurrentFrame() — 仅使用 presentationProgress{ component, props: {} } — props 对象必须存在,即使为空linearTiming(用于戏剧性的逐帧完美过渡)或 springTiming(用于弹性物理效果)配对使用每周安装量
51
代码仓库
GitHub 星标数
53
首次出现
14 天前
安全审计
已安装于
kimi-cli50
gemini-cli50
github-copilot50
amp50
cline50
codex50
This skill teaches you how to build production-grade, high-energy custom transitions in Remotion using the TransitionPresentation API — the same pattern used in Fyltr's Instagram Reel campaign.
TransitionPresentation API, the exact component shape, and how timing worksclamp extrapolation pattern used throughoutRemotion's @remotion/transitions package exposes a TransitionPresentation type. You implement a component that receives:
presentationProgress — 0 at transition start → 1 at transition endpresentationDirection — "exiting" (old scene) or "entering" (new scene)children — the scene being wrappedThe same component wraps both scenes simultaneously. You animate different things depending on direction.
interpolate() / spring() driven by presentationProgressuseCurrentFrame() inside a transition component — use presentationProgress only{ component, props: {} } — the props object must exist even if emptylinearTiming (for dramatic frame-perfect transitions) or springTiming (for springy physics)Weekly Installs
51
Repository
GitHub Stars
53
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
kimi-cli50
gemini-cli50
github-copilot50
amp50
cline50
codex50
React视图过渡API使用指南:实现原生浏览器动画与状态管理
9,100 周安装