remotion-dev avatar

Fix Dependabot

If you run a monorepo with Bun, you know Dependabot only updates one package.json and leaves your lockfile stale. This skill automates the tedious fix: it checks out the Dependabot branch, uses ripgrep to find every instance of the old dependency version across your monorepo, updates them all while preserving your version prefix style, regenerates bun.lock, and pushes everything back. It's basically the manual checklist you'd follow anyway, but scripted. The notes warn you about major version bumps and what to do if bun install fails, which is refreshingly practical.

skills.sh installs
1.1K
GitHub stars
72.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add remotion-dev/remotion --skill fix-dependabot --agent claude-code

Installs into .claude/skills of the current project.

Files

Dependabot PRs only update one package.json and never run bun install, so the bun.lock file is out of date and other packages in the monorepo still reference the old version. This skill fixes both problems.

Steps

  1. Get PR info — Use gh pr view <number> --json headRefName,files,title,body to identify the branch name, which dependency was bumped, and the old/new versions.

  2. Checkout the branch:

git fetch origin <branch>
git checkout <branch>
  1. Update all monorepo instances — Dependabot only touches one package. Search for all other package.json files that reference the same dependency at the old version and update them too:
rg '"<dependency>": "[~^]?<old-version>"' --glob '**/package.json'

Update every match to the new version. Preserve the prefix style (^, ~, or exact) that each package already uses.

  1. Run bun install from the repo root to regenerate bun.lock.

  2. Verify — Run git status to confirm only bun.lock and the expected package.json files were modified. If other unexpected files changed, investigate before proceeding.

  3. Commit and push:

Sponsors

Details

Repository
github.com/remotion-dev/remotion
Categories
Debugging, Generative Media
First seen
Jun 3, 2026

More from remotion-dev/remotion

All 13

Recommended

More Debugging
1aradotso avatarpentest-agents-bug-bounty-frameworkaradotso/security-skillspentest agents bug bounty framework1Kskills.sh installs
2affaan-m avatarreact-performanceaffaan-m/everything-claude-codereact performance903skills.sh installs
3mindrally avatarperformance-optimizationmindrally/skillsPerformance optimization guidelines for web development including server-side rendering, CSS best practices, and JavaScript optimization883skills.sh installs
4sentinelcore avatarroblox-performancesentinelcore/roblox-skillsUse when optimizing a Roblox game for better frame rates, reducing lag, improving server or client performance, diagnosing FPS drops, handling large worlds, or 881skills.sh installs
5zhanghandong avatarm06-error-handlingzhanghandong/rust-skillsm06 error handling827skills.sh installs
6codexstar69 avatarbug-huntercodexstar69/bug-hunterAdversarial bug hunting with a sequential-first pipeline (Recon, Hunter, Skeptic, Referee) that can optionally use safe read-only parallel triage. Scans without823skills.sh installs