remotion-dev/remotion234 installs
release
Release a new Remotion version
How do I install this agent skill?
npx skills add https://github.com/remotion-dev/remotion --skill releaseIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The skill automates sensitive release workflows for Remotion, including credential retrieval from 1Password and changelog generation from GitHub data. While these are functional requirements, they involve high-privilege operations like process termination and handling raw credentials in shell commands.
- Socketwarn
1 alert: gptAnomaly
- Snykfail
Risk: HIGH · 2 issues
What does this agent skill do?
- Kill any
turboprocesses that might be running with SIGKILL - Before beginning the release, verify that gcloud is logged in by running
gcloud auth print-access-token >/dev/null. If it fails, rungcloud auth login, then repeat the check. Do not continue with the release until the check succeeds. - Codex-specific: Before running release commands, make sure rbenv wins over the macOS system Ruby. Codex may start non-interactive shells with
/usr/binbefore~/.rbenv/shims, causing Ruby 2.6 to be used even though the user's terminal uses Ruby 3.3.x. Run release commands that may invoke Ruby/Bundler with:PATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" <command>Verify withPATH="$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" ruby --version; it should use the user's rbenv Ruby, not/usr/bin/ruby. This matters because the lambda Ruby package currently resolves gems such asjsonthat require Ruby >= 2.7. - Run
npm login(I will manually do 2FA in the browser) - Use
op item get "Npmjs" --fields password --reveal --account remotiondev.1password.comto get the password for NPM. - Use
op item get "Npmjs" --otp --account remotiondev.1password.comto get a one-time password for 2FA. - Run
npm token create --name="PublishRemotionXXXXXX" --packages "remotion" --packages "create-video" --packages-and-scopes-permission read-write --bypass-2fa --scopes "@remotion" --otp=<otp>. Replace XXXXXX with a random string so we have a unique name. Useop item get "Npmjs" --otp --account remotiondev.1password.comto get the OTP and pass it via--otp=. It will ask for a password, pipe in the password usingecho "$PASSWORD" |. - Run
bun i - Run
bun run build - Run
npm view remotion versionto get the current version number - Run
bun set-version.ts <version>, where <version> is the current version plus 1. If the exit code is not 0, abort the entire release process immediately. - Run
cd packages/example && sh runlambda.sh && cd ../... If this fails, abort the release. - Run
NPM_CONFIG_TOKEN=<token> bun run releasewhere <token> is the NPM token we just created - Run
bun run publishtemplatesfrom the repository root to republish every template with the newly released packages. If any template fails to publish, stop the release workflow and report the failure. - Generate a changelog in markdown and save it to
/tmp/release-<version>.md:- Run
git log v<previous_version>..v<new_version> --onelineto get all commits - Extract PR numbers from merge commits
- For each PR, run
gh pr view <number> --json title,author,number,url --jq '"* \(.title) by @\(.author.login) in \(.url)"' - Categorize PRs into sections: "What's Changed", "Templates", "Docs", "Internal"
- In "What's Changed", sort items so that entries for the same package are adjacent (no subheadings, just sorted order). Changes to the
remotioncore package should appear first - Strip redundant prefixes from PR titles (e.g. remove "Docs:" from items in the Docs section)
- Linkify items whose PR added a new documentation page: run
git diff --diff-filter=A --name-only v<previous_version>..v<new_version> -- 'packages/docs/docs/**/*.mdx' 'packages/docs/docs/**/*.md'to list added docs pages, map each added page to the PR that introduced it, and wrap that item's title in a markdown link to the page (e.g.* [<title>](https://remotion.dev/docs/<slug>) by @author in <url>). Determine the URL from the page'sslug:frontmatter if present, otherwise from its file path relative topackages/docs/docs/. Leave items without a new docs page unlinked. - "Templates" is a separate section for any template-* changes
- Check for genuinely new contributors by running
gh api repos/remotion-dev/remotion/contributors --paginate --jq '.[].login'and comparing against PR authors. Only add a "New Contributors" section for authors not in that list - Add
**Full Changelog**: https://github.com/remotion-dev/remotion/compare/v<previous_version>...v<new_version>at the bottom - Use the same format as previous GitHub releases (check with
gh release view v<previous_version>) - Don't release until you get approval. Allow me to edit it before.
- Run
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/remotion-dev/remotion/release">View release on skillZs</a>