renovate
Assists with automating dependency updates across JavaScript, Python, Docker, Go, Rust, Terraform, and 50+ ecosystems using Renovate. Use when configuring update strategies, automerge policies, grouping rules, or scheduling to keep dependencies current. Trigger words: renovate, dependency updates, automerge, package rules, dependency management.
Usage
Getting Started
- Install the skill using the command above
- Open your AI coding agent (Claude Code, Codex, Gemini CLI, or Cursor)
- Reference the skill in your prompt
- The AI will use the skill's capabilities automatically
Example Prompts
- "Review the open pull requests and summarize what needs attention"
- "Generate a changelog from the last 20 commits on the main branch"
Documentation
Overview
Renovate is an automated dependency update tool that scans repositories for dependency files across 50+ ecosystems (npm, pip, Docker, Go, Rust, Terraform, GitHub Actions) and creates pull requests with changelogs, release notes, and configurable automerge policies. It supports grouping, scheduling, and per-package rules to keep dependencies current without overwhelming teams.
Instructions
- When setting up Renovate, start with
config:recommendedwhich provides sensible defaults for grouping, scheduling, and automerge, then addrenovate.jsonto the repo root. - When configuring automerge, enable it for low-risk updates (
@types/*, devDependencies patches) and disable it for major updates, usingplatformAutomergefor GitHub's native merge feature. - When reducing PR noise, use
group:allNonMajorfor a single weekly PR covering all minor and patch updates, and group monorepo packages (React, Angular, Babel) together. - When setting schedules, configure update windows for low-traffic times (e.g.,
["after 9am and before 5pm every weekday"]) to avoid disrupting developers. - When defining package rules, use
matchPackageNames,matchPackagePatterns, andmatchUpdateTypesto set per-package automerge, grouping, and version strategies. - When handling version strategies, pin exact versions in applications for reproducibility and use ranges in libraries for compatibility.
Examples
Example 1: Configure Renovate for a production monorepo
User request: "Set up Renovate with automerge for safe updates and weekly batching"
Actions:
- Create
renovate.jsonextendingconfig:recommendedandschedule:weekly - Add package rules to automerge
@types/*and devDependency patches - Group React, Next.js, and testing library packages into single PRs
- Enable the dashboard issue for an overview of all pending updates
Output: A Renovate configuration that automerges safe updates, batches non-major changes weekly, and groups related packages.
Example 2: Manage Docker and Terraform dependency updates
User request: "Keep Docker base images and Terraform provider versions up to date"
Actions:
- Configure Renovate to scan Dockerfiles and
.tffiles - Set
matchDatasources: ["docker"]withautomerge: falsefor base image updates - Group Terraform providers by cloud provider (AWS, GCP, Azure)
- Enable vulnerability alerts to prioritize updates that fix known CVEs
Output: Automated PRs for Docker and Terraform dependency updates with grouped providers and security prioritization.
Guidelines
- Start with
config:recommendedsince it handles grouping, scheduling, and automerge sensibly. - Automerge
@types/*and devDependencies patches since they are low-risk and high-volume. - Group monorepo packages (React, Vue, Angular, Babel, Jest) into single PRs to reduce noise.
- Schedule updates for low-traffic times to avoid disrupting developers during peak hours.
- Pin exact versions in applications and use ranges in libraries.
- Review major updates manually since breaking changes require human judgment.
Information
- Version
- 1.0.0
- Author
- terminal-skills
- Category
- Development
- License
- Apache-2.0