fix-dependabot

SkillDev tools

fix-dependabot is a skill that lets an AI agent fix a Dependabot pull request. Dependabot PRs typically update only one package. and leave the lockfile stale and sibling packages on the old version. The skill has the agent update every monorepo instance of the dependency, regenerate the lockfile with bun install, and push the result to the PR branch.

Use fix-dependabot in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add fix-dependabot and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the fix-dependabot skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Have a repository with a Dependabot pull request that bumps a dependency version.

fix-dependabotStart free

What your AI can do with it

  • Identifies a Dependabot PR's branch, dependency, and old and new versions using gh pr
  • Checks out the Dependabot PR branch locally
  • Finds every package.
  • Runs bun install from the repo root to regenerate bun.lock
  • Verifies with git status that only expected files changed before committing
  • Commits the changes and pushes them to the PR branch, then switches back to the previous

Getting started

  1. Have a repository with a Dependabot pull request that bumps a dependency version.
  2. Make sure the agent has the gh CLI, git, and bun available, with access to the repository.
  3. Add the fix-dependabot skill to the agent so it can follow its steps.
  4. Ask the agent to fix the Dependabot PR, giving it the PR number.
  5. Review the pushed changes on the PR branch before merging.

What this skill tells your AI

The instructions your AI receives, as published by remotion-dev/remotion in .agents/skills/fix-dependabot/SKILL.md and read by ahel’s review.

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:

git add -u
git commit -m "Update <dependency> to <version> across all monorepo packages"
git push
  1. Switch back — Return to your previous branch (usually main):
git checkout main

Notes

  • Dependabot says "Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself" — but updating the lockfile and sibling packages is the expected workflow and won't cause issues.
  • If the version bump is a major version (e.g. vite 5 → 6), consider whether the upgrade is appropriate or if it should be ignored. Check for breaking changes.
  • If bun install fails, the dependency version may have conflicts with other packages. In that case, close the PR and comment explaining why.

Signals

GitHub stars
61k
Forks
5k
Last commit
Sep 2026

Others that do the same job

Questions

Will editing the Dependabot PR cause conflicts?
Dependabot says it will resolve conflicts as long as you don't alter the PR, but updating the lockfile and sibling packages is the expected workflow and won't cause issues.
What about major version bumps?
For a major version bump (e.g. vite 5 to 6), the skill notes you should consider whether the upgrade is appropriate and check for breaking changes before proceeding.
What if bun install fails?
The dependency version may conflict with other packages. In that case the agent should close the PR and leave a comment explaining why.
Advanced
Item type
skill
Key
fix-dependabot-remotion-dev
Source
github.com/remotion-dev/remotion