跳到正文
cccskills
免费在 GitHub 公开

remotion-create

Create a new Remotion video

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(5)

  • SKILL.md2.6 KB
  • agents/openai.yaml310 B
  • assets/remotion-icon.svg1.3 KB
  • tailwind.md386 B
  • video-layout.md498 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

These are instructions for making a new Remotion project and composition.
If this is not the next task, see Remotion Best Practices

Scaffold a project

If a project already exists, skip this. Ensure Node.js and Git is installed, and the current folder is appropriate for starting a new project.

Inspect the current folder, including hidden files, before choosing where to scaffold.

Empty folder

If it is empty, or contains only disposable operating-system metadata such as .DS_Store, create the project directly in the current folder. Remove only those disposable metadata files first, since create-video rejects non-empty folders. Do not treat all hidden files as disposable: files such as .env and directories such as .git are meaningful contents.

Scaffold in existing folder:

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

Non-empty folder

If the current folder contains meaningful contents and no project already exists, scaffold into a new subfolder. Replace my-video with a suitable project name.

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

Open the preview before building the video

As soon as the project can run, open Remotion Studio in the browser before writing or changing the composition. For a new project, do this immediately after scaffolding and installing dependencies. For an existing project, do it before editing the video. Keep Studio running while you work so the user can see changes as they appear and steer the result.

Designing a video

Keep the scaffold and add React Markup. Follow Remotion React Markup Best Practices and Video Layout Rules for video-first layout and text sizing guidance.

Before writing the root that registers <Composition> or <Still> elements, follow Compositions and stills.

Is this a timeline of clips?

If the video arranges multiple video or audio clips on a timeline, follow Video editing before writing the timeline. Give every clip that should be edited independently its own authored JSX node.

Is this a multi-scene video?

If this is a video with multiple subsequent scenes, follow guidance at Multi-scene videos.

Interactivity Best Practices

By structuring the React Markup following Remotion Interactivity Best Practices, you allow the user to make edits in the Studio which write back to code.

TailwindCSS

If Tailwind is requested, see tailwind.md for using TailwindCSS in Remotion.

Follow-up

The video creation process has finished. For follow-up prompts, use Remotion Best Practices

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Router for all Remotion skills

中文简介正在准备中。当前显示原文说明。

remotion-dev/codex-plugin262026年10月16日 更新

Transcribing, displaying and animating captions

中文简介正在准备中。当前显示原文说明。

remotion-dev/codex-plugin262026年10月16日 更新

Search Remotion documentation

中文简介正在准备中。当前显示原文说明。

remotion-dev/codex-plugin262026年10月16日 更新

Structure Remotion markup for interactivity

中文简介正在准备中。当前显示原文说明。

remotion-dev/codex-plugin262026年10月16日 更新

Remotion Map animation knowledge

中文简介正在准备中。当前显示原文说明。

remotion-dev/codex-plugin262026年10月16日 更新

Content, animation and effects best practices

中文简介正在准备中。当前显示原文说明。

remotion-dev/codex-plugin262026年10月16日 更新

查看 remotion-dev 的全部技能

报告此技能的问题