/dev-tools:adopting-renovatefrom dev-tools
Adds Renovate dependency updates to a repo using shared presets. Detects ecosystems and CI, writes config, dry-runs, and opens the PR.
Ships in dev-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Policy lives in the shared presets at technicalpickles/renovate-config. This skill is the procedure for applying them to one repo. When a lesson changes policy, fix the preset, not the repo.
npm:renovate in the global mise tools (mise exec npm:renovate -- renovate --version). mise install npm:renovate on the command line resolves latest and ignores config options, so use plain mise install.gh authenticated with read access to the repo.Know this before promising anyone when PRs will show up.
:lockfile is opt-in. The base preset does not refresh lockfiles. Add :lockfile only when asked.:automerge.So on a fresh adoption, expect the onboarding PR or dashboard issue now, grouped PRs after the next Monday window, and majors never until approved.
gh api repos/<owner>/<repo>/contents -q '[.[].name]|join(" ")'
| Files | Manager |
|---|---|
package.json, package-lock.json | npm |
Cargo.toml, Cargo.lock | cargo |
go.mod | gomod |
pyproject.toml, uv.lock | pep621 / uv |
Gemfile, *.gemspec | bundler |
mise.toml, .mise.toml | mise |
Dockerfile, .devcontainer/ | dockerfile |
.github/workflows/*.y*ml | github-actions |
Flag any mise tool pinned to "latest": Renovate cannot bump it. Pin it in the same PR.
Automerge only when main has required status checks.
gh api repos/<owner>/<repo>/branches/main/protection -q '.required_status_checks.contexts|join(",")'
Empty or a 404 means PRs only. No pull_request workflows at all means PRs only and say so in the PR body.
renovate.json{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>technicalpickles/renovate-config",
"github>technicalpickles/renovate-config:mise",
"github>technicalpickles/renovate-config:automerge"
]
}
Include only the presets that apply: :mise when there is a mise config, :automerge per step 2, :lockfile only if asked. Put local overrides below extends. A mise config outside the repo root needs "mise": {"managerFilePatterns": ["/^config/mise/.+\\.toml$/"]}.
Validate it:
mise exec npm:renovate -- renovate-config-validator renovate.json
This lists the branches Renovate would open and changes nothing. The git clone fails inside the Claude Code sandbox (proxy aborts HTTPS), so this one command needs the sandbox off. It only reads the repo.
cat > "$SCRATCH/config.js" <<'EOF'
module.exports = { extends: ["github>technicalpickles/renovate-config", "github>technicalpickles/renovate-config:mise"] };
EOF
RENOVATE_CONFIG_FILE="$SCRATCH/config.js" RENOVATE_TOKEN="$(gh auth token)" \
LOG_LEVEL=debug LOG_FORMAT=json RENOVATE_PLATFORM=github RENOVATE_DRY_RUN=full \
RENOVATE_REPOSITORIES=<owner>/<repo> RENOVATE_ONBOARDING=false RENOVATE_REQUIRE_CONFIG=optional \
mise exec npm:renovate -- renovate > "$SCRATCH/run.log" 2>&1
jq -r 'select(.msg=="branches info extended")|.branchesInformation[]|"\(.branchName) | \(.prTitle // "")"' "$SCRATCH/run.log"
jq -r 'select(.msg|test("creation is disabled because dependencyDashboardApproval"))|.msg' "$SCRATCH/run.log"
Read the output:
go gotcha).Use the git:pull-request skill. If Renovate already opened its own "Configure Renovate" onboarding PR, ours replaces it: merge ours and the onboarding PR autocloses. Mention the preset repo in the body, and the dry-run branch count.
There is no API for whether the Renovate app has access to a repo. Look for evidence instead, any one of:
None of these after a run, with the config merged, means the app is not installed on the repo.
Renovate's PRs and the onboarding PR follow the repo's allowed merge methods. Squash may be disabled on a repo, which makes gh pr merge --squash fail and automerge stall:
gh api repos/<owner>/<repo> -q '{squash: .allow_squash_merge, merge: .allow_merge_commit, rebase: .allow_rebase_merge}'
If squash is off, merge with a method that is on, or pick automergeStrategy to match, rather than changing repo settings unasked.
Enable dependency alerts so security fixes can be found (they skip the cooldown and the schedule):
gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts
Look for the Dependency Dashboard issue and the first grouped PRs after the next scheduled run (Monday before 5am UTC). If nothing appears, the app is probably not installed on the repo.
Compose files and Dockerfiles often use floating tags (image: postgres:latest, image: nginx). Renovate cannot bump a floating tag, so pin it, and pin to what is actually running rather than to whatever is newest:
docker ps --format '{{.Names}} {{.Image}}'
docker inspect --format '{{index .RepoDigests 0}}' <container>
Read the real version from the running container (its image label, or the binary's --version), write that tag into the file, and let Renovate propose the upgrade later. Pinning to the newest tag in the same PR mixes an upgrade into an adoption change.
gh cannot list installations (needs a GitHub App token); check the repo's access list in GitHub settings or the Mend portal.extractVersion on every mise tool drops updates. A rule that strips the v prefix must be scoped with matchDepNames: ["github:**"]. Unscoped, it silently removed go updates. The :mise preset already scopes it; a hand-rolled rule may not.minimumReleaseAge (7 days in the base preset) holds every package, including your own tools unless the preset exempts them. Renovate reads npm provenance only to add a caution note to a PR body when a new version loses an attestation, and never blocks on it.trustPolicy=no-downgrade). Vet the release, then exclude the exact package@version via trust_policy_excludes on that tool, with the reasoning in a comment.github> presets are fetched from GitHub; keep the preset repo public.go.sum comes out right. Watch the first real PR.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub technicalpickles/pickled-claude-plugins --plugin dev-tools8 skills in this plugin
/colimaUse when Docker commands fail with "Cannot connect to Docker daemon", when starting/stopping container environments on macOS, when managing Docker contexts or profiles, or when running incus (system containers / VMs with nested virtualization) on macOS - provides Colima lifecycle management, profile handling, SSH commands, and troubleshooting/designing-clisUse when building, improving, or reviewing command-line interfaces for better user experience - before implementing commands/output/errors, when users report confusion or frustration, or when CLI feels hard to use - provides UX principles, visual design techniques, and practical patterns for creating discoverable, delightful CLIs/api-documentation-discoveryUse when APIs fail repeatedly with version-related errors (method not found, wrong arguments, unknown flag) or when about to use library APIs with uncertain knowledge - guides finding current, accurate documentation instead of guessing from training data/hkUse when hk.pkl exists in project, hook output shows hk running, or working with git hooks in hk-managed projects. Also use when setting up, configuring, or troubleshooting hk git hooks./working-in-scratch-areasUse when creating one-off scripts, debug tools, analysis reports, or temporary documentation - ensures work is saved to persistent .scratch areas with proper documentation, organization, and executable patterns/working-with-miseUse when adding, configuring, or troubleshooting mise-managed tools - ensures proper CLI usage, detects existing config files, and diagnoses PATH/activation issues when commands aren't foundOther plugins' skills for the same job