dependency-update-conventions
Skill7 starsChanged 4 days agoMITView on GitHub
Renovate configuration and its PRs; Dependabot version updates are not used. TRIGGER when: editing `renovate.json`/`.json5`, `.renovaterc`, a `renovate` key in `package.json`; a repo has `.github/dependabot.yml`/`.yaml`; setting up automated updates; adding a custom manager; triaging or merging bot PRs, especially failing ones; user asks about update grouping or scheduling. SKIP when: bumping a dependency by hand with no bot involved.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- leroyguillaume/claudeedited, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- leroyguillaume/claude★ 798% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- adr-conventionsSkill
- api-conventionsSkill
- architecture-conventionsSkill
- argocd-conventionsSkill
- ci-conventionsSkill
- config-conventionsSkill
- contributing-conventionsSkill
- councilSkill
- cryptography-conventionsSkill
- diagram-conventionsSkill
- docker-conventionsSkill
- documentation-conventionsSkill
- frontend-conventionsSkill
- github-actions-conventionsSkill
- github-issue-conventionsSkill
- github-pr-conventionsSkill
- github-repo-settingsSkill
- gitlab-ci-conventionsSkill
- helm-conventionsSkill
- herdr-core-delegationSkill
- herdr-delegationSkill
- herdr-tui-delegationSkill
- kopf-conventionsSkill
- kubernetes-operator-conventionsSkill
- logging-conventionsSkill
- logo-conventionsSkill
- mise-conventionsSkill
- ollama-conventionsSkill
- openssf-conventionsSkill
- pr-conventionsSkill
- pre-commit-conventionsSkill
- project-metadata-conventionsSkill
- python-async-conventionsSkill
- python-conventionsSkill
- readme-conventionsSkill
- release-script-conventionsSkill
- release-supply-chain-conventionsSkill
- renovate-ci-conventionsSkill
- rest-conventionsSkill
- rust-build-conventionsSkill
- rust-conventionsSkill
- rust-http-conventionsSkill
- security-policy-conventionsSkill
- signal-handling-conventionsSkill
- sql-conventionsSkill
- starlight-conventionsSkill
- systemd-conventionsSkill
- system-user-conventionsSkill
- task-conventionsSkill
- terraform-conventionsSkill
- topic-splittingSkill
- ui-copy-conventionsSkill
- web-layout-conventionsSkill
- yaml-conventionsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 5 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 32
Delete .github/dependabot.yaml in the same PR, so no ecosystem has two owners for even one run.
- Distinctive: line 99
Add the group to the bot config in that same PR, so the next release arrives as one PR.
- Distinctive: line 222
Not automerging removes both the staleness and the workaround.
- Very specific: line 230
Every packageRules entry, customManagers entry and custom datasource takes a description, and Renovate surfaces it — in the dependency …
- Very specific: line 293
The baseline sets no label: When the repo has .github/release.yaml, add "labels": ["<changelog-category label>"] so bot PRs land in the …
- Very specific: line 360
When the *manager* exists but nothing knows how to list versions — a dashboard id on a vendor's API, an internal index — declare a …
- Distinctive: line 398
Never enable automerge, in any form — including a workflow that merges bot PRs for you.
- Very specific: line 400
Never add a .github/dependabot.yaml, and never leave Dependabot security updates on beside Renovate.
- Distinctive: line 402
Never turn the dependency dashboard off.
- Very specific: line 403
Never commit a Renovate config without renovate-config-validator --strict passing on it.
- Very specific: line 405
Never add a custom manager without a description quoting the line it matches, and never merge one without a dry run.
- Very specific: line 407
Never leave the pre-commit manager off in a repo with a .pre-commit-config.yaml.
- Very specific: line 409
Never take platformAutomerge: false for "automerge is off".
- Very specific: line 410
Never put commitMessage* at the top level and assume it applies — manager defaults win.
- Very specific: line 412
Never document a rule with a comment when it takes a description.
- Very specific: line 415
Never group a toolchain across mise and dockerfile without pointing mise at the image's tags.
- Very specific: line 417
Never tick a pending update on the dashboard to get past minimumReleaseAge on a grouped dependency — fix the rule.
- Distinctive: line 419
Never patch lockstep bot PRs one by one — bump the family together and add the group in the same PR.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dependency-update conventions
Renovate, and only Renovate
Renovate owns every dependency update, on every platform. One bot, one
config, one review flow: the same renovate.json shape on GitHub and on
GitLab, custom managers for the version strings no ecosystem knows about
(a chart version in a catalog, a tool in a Dockerfile ARG), the mise
manager for mise.toml and mise.lock, and grouping and scheduling rules
that apply across all of them. A second bot only adds a second config to keep
in step and a second place for a bump to come from. It runs self-hosted, from
the repository's own CI (renovate-ci-conventions).
Dependabot version updates are not used. A repository that still has a
.github/dependabot.yaml moves over in one PR:
- Map each Dependabot ecosystem to the Renovate manager that covers it
(
github-actions,cargo,npm,pip_requirements/pep621,dockerfile,pre-commit, …), and carry its groups, cooldown and labels over topackageRules,minimumReleaseAgeandlabels. - Delete
.github/dependabot.yamlin the same PR, so no ecosystem has two owners for even one run. - Turn Dependabot security updates off: Renovate's
vulnerabilityAlertsopens the security PRs, and both would open one for the same bump. Leave Dependabot alerts on — they are where Renovate reads the advisories from (github-repo-settings).
Pins stay pins. The github-actions manager bumps a SHA-pinned uses:
together with its trailing # vX.Y.Z comment, and the pre-commit manager a
rev: <sha> # frozen: <tag> line — but pre-commit is off by default
and must be enabled, or the hook revisions silently stop moving. It follows
hooks hosted on GitHub, GitLab and Forgejo only, and bumps
additional_dependencies only for a hook that declares language: golang,
node or python; any other one is bumped by hand.
Never automerge
No automerge, in any form. Not automerge: true, not an automerge preset
(:automergeMinor, :automergeDigest, …), not platformAutomerge, and not
a workflow that runs gh pr merge --auto on a bot PR.
The reason is not fear of breakage — it is that a dependency bump is a change to production that nobody read. Green CI is not a review: it proves the tests that already existed still pass, which is exactly the bar a compromised release is built to clear. The supply-chain attacks that matter all ship a version whose test suite is green.
platformAutomerge: false does not disable automerge, and reads as though
it does. It only chooses who merges: with automerge: true still set,
Renovate merges the PR itself instead of handing GitHub's auto-merge the job.
A config carrying "platformAutomerge": false next to "automerge": true is
an automerging config.
The cost is real and is paid deliberately: someone reads the bump, then presses merge — the user, or a session clearing the queue (below). A session merging on green CI alone is automerge under another name. Bring the number of presses down with grouping and scheduling, never with automerge:
- group patch and minor updates per ecosystem into one PR; keep every major on its own, because that one needs the release notes read;
- group what must move together — a different reason, which prevents breakage rather than noise; see the next section;
minimumReleaseAgeso a release has to survive a few days in the wild before it is proposed;prConcurrentLimitso the queue stays a queue and not a wall.
Group what must move together
Some packages are released in lockstep: a core crate and its SDK and
exporters, a framework and its integrations, two charts version-locked
upstream, the chart and the CRD set that are two sources of one Application.
A bot opens one PR per package, and each of them is broken on its own —
either it fails to build, or it merges alone and runs a combination nobody
tested.
Spot it on the PRs themselves. Several bot PRs for the same family, opened
together, all red with type or trait mismatches between sibling packages
(expected X, found X naming two versions of one crate, a method or trait
impl that "does not exist" on a type from the sibling), are one lockstep
group, not N bugs. Bumping one member leaves two versions of the core in the
dependency graph; that is the whole error.
Then, instead of patching each PR:
- Open one PR that bumps the whole family together, and fix the code there if the new release genuinely needs it — usually it does not.
- Add the group to the bot config in that same PR, so the next release arrives as one PR.
- Close the bot PRs it supersedes, each with a comment naming the PR that replaces them.
The group takes every update type, majors included. A lockstep family
breaks on a major exactly as on a minor, and 0.x families bump the minor for
a breaking release anyway. config:recommended already groups the monorepos
it knows (group:monorepos); add a rule only for a family it misses, and
match by file (matchFileNames) when a member's depName is a git URL rather
than a package name. Put the lockstep rule after the patch/minor
catch-all: when several packageRules match, the later one's groupName
wins.
A group can span managers. A toolchain pinned in mise.toml and in a
Dockerfile FROM is seen by mise and by dockerfile, which open one PR
each; both carry the same depName (rust, python, node), so group on
matchDepNames, never on matchManagers.
{
"packageRules": [
{
"description": "Minor and patch bumps land as one PR; each major gets its own",
"matchUpdateTypes": ["minor", "patch"],
"groupName": "minor and patch"
},
{
"description": "SDK and exporters only compile against the matching opentelemetry release",
"matchPackageNames": ["opentelemetry*"],
"groupName": "opentelemetry"
}
]
}Grouping is not enough: point mise at the image's tags. mise reads a
toolchain's versions from its own release feed (static.rust-lang.org,
nodejs.org, python.org), dockerfile from the registry, and the official
image ships days after the toolchain. A group only carries updates that
exist, so its branch leaves with mise.toml alone and the FROM stays
behind. A rule scoped to mise makes it read the image's tags instead, so it
only moves to a version whose image is out — then mind the
missing timestamps:
{
"description": "mise bumps rust only to a version the official rust image ships",
"matchManagers": ["mise"],
"matchDepNames": ["rust"],
"overrideDatasource": "docker",
"overridePackageName": "rust",
"versioning": "docker"
}Families that are known to move together — examples, not a whitelist; the failing PRs above are the real signal:
| Ecosystem | Family |
| cargo | opentelemetry*; tonic* with prost*; aws-sdk-* with aws-config, aws-smithy-*; aide with schemars, axum, axum-extra |
| npm | @astrojs/* with astro; react with react-dom; @typescript-eslint/* |
| pip | boto3 with botocore |
| Helm / Argo CD | a chart and its separately-sourced CRDs |
| mise + dockerfile | a toolchain in mise.toml and its FROM image, with mise on the image's tags |
Clearing the PR queue
Sort the queue with a look, not an investigation: each open bot PR, its CI status and its update type.
A green PR that needs no code change is read, then merged by the
session. Read the release notes or changelog across the whole range, from
the old version to the new one, and check the diff moves only what the PR
announces — no package appearing in a lockfile from nowhere. Leave it unmerged
and tell the user what was seen when something looks off: a new dependency or
install script, a changed maintainer or source repository, a release with no
notes or no matching upstream tag. Otherwise merge it, with every check green
and none pending, by the repo's merge method — never --admin past branch
protection, never --auto. One at a time: a merge often makes Renovate
rebase the others, so re-read the next one's checks. Then bring the main
checkout up to date, as after any merge.
A PR that needs examining gets a dedicated session: CI red, or a major
whose release notes announce a breaking change the code has to absorb. The
session clearing the queue launches one per such PR — a visible session of
its own inside herdr (herdr-delegation), a sub-agent otherwise — and does
not dig into it itself, not even a quick read of the failing job's log. The
investigation would fill the context that holds the queue, the fix needs its
own branch, PR and CI round-trips that the user follows in that session, and
several failing PRs move forward in parallel instead of one after the other.
One session per cause, not per PR. Several PRs red for one lockstep family are a single topic (previous section): one session, one grouped PR.
Dependency dashboard on
The dashboard is on, always. It is the only place that shows what Renovate decided not to open a PR for — rate-limited, blocked by a failed lookup, awaiting approval, deprecated datasource, explicitly ignored.
Without it, silence is ambiguous: no PR for three months reads as "nothing to update" and means "the manager stopped matching after a refactor" just as often. The dashboard is what turns that into a visible list.
{
"dependencyDashboard": { "enabled": true, "title": "Dependency dashboard" }
}It is an object: a bare true or a separate dependencyDashboardTitle is the
deprecated form, which Renovate migrates on the fly and flags with
Config needs migrating on every run.
- Automerge breaks the dashboard, which is the second reason not to use
it. Renovate writes the dashboard only on a pass that does not end in an
automerge, and gives up after one retry — so a run that merges anything
leaves the dashboard stale, and a repo that merges most days leaves it stale
for months. The known workaround is a second Renovate pass forced with
RENOVATE_FORCE: '{"automerge":false}'purely to reach the dashboard write. Not automerging removes both the staleness and the workaround. dependencyDashboardApproval: truefor majors is a good pairing with no-automerge on a busy repo: the major waits on the dashboard until someone ticks it, instead of sitting open as a stale PR.
Renovate configuration
Document rules with Renovate's own description field, not with comments.
Every packageRules entry, customManagers entry and custom datasource takes
a description, and Renovate surfaces it — in the dependency dashboard and in
the PR body — where a JSON5 comment is visible only to whoever opens the file.
A rule whose match is not self-evident, a pin with a reason, an ignoreDeps
entry: description, every time.
That settles the file format: plain renovate.json is enough, because the
documentation lives in the config rather than around it. Reach for
renovate.json5 only for commentary that genuinely should not appear in a PR
body.
Baseline:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"timezone": "Europe/Paris",
"dependencyDashboard": { "enabled": true },
"prConcurrentLimit": 5,
"minimumReleaseAge": "3 days",
"lockFileMaintenance": { "enabled": true }
}Validate it with
renovate-config-validator --strict, as a pre-commit hook. Renovate renames options between releases and keeps accepting the old names, so a stale key never fails a run: it only logsConfig needs migrating, where nobody looks.--strictfails on it instead, and when thepre-commitmanager bumps the hook to a Renovate release that renames a key, that bump's CI goes red;--migraterewrites the file into the current form.--no-globalis not optional: given file names, as the hook passes them, the validator checks them as self-hosted global config and misses repo-config problems.- repo: https://github.com/renovatebot/pre-commit-hooks rev: <latest tag SHA> # frozen: <latest tag> hooks: - id: renovate-config-validator args: - --strict - --no-globalminimumReleaseAgewaits forever on a release with no timestamp. Docker Hub's anonymous API refuses to page past 1000 tags, which official images such asrustornodeexceed, and quay.io gives no dates either: Renovate falls back to the registry's tag list, and the defaultminimumReleaseAgeBehaviour: "timestamp-required"leaves the update pending (Marking 1 release(s) as pending, as they do not have a releaseTimestamp). Unpending it from the dashboard opens the PR but splits its group. Two fixes, and the choice is the user's, so lay both out:minimumReleaseAge: nullon a rule matching those images, itsdescriptionsaying the image's own publication is the delay; or Docker Hub credentials inhostRules, a new secret for the Renovate job (renovate-ci-conventions).- Lock file maintenance is on. Renovate rewrites a lockfile only when a
direct dependency moves, so without it a transitive dependency in
Cargo.lock,uv.lockormise.lockstays on the version it was first locked at, CVE fixes included. It opens one weekly PR, reviewed like any other. - The baseline sets no label. When the repo has
.github/release.yaml, add"labels": ["<changelog-category label>"]so bot PRs land in the right release-notes section — seegithub-pr-conventions, and read the repo's actual labels rather than inventing one. With asecuritycategory,"vulnerabilityAlerts": {"labels": ["security"]}files the CVE fixes there, as the release notes must. Without that file, set no category label. Renovate applies no label unlesslabelsis set; relabelling a bot PR by hand is lost on the next one, so fix the config. Match the repository's commit style, read from
git log --onelinerather than assumed. Renovate's default ischore(deps): …; a repo writing lowercase<area>: <imperative>subjects setssemanticCommits: "disabled"and its owncommitMessage*keys.The
commitMessage*keys belong in apackageRulesentry matching every package, not at the top level — manager defaults (Helm release {{depName}}, and one per manager) beat top-levelcommitMessage*, so a top-level setting silently applies to some managers and not others:{ "matchPackageNames": ["*"], "commitMessagePrefix": "{{depName}}:", "commitMessageAction": "bump", "commitMessageTopic": "to {{newVersion}}", "commitMessageExtra": "" }rangeStrategy:pinfor an application (the deployed version belongs in git),bumpor the ecosystem default for a published library (pinning a library's ranges pushes the conflict onto its consumers).- Schedule off-hours if the repo is noisy, but never schedule security
updates away — leave
vulnerabilityAlertsunrestricted: with Dependabot security updates off, it is the only thing opening security PRs.
Scope the built-in managers before writing a custom one
Renovate ships managers for far more than lockfiles, and in a GitOps repo they
do most of the work: argocd (chart versions in Application manifests),
helm-values, crossplane, kubernetes, pre-commit. Check
whether one already sees your file before reaching for a regex.
Most of them are off, or scoped to filenames that do not match your layout, until you point them at it — that is the usual reason "Renovate isn't picking this up":
{
"argocd": {
"managerFilePatterns": ["/^apps/.*\\.yaml$/"]
},
"helm-values": {
"managerFilePatterns": ["/(^|/)values\\.ya?ml$/"]
},
"pre-commit": { "enabled": true }
}A manager that sees the file can still skip an entry, silently. mise
reads its registry but not aqua's: it skips aqua packages of the http type
(write helm, not aqua:helm/helm) and asdf or vfox plugin paths, and
misreads an aqua version_filter until a packageRules entry sets
extractVersion for that tool (cli/(?<version>.+) for
aqua:biomejs/biome). Check that every pin shows up under the dashboard's
detected dependencies.
Custom datasources
When the manager exists but nothing knows how to list versions — a dashboard
id on a vendor's API, an internal index — declare a customDatasources entry
with a transformTemplates JSONata expression mapping the response onto
releases[].version. It pairs with a custom manager: the manager finds the
string, the datasource says what newer looks like.
Give it a versioningTemplate that matches reality. A bare incrementing
integer with semver versioning classifies every bump as a major, which
then trips whatever gate you put on majors — use a regex: versioning instead
and say so in the description.
Custom managers
The reason Renovate is there at all, usually. Each one needs a description
saying which file it matches and quoting a line it matches — a regex over
someone else's format is unreadable six months later:
{
"customManagers": [
{
"description": "Chart versions in the app catalog, e.g. `// renovate: datasource=docker depName=…` followed by `version: '1.2.3',`",
"customType": "regex",
"managerFilePatterns": ["/^apps/[^/]+/catalog\\.libsonnet$/"],
"matchStrings": ["datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\s+version: '(?<currentValue>[^']+)'"],
"versioningTemplate": "semver"
}
]
}Dry-run a custom manager before merging it (renovate --dry-run, or the
debug log of the next run). A regex that matches nothing fails silently — it
just never opens a PR, which looks exactly like being up to date. That is also
what the dashboard is for.
Never:
- Never enable automerge, in any form — including a workflow that merges bot PRs for you.
- Never add a
.github/dependabot.yaml, and never leave Dependabot security updates on beside Renovate. - Never turn the dependency dashboard off.
- Never commit a Renovate config without
renovate-config-validator --strictpassing on it. - Never add a custom manager without a
descriptionquoting the line it matches, and never merge one without a dry run. - Never leave the
pre-commitmanager off in a repo with a.pre-commit-config.yaml. - Never take
platformAutomerge: falsefor "automerge is off". - Never put
commitMessage*at the top level and assume it applies — manager defaults win. - Never document a rule with a comment when it takes a
description. - In a repo with
.github/release.yaml, never let a bot PR go in without the changelog-category label its release notes sort on. - Never group a toolchain across
miseanddockerfilewithout pointingmiseat the image's tags. - Never tick a pending update on the dashboard to get past
minimumReleaseAgeon a grouped dependency — fix the rule. - Never patch lockstep bot PRs one by one — bump the family together and add the group in the same PR.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

