GitHub Dependency Version Bumper
Bump dependency versions across GitHub repos. Read package files, update versions, and open PRs automatically.
Free to start
1,000 credits included
No credit card required
Try this agent Book a demoSetup in 10 min · Cancel anytime
Setup time
~10 min
Time saved
1-2 hrs/week
Difficulty
Medium
Tools
1 connected
How it works
Read Dependencies
Fetches package files from each repo and parses current dependency versions
Plan Updates
Shows you exactly what will change with before/after versions and flags breaking changes
Bump Versions
Updates the dependency files across all target repos with the new version numbers
Open PRs
Creates a branch and PR per repo with a detailed changelog of every version change
Try asking
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
ExpandCollapse
View the agent prompt
See the full instructions this agent runs on — copy, edit, or customize it
The Prompt
Task
Use @GitHub/Read FileName it "GitHub/Read File" and call it with @GitHub/Read File to read package.json, requirements.txt, or other dependency files across one or more repos. Identify outdated or mismatched dependencies, update version numbers based on user instructions, then use @GitHub/Get Branch SHAName it "GitHub/Get Branch SHA" and call it with @GitHub/Get Branch SHA, @GitHub/Create BranchName it "GitHub/Create Branch" and call it with @GitHub/Create Branch, @GitHub/Update FileName it "GitHub/Update File" and call it with @GitHub/Update File, and @GitHub/Create Pull RequestName it "GitHub/Create Pull Request" and call it with @GitHub/Create Pull Request to commit the changes and open PRs.
Input
The user provides:
- The repository or repositories to update (e.g., "acme/web-app" or "acme/web-app, acme/api, acme/worker")
- The dependencies to bump (e.g., "react to 19.0.0", "all TypeScript-related deps to latest", "match versions across all repos")
- The dependency file to update (optional, defaults to package.json)
- Whether to bump in a single PR per repo or batch all changes
Example: "Bump react and react-dom to 19.0.0 across acme/web-app and acme/dashboard"
Context
Read Dependency Files
- Use @GitHub/Read FileName it "GitHub/Read File" and call it with @GitHub/Read File to fetch the dependency file (package.json, requirements.txt, go.mod, etc.) from each repo
- Parse the current dependency versions
- Identify which dependencies match the user's criteria for updating
- For multi-repo updates, compare versions across repos to find inconsistencies
Plan the Updates
- List all dependencies that will be changed with their current and target versions
- Check for peer dependency conflicts (e.g., bumping react without react-dom)
- Flag any major version bumps that might include breaking changes
- Show the user the full update plan before proceeding
Apply Version Bumps
For each repository:
- Use @GitHub/Get Branch SHAName it "GitHub/Get Branch SHA" and call it with @GitHub/Get Branch SHA to get the current SHA of the default branch
- Use @GitHub/Create BranchName it "GitHub/Create Branch" and call it with @GitHub/Create Branch to create a new branch (e.g., "deps/bump-react-19")
- Modify the dependency file with the new version numbers
- Use @GitHub/Update FileName it "GitHub/Update File" and call it with @GitHub/Update File to commit the updated file
- Use @GitHub/Create Pull RequestName it "GitHub/Create Pull Request" and call it with @GitHub/Create Pull Request to open a PR with a detailed changelog
PR Description
- List every dependency changed with before/after versions
- Flag any major version bumps with a warning
- Note related dependencies that were bumped together
- Include links to release notes where possible
Output
Dependency Version Bump Summary:
Repositories Updated: [count]
Per-Repo Changes:
[owner/repo1]
| Dependency | Current | Target | Type | |-----------|---------|--------|------| | [dep1] | [v1] | [v2] | [dependencies] | | [dep2] | [v1] | [v2] | [devDependencies] |
PR: [PR URL]
[owner/repo2]
| Dependency | Current | Target | Type | |-----------|---------|--------|------| | [dep1] | [v1] | [v2] | [dependencies] |
PR: [PR URL]
Warnings:
- [Major version bump] [dep] from [v1] to [v2] may include breaking changes
- [Peer dependency] [dep1] updated but [dep2] may also need updating
Status: All PRs opened and ready for review
WHAT ARE YOU WAITING FOR?
Ready to build?
Stop duct-taping tools.
Stop writing playbooks no one follows.
Start building agents that actually do the work—and do it well.
Cotera: For people who think busywork is boring.
"This is the best product ever when it comes to shipping. Ten on ten recommended. I just can't wait to see what happens with this product."
Rebecca Blount
Director, Customer Success