Agent skill

Apply Renovate PRs

by sivaprasadreddy in sivaprasadreddy/sivalabs-agent-skills

Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree.

MITAuto-check passedDevelopment

Install Apply Renovate PRs

skills CLI
$ npx skills add sivaprasadreddy/sivalabs-agent-skills --skill apply-renovate-prs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sivaprasadreddy/sivalabs-agent-skills apply-renovate-prs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sivaprasadreddy/sivalabs-agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/apply-renovate-prs .claude/skills/apply-renovate-prs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
apply-renovate-prs
GitHub stars
188
Token cost
~3k tokens
SKILL.md length
1,358 words
Files
2
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree.

  • Works in 8 steps: Check preconditions → Discover the open Renovate PRs → Order the PRs → …
  • Try out Renovate/dependabot-style dependency update PRs so the combined upgrade can be built and tested in one go
  • SKILL.md covers Hard constraints, 1. Check preconditions, 2. Discover the open Renovate… and 3. Order the PRs, plus 5 more sections
  • Calls git, gh and npm

What it does

Apply Renovate PRs is an agent skill from sivaprasadreddy/sivalabs-agent-skills. Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree. Use this skill when asked to apply, merge locally, consolidate, batch, or try out Renovate/dependabot-style dependency update PRs so the combined upgrade can be built and tested in one go. This skill only modifies local files; it never commits, pushes, merges, or closes anything on GitHub.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Dependency management and Pull requests. It works with GitHub, Git and Spring Boot. The repository describes itself as: Spring Boot skills for AI coding agents. The licence is MIT.

When your agent uses it

  • Try out Renovate/dependabot-style dependency update PRs so the combined upgrade can be built and tested in one go
  • Tasks that involve Dependency management
  • Tasks that involve Pull requests

Example prompts

  • “/apply-renovate-prs”

Requirements

  • Node.js
  • Docker

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Check preconditions
  2. Discover the open Renovate PRs
  3. Order the PRs
  4. Apply each PR
  5. Special cases
  6. Regenerate derived files once
  7. Verify the combined upgrade
  8. Report

What it can do on your machine

Read from SKILL.md and the folder at commit e9f9861. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh
    • npm
    • pnpm
    • yarn
    • uv
    • poetry
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, gh, npm, pnpm, yarn and uv, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Apply Renovate PRs loads about 3k tokens when it runs. Until then it costs about 105 tokens; SKILL.md has 1,358 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~105
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sivaprasadreddy/sivalabs-agent-skills at commit e9f9861, republished under its MIT licence (© sivaprasadreddy). 1,358 words, ~3,002 tokens.

Download SKILL.mdSave it as .claude/skills/apply-renovate-prs/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
apply-renovate-prs
description
Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree. Use this skill when asked to apply, merge locally, consolidate, batch, or try out Renovate/dependabot-style dependency update PRs so the combined upgrade can be built and tested in one go. This skill only modifies local files; it never commits, pushes, merges, or closes anything on GitHub.
disable-model-invocation
true

Apply Renovate PRs Locally

Collect every open pull request raised by Renovate in the target GitHub repository and apply their changes to the local working tree, so all dependency upgrades can be built and tested together.

Hard constraints

  • Never run git commit, git push, git merge, git cherry-pick, git rebase, gh pr merge, gh pr close, or gh pr review.
  • Do not create branches, tags, or worktrees unless the user asks.
  • Do not modify anything on GitHub. Read-only gh commands only (gh pr list, gh pr view, gh pr diff, gh api GET).
  • Leave the result as uncommitted changes in the working tree and report what was applied, so the user decides what to do next.

1. Check preconditions

bash
gh auth status
git rev-parse --show-toplevel
git status --short --branch
  • If gh is missing or unauthenticated, stop and tell the user.
  • If the working tree already has uncommitted changes, report them and ask whether to continue on top of them or let the user stash first. Do not stash or discard the user's work on your own.
  • Record the current branch and git rev-parse HEAD in the final report, so the user can undo with git checkout -- . / git stash.
  • Fetch the base branch objects so three-way applies have the pre-image blobs:
bash
git fetch origin

Determine the repository: use the origin remote of the current directory by default, or the owner/repo the user names (pass it as -R owner/repo to every gh command).

2. Discover the open Renovate PRs

bash
gh pr list --app renovate --state open --limit 100 \
  --json number,title,headRefName,isDraft,mergeable,files,labels,url

If that returns nothing, Renovate may be running as a user account or a self-hosted app, so fall back to:

bash
gh pr list --state open --limit 100 \
  --json number,title,headRefName,author,isDraft,url \
  --jq '[.[] | select((.author.login | test("renovate"; "i")) or (.headRefName | startswith("renovate/")))]'

Notes:

  • Renovate's "Dependency Dashboard" is a GitHub issue, not a PR. Ignore it.
  • Exclude draft PRs by default and say so; include them only if the user asks.
  • If the user restricted the scope (for example "only patch updates", "only the Spring Boot ones"), filter accordingly and state the applied filter.

Show the list to the user before applying, then proceed.

3. Order the PRs

Apply in an order that minimises conflicts:

  1. Patch updates, then minor, then major (major upgrades are most likely to need follow-up source changes).
  2. Manifest-only PRs before lockfile-heavy PRs.
  3. Grouped PRs (Renovate branches such as renovate/all-minor-patch) before the single-dependency PRs they may overlap with.

Read each version bump from the PR title (Renovate titles are of the form chore(deps): update dependency org.foo:bar to v1.2.3) and keep a running table of PR number → package → old version → new version.

4. Apply each PR

For every PR, take the patch and apply it with a three-way merge:

bash
gh pr diff <number> --patch > /tmp/renovate-<number>.patch
git apply --3way --whitespace=nowarn /tmp/renovate-<number>.patch

Then unstage what --3way staged, keeping the file contents, so the review diff stays readable:

bash
git reset --quiet

Skip the git reset if the user chose to continue on top of pre-existing staged changes — it would unstage those too. In that case, note in the report that the applied changes are staged.

Handle the outcomes:

  • Clean apply: record it as applied and continue.
  • Conflict markers (git apply --3way writes <<<<<<< into the file): resolve them by hand. For dependency files the resolution is almost always "keep both bumps" — take the higher version for each distinct dependency, and never leave a marker behind. Verify with git grep -n '^<<<<<<<\|^>>>>>>>'.
  • Patch fails to apply at all (error: patch does not apply): do not force it. Instead read the PR diff (gh pr diff <number>) and make the equivalent edit directly in the manifest — change the version coordinate to the target version from the PR title. This is the reliable path for generated lockfiles and for PRs whose base is stale.
  • Lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, gradle.lockfile, uv.lock, poetry.lock, go.sum, …): applied lockfile hunks from several PRs are frequently inconsistent. Prefer applying only the manifest changes and regenerating each lockfile once, in step 6.

Also apply Renovate PRs that touch non-code manifests — Dockerfile, docker-compose.yml, .github/workflows/*.yml, .tool-versions, .sdkmanrc, renovate.json — the same way.

After applying a wrapper or Docker image PR, work through the matching entry in step 5 before moving on.

5. Special cases

Renovate only updates the files its managers know about. Some repositories duplicate the same version elsewhere, so after applying a PR check for these companion edits and make them by hand.

Maven / Gradle wrapper PRs — also update .sdkmanrc

Renovate updates .mvn/wrapper/maven-wrapper.properties or gradle/wrapper/gradle-wrapper.properties, but it does not update .sdkmanrc, so the SDKMAN-pinned build tool stays behind.

bash
grep -n distributionUrl .mvn/wrapper/maven-wrapper.properties \
  gradle/wrapper/gradle-wrapper.properties 2>/dev/null
cat .sdkmanrc 2>/dev/null
  • Read the new version from distributionUrl (apache-maven-3.9.11-bin.zip → 3.9.11, gradle-9.1.0-bin.zip → 9.1.0) and set the matching maven= / gradle= line in .sdkmanrc to it.
  • Change only the candidate the PR bumped. Leave java= alone unless a PR actually changed the project's Java version.
  • Keep the SDKMAN version identifier format (e.g. java=25-tem, not a bare 25). If unsure the exact version is published, check sdk list maven / sdk list gradle; if it is not available yet, leave .sdkmanrc untouched and report it.
  • Wrapper PRs also carry binary hunks (gradle-wrapper.jar). gh pr diff --patch includes those, but if git apply rejects the binary hunk, take the file from the PR head instead:
bash
git fetch origin pull/<number>/head
git checkout FETCH_HEAD -- gradle/wrapper/gradle-wrapper.jar
git reset --quiet

If the repository has no .sdkmanrc, do not create one.

Show full SKILL.md (537 more words)Show less
Docker image version PRs — also update TestcontainersConfig

Renovate bumps image tags in Dockerfile, compose.yaml/docker-compose.yml and Kubernetes manifests, but image tags hardcoded in Java/Kotlin test configuration are invisible to it. Update the shared Testcontainers configuration class to the same tags.

bash
git grep -ln "TestcontainersConfig" -- '*.java' '*.kt'
# root module and, for multi-module builds, every nested module
git grep -nE '"[a-z0-9][a-z0-9._/-]*:[a-zA-Z0-9][a-zA-Z0-9._-]*"' -- \
  'src/test/**/*.java' 'src/test/**/*.kt' \
  '**/src/test/**/*.java' '**/src/test/**/*.kt'

Typical declarations to update:

java
static GenericContainer<?> mailhog = new GenericContainer<>("mailhog/mailhog:v1.0.1");
PostgreSQLContainer postgres = new PostgreSQLContainer("postgres:18-alpine");
GenericContainer<?> redis = new GenericContainer<>(DockerImageName.parse("redis:7-alpine"));

Rules:

  • Match on the image name, not the tag: only update a literal whose repository part is the image the PR bumped.
  • Preserve the tag flavour. If the class pins postgres:18-alpine and the PR moves compose to postgres:19, write postgres:19-alpine — do not drop the -alpine/-jammy/-slim suffix or invent one the registry lacks.
  • Change only the version literal. Keep surrounding calls such as DockerImageName.parse(...).asCompatibleSubstituteFor(...), withExposedPorts(...), and withDatabaseName(...) exactly as they are.
  • If the tag comes from a constant, an enum, libs.versions.toml, a DockerImages-style holder, or a test property, update it at that single source instead of at each usage.
  • Check the other places test images hide: abstract base test classes, *IT/*Tests classes with their own GenericContainer, src/test/resources/** compose files, application-test.properties, and testcontainers.properties.
  • Never bump an image in test configuration that no Renovate PR bumped.

These edits are only validated by running the tests, so make sure step 7 runs the integration tests, not just compilation.

If the repository would benefit from Renovate tracking these files directly, mention a customManagers regex manager as a follow-up suggestion in the report — do not edit renovate.json unless the user asks.

6. Regenerate derived files once

After all PRs are applied, regenerate lockfiles/derived files a single time using the project's own tooling. Pick the commands that match the repository:

EcosystemCommand
Maven./mvnw -q -DskipTests verify (no lockfile; this validates resolution)
Gradle./gradlew dependencies --write-locks (only if lockfiles are used)
npmnpm install --package-lock-only
pnpmpnpm install --lockfile-only
yarnyarn install --mode update-lockfile
uvuv lock
Poetrypoetry lock --no-update
Gogo mod tidy

Use the wrapper scripts (./mvnw, ./gradlew) when present. If a command needs network access that is unavailable, say so instead of hand-editing a lockfile.

7. Verify the combined upgrade

Run the project's build and tests, preferring an existing task runner (Taskfile.yml, Makefile, package.json scripts):

bash
./mvnw verify        # or ./gradlew build, npm test, task test, ...

If the build breaks:

  • Identify which upgrade caused it (a major bump is the usual suspect).
  • Read that PR's release notes section — gh pr view <number> renders the body Renovate writes, including breaking changes.
  • Make the minimal source changes needed for the new API, or, if the fix is large or ambiguous, revert just that one PR's files (git checkout -- <paths> for files only that PR touched) and report it as skipped with the reason.

Never make a test pass by weakening or deleting an assertion.

8. Report

Finish with a summary that contains:

  • The repository, base branch, and starting commit SHA.
  • A table of every Renovate PR considered: number, title, and outcome (applied, applied with manual resolution, applied manually, skipped).
  • For skipped PRs, the concrete reason.
  • The companion edits from step 5 (.sdkmanrc, TestcontainersConfig, other hardcoded image tags), and any that were needed but could not be made.
  • The regeneration and verification commands run, and their real results — report failures with the relevant output rather than glossing over them.
  • The list of changed files (git status --short).
  • A reminder that nothing was committed or pushed, plus how to review and undo:
bash
git diff                 # review everything applied
git checkout -- .        # discard all applied changes

© sivaprasadreddy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/apply-renovate-prs of sivaprasadreddy/sivalabs-agent-skills.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit e9f9861

Compare with similar skills

Apply Renovate PRs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Apply Renovate PRs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Apply Renovate PRs this skillsivaprasadreddy/sivalabs-agent-skills188—~3kAutomated safety check: PassMIT
Dependabot Consolidationsillsdev/FieldWorks110—~3.5kAutomated safety check: PassCustom licence
Security Vulnerabilities Patcheraxelixlabs/axelix148—~4.2kAutomated safety check: PassLGPL-3.0
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0

Similar skills

  • Dependabot Consolidation

    sillsdev/FieldWorks

    Combine several open Dependabot pull requests into a single branch and PR: enumerate the open Dependabot PRs, cherry-pick them onto fresh main, rewrite commit messages to satisfy…

    110 GitHub stars~3.5k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Create batched Dependabot-style pull requests for GitHub security findings in axelixlabs/axelix, grouped by dependency surface such as master/front-end, master/build.gradle.kts, or starter Gradle…

    148 GitHub stars~4.2k tokensUpdated today
    SecurityAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated yesterday
    DevelopmentAuto-check passed

More from sivaprasadreddy/sivalabs-agent-skills

  • Jspecify Skill

    sivaprasadreddy/sivalabs-agent-skills

    A skill your agent uses when asked to perform any of the following actions in a Java project: - To add jspecify support - To prevent NullPointerExceptions - To better handle Nullability This skill…

    188 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Java Code Review

    sivaprasadreddy/sivalabs-agent-skills

    Review Java code for bugs, duplicate code, correctness risks, maintainability improvements, and missing tests.

    188 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Progen

    sivaprasadreddy/sivalabs-agent-skills

    A skill your agent uses when the user wants to create/generate/scaffold a new Spring Boot project (Maven or Gradle, REST API / Web App / Spring Boot + Angular full stack).

    188 GitHub stars~2.7k tokensUpdated 6 days ago
    Auto-check: notes
  • Spring Modulith Verifier

    sivaprasadreddy/sivalabs-agent-skills

    Verifies whether code follows Spring Modulith code structure or not.

    188 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • Spring Boot Skill

    sivaprasadreddy/sivalabs-agent-skills

    Build Spring Boot 4.x applications following the best practices.

    188 GitHub stars~1.1k tokensUpdated 6 days ago
    Auto-check passed

Categories

Questions about Apply Renovate PRs

What does Apply Renovate PRs do?

Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree. Apply Renovate PRs is an agent skill from sivaprasadreddy/sivalabs-agent-skills. Apply the changes from all open Renovate bot pull requests of a GitHub repository into the local working tree.

When should I use Apply Renovate PRs?

Apply Renovate PRs fits situations like: try out Renovate/dependabot-style dependency update PRs so the combined upgrade can be built and tested in one go; tasks that involve Dependency management; tasks that involve Pull requests.

How do I install Apply Renovate PRs in Claude Code?

Run `npx skills add sivaprasadreddy/sivalabs-agent-skills --skill apply-renovate-prs -a claude-code`. Or copy the skill folder (skills/apply-renovate-prs in sivaprasadreddy/sivalabs-agent-skills) into .claude/skills/apply-renovate-prs in your project. Claude Code loads it when a task matches its description.

How do I install Apply Renovate PRs in Codex?

Run `npx skills add sivaprasadreddy/sivalabs-agent-skills --skill apply-renovate-prs -a codex`. Or copy the skill folder (skills/apply-renovate-prs in sivaprasadreddy/sivalabs-agent-skills) into .agents/skills/apply-renovate-prs in your project. Codex loads it when a task matches its description.

Can I use Apply Renovate PRs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sivaprasadreddy/sivalabs-agent-skills --skill apply-renovate-prs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/apply-renovate-prs, .gemini/skills/apply-renovate-prs, .github/skills/apply-renovate-prs and .opencode/skills/apply-renovate-prs in your project.

What does Apply Renovate PRs need to run?

Going by SKILL.md and its folder, Apply Renovate PRs needs the command-line tools its instructions call (git, gh, npm, pnpm, yarn and uv). Our summary lists: Node.js; Docker.

Does Apply Renovate PRs access the network?

SKILL.md contains no URLs. Its commands use git, gh, npm and uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Apply Renovate PRs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Apply Renovate PRs use?

Apply Renovate PRs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Apply Renovate PRs use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Apply Renovate PRs?

Skills that share tags, products or a category with Apply Renovate PRs: Dependabot Consolidation (sillsdev/FieldWorks, 110 stars), Security Vulnerabilities Patcher (axelixlabs/axelix, 148 stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Create Pull Request (cline/cline, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Apply Renovate PRs?

sivaprasadreddy (a GitHub user) maintains it in sivaprasadreddy/sivalabs-agent-skills, which has 188 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 5, 2026.

Source: sivaprasadreddy/sivalabs-agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.