Community编程与开发github.com

remotion-create

创建一个新的 Remotion 视频项目

remotion-create 是什么?

该技能用于快速搭建新的 Remotion 视频项目并创建合成。它指导开发者使用 `npx create-video` 脚手架生成空白项目,安装依赖,并按照 Remotion React 标记最佳实践和视频布局规则设计视频内容。技能还支持交互式编辑:通过遵循 Remotion 交互最佳实践,用户可以在 Studio 中修改代码并实时预览。如果需要 TailwindCSS,技能也会引导查阅相关配置说明。最终通过 `npx remotion studio` 启动预览服务器,完成视频创作流程。该技能适用于 Remotion 平台,帮助开发者高效地启动和管理视频项目。

兼容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/remotion-dev/skills/tree/main/skills/remotion-best-practices/remotion-create

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

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

文档

这是创建新的 Remotion 项目和合成的说明。 如果不是下一个任务,请参阅 Remotion 最佳实践

脚手架项目

如果项目已存在,请跳过此步骤。 确保已安装 Node.js 和 Git,并且当前文件夹适合开始一个新项目。

使用以下命令创建脚手架:

npx create-video@latest --yes --blank --no-tailwind my-video
cd my-video
npm i

将 my-video 替换为合适的项目名称。

设计视频

保留脚手架并添加 React 标记。请遵循 Remotion React 标记最佳实践 和 视频布局规则 以获取视频优先布局和文本大小调整的指导。

交互最佳实践

通过按照 Remotion 交互最佳实践 结构化 React 标记,您可以允许用户在 Studio 中进行编辑,并将更改写回代码。

TailwindCSS

如果请求使用 Tailwind,请参阅 tailwind.md 以了解如何在 Remotion 中使用 TailwindCSS。

启动预览

npx remotion studio --no-open

这将启动一个长时间运行的进程,并打印预览的服务器 URL。

后续步骤

视频创建过程已完成。 对于后续提示,请使用 Remotion 最佳实践

Individual skills in this repo

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

mediabunny

Multimedia handling with the Mediabunny library

remotion-best-practices

Router for all Remotion skills

remotion-captions

Transcribing, displaying and animating captions

remotion-captions

Dealing with captions in Remotion

remotion-create

Create a new Remotion video

remotion-docs

Search Remotion documentation

remotion-docs

Search and fetch Remotion documentation pages

remotion-elements

Installs Elements, reusable video components such as titles, backgrounds, charts and caption styles, into a Remotion project with `npx remotion elements use`. Registers Element libraries in Remotion Studio with `npx remotion elements add-library`. Use when given an Element page URL or an Element library URL, or when a video needs a ready-made component.

remotion-interactivity

Structure Remotion markup for interactivity

remotion-interactivity

Best practices for writing Remotion animations that stay intuitive for agents and editable in Remotion Studio Visual Mode.

remotion-license

Find Remotion license information, FAQs, terms, and where to buy a license.

remotion-maps

Remotion Map animation knowledge

remotion-markup

Content, animation and effects best practices

remotion-markup

Best practices for writing Remotion React Markup

remotion-multimedia

Interacting with Mediabunny

remotion-render

Best practices for rendering videos

remotion-saas

Building video apps with Remotion - framework, rendering and Player advice

remotion-saas

Build an app with Remotion

remotion-studio

Preview a Remotion video

remotion-upgrade

Upgrade Remotion, and related packages

相关技能