Back to Remotion

Upload Element Previews

.agents/skills/upload-element-previews/SKILL.md

4.0.514633 B
Original Source

Upload Element Previews

  1. Identify the Element slug. Ask if it is ambiguous.
  2. Choose the source:
    • Use render for fresh files in .element-previews.
    • Use submission for committed files in static/elements.
  3. Upload the previews:
bash
cd packages/docs
bun run upload-element-preview \
  --element=<category>/<slug> \
  --source=<render|submission>
  1. Replace image, posterUrl, and videoUrl with the printed remotion.media URLs.
  2. If using submission, delete the local review assets. If using render, leave .element-previews uncommitted.
  3. Commit and push when the work belongs on a branch.