gh-depbot
Installation
SKILL.md
gh-depbot
Write a .github/dependabot.yml that keeps a repo's dependencies current without drowning it in pull requests. The full ecosystem table, option reference, and example configs are in references/config.md — consult it for exact keys and allowed values rather than guessing.
This configures version updates (the updates: blocks). Dependabot security updates and whether Dependabot runs at all are repository settings (Settings → Code security), not this file — mention that, but don't try to toggle them here.
Workflow
- Detect the ecosystems. Scan the repo for manifests and map each to a
package-ecosystemvalue (the table in references/config.md has the mapping —package.json→npm,go.mod→gomod,Cargo.toml→cargo,pyproject.toml/requirements*.txt→piporuv,pom.xml→maven,Dockerfile→docker, and alwaysgithub-actionswhen.github/workflows/exists, etc.). Only include ecosystems that are actually present — never scaffold empty blocks. - Handle monorepos. When a manifest lives outside the root, set
directoryto its path; when several share an ecosystem, preferdirectories(it supports*globs —directorydoes not). - Reuse, don't clobber. If
.github/dependabot.ymlalready exists, read it first and add/adjust the relevantupdatesentries in place; ask before changing or removing anything already there. - Apply the house defaults per entry (let the user override):
schedule: { interval: weekly }commit-message: { prefix: chore, include: scope }— matches the Conventional-Commit house style.- Group minor & patch updates so routine bumps land as one PR per ecosystem instead of a swarm; keep majors separate so they get individual review. (See the grouped example in references/config.md.)
- Consider
open-pull-requests-limit,labels,target-branch, andignore/allowonly when the user wants them — don't clutter the file with defaults that already apply.
- Write
.github/dependabot.yml(create.github/if missing; it sits directly in.github/, not in a subfolder). Then note it takes effect once merged to the default branch — there's no apply command.