Fix a Dependabot PR by updating all monorepo instances of the dependency, running bun install, and pushing
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/fix-dependabot/SKILL.mdDependabot 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.
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.
Checkout the branch:
git fetch origin <branch>
git checkout <branch>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.
Run bun install from the repo root to regenerate bun.lock.
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.
Commit and push:
git add -u
git commit -m "Update <dependency> to <version> across all monorepo packages"
git pushmain):git checkout mainbun install fails, the dependency version may have conflicts with other packages. In that case, close the PR and comment explaining why.1b58387
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.