MCPInstall
sivaprasadreddy avatar

apply-renovate-prs

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.

Installs
0
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/sivaprasadreddy/sivalabs-agent-skills --skill apply-renovate-prs
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads apply-renovate-prs automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

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

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:
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

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:

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:

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:

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.

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:
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.

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.

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:

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):

./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:
git diff                 # review everything applied
git checkout -- .        # discard all applied changes

FAQ

What does the apply-renovate-prs skill do?

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.

How do I install apply-renovate-prs?

Run npx skills add https://github.com/sivaprasadreddy/sivalabs-agent-skills --skill apply-renovate-prs in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/apply-renovate-prs/ (personal) or .claude/skills/apply-renovate-prs/ (project).

Which AI agents can use apply-renovate-prs?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is apply-renovate-prs safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains apply-renovate-prs?

It is published by sivaprasadreddy in sivaprasadreddy/sivalabs-agent-skills. It has 0 recorded installs.

More from sivaprasadreddy/sivalabs-agent-skills

View all →
sivaprasadreddy avatar

spring-boot-skill

sivaprasadreddy/sivalabs-agent-skills

Build Spring Boot 4.x applications following the best practices. Use this skill: When developing Spring Boot applications using Spring MVC, Spring Data JPA, Spring Modulith, Spring Security To create recommended Spring Boot package structure To implement REST APIs, entities/repositories, service layer, modular monoliths To use Thymeleaf view templates for building web applications To write tests for REST APIs and Web applications To write ArchUnit tests for testing architecture To configure the recommended plugins and configurations to improve code quality, and testing while using Maven. To use Spring Boot's Docker Compose support for local development To create Taskfile for easier execution of common tasks while working with a Spring Boot application

Backend & APIs497 installs
sivaprasadreddy avatar

jspecify-skill

sivaprasadreddy/sivalabs-agent-skills

Use this skill 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 will add jspecify dependency, configure Maven or Gradle build to automatically use jspecify for checking Nullability issues.

Backend & APIs139 installs
sivaprasadreddy avatar

java-code-review

sivaprasadreddy/sivalabs-agent-skills

Review Java code for bugs, duplicate code, correctness risks, maintainability improvements, and missing tests. By default review files modified in git; when the user explicitly names files, classes, packages, or a diff, review that scope instead. Generate a detailed review.md report with actionable comments and fixes.

sivaprasadreddy avatar

spring-modulith-verifier

sivaprasadreddy/sivalabs-agent-skills

Verifies whether code follows Spring Modulith code structure or not. Show list of violations along with recommendations on how to fix them. Use this skill: When reviewing Spring Boot applications which uses Spring Modulith When verifying whether Spring Boot application code follows Spring Modulith package structure

Backend & APIs72 installs
sivaprasadreddy avatar

pair programming

sivaprasadreddy/sivalabs-agent-skills

Collaboratively design, implement, review, and refine software features with a human developer using an iterative pair programming workflow. Prioritize understanding, explicit approval, small reviewable changes, and synchronized specifications.

AI & Agents48 installs
sivaprasadreddy avatar

progen

sivaprasadreddy/sivalabs-agent-skills

Use 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). Derives progen CLI inputs from the user's plain-English project description, asks for any missing mandatory info, ensures the progen binary is available, and runs it to generate the project. If the user asks for features progen doesn't support natively, generate the base project first, then add those features on top of the generated code.

Backend & APIs0 installs

Popular ai & agents skills

View category →
google avatar

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents587.3K installs
google avatar

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents586.1K installs
anthropics avatar

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents438.3K installs
prime-skills avatar

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents412.7K installs
leonxlnx avatar

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401.1K installs
obra avatar

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents268.9K installs