agentleFS
G1JoshiG1Joshi/Agent-Skills/skills/security/renovate/SKILL.md

renovate

Skill15 starsChanged 43 days agoMITView on GitHub

Expert Renovate Bot dependency automation covering schedule presets, monorepo package grouping, and auto-merging. Use when configuring `renovate.json`, updating dependencies, or automating security patch management.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run Renovate without robust CI/CD: Automerging without thorough automated test suites introduces production regressions.

    line 136

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Renovate

Renovate is the power-user alternative to Dependabot. It runs on any platform (GitHub, GitLab, Bitbucket, Azure) and offers extreme configurability for how and when dependencies are updated.

When to Use

  • Multi-Platform Automated Dependency Maintenance: Keeping dependencies updated across GitHub, GitLab, Bitbucket, and Azure DevOps.
  • Highly Configurable Update Automation: Customizing update schedules, branch names, commit messages, and package grouping rules.
  • Monorepo Package Synchronization: Updating interdependent packages across pnpm, Yarn, Cargo, Go, and Helm monorepo workspaces.
  • Automated Merge for Safe Updates: Automatically rebasing and merging passing patch and minor dependency updates.

Quick Start

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:base"],
  "packageRules": [
    {
      "matchPackagePatterns": ["^react", "^@types/react"],
      "groupName": "react monorepo"
    },
    {
      "matchUpdateTypes": ["minor", "patch"],
      "matchCurrentVersion": "!/^0/",
      "automerge": true
    }
  ]
}

Core Concepts

Declarative renovate.json Configuration

Centralizes dependency rules, schedules, and automation policies:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:recommended"],
  "timezone": "America/New_York",
  "schedule": ["before 6am on monday"],
  "packageRules": [
    {
      "matchUpdateTypes": ["minor", "patch", "pin", "digest"],
      "automerge": true,
      "automergeType": "branch"
    },
    {
      "matchPackageNames": ["react", "react-dom"],
      "groupName": "React core"
    }
  ]
}

Automated Package Grouping & Monorepo Co-Updates

Groups related dependencies (e.g. all @aws-sdk/* or all ESLint plugins) into a single unified pull request:

{
  "packageRules": [
    {
      "matchPackagePatterns": ["^@aws-sdk/"],
      "groupName": "AWS SDK monorepo"
    }
  ]
}

Regex Managers for Non-Standard Files

Updates dependency versions declared inside custom shell scripts or Docker compose files:

{
  "customManagers": [
    {
      "customType": "regex",
      "fileMatch": ["^Dockerfile$"],
      "matchStrings": ["ENV NODE_VERSION=(?<currentValue>.*?)\n"],
      "depNameTemplate": "nodejs/node",
      "datasourceTemplate": "github-releases"
    }
  ]
}

Common Patterns

Monorepo Grouping with Auto-Merge for Minor Patches

Problem: Multiple sub-packages in a monorepo trigger dozens of separate PRs that create merge conflicts.

Solution: Configure renovate.json to group related packages and auto-merge safe patches:

{
  "$schema": "https://docs.renovatebot.com/renovate-schema.json",
  "extends": ["config:recommended"],
  "packageRules": [
    {
      "matchUpdateTypes": ["minor", "patch"],
      "matchCurrentVersion": "!/^0/",
      "automerge": true,
      "automergeType": "branch"
    },
    {
      "groupName": "tailwind monorepo",
      "matchPackagePrefixes": ["@tailwindcss/", "tailwindcss"]
    }
  ]
}

Best Practices

Do:

  • Enable Dependency Dashboard: Keep "dependencyDashboard": true active to monitor upcoming PRs and trigger manual updates.
  • Automerge Safe Minor & Patch Updates: Save engineering time by auto-merging updates that pass full CI/CD test suites.
  • Group Related Packages: Bundle framework ecosystem packages (vitest, @vitest/*) into unified PRs.
  • Throttle Concurrent PRs: Set "prConcurrentLimit": 5 to prevent overwhelming CI runners with dozens of build jobs.

Don't:

  • Auto-merge major version updates: Major releases contain breaking changes that require human code review and testing.
  • Run Renovate without robust CI/CD: Automerging without thorough automated test suites introduces production regressions.
  • Hardcode host secrets in repository configs: Use encrypted host rules or platform environment variables.

Troubleshooting

ErrorCauseSolution
Renovate configuration error: invalid JSONSyntax error or unrecognized preset name in renovate.json.Run npx renovate-config-validator locally to validate schema.
Automerge failing on GitHub PRBranch protection rules require approvals or signed commits.Configure Renovate GitHub App with auto-merge permissions and sign commits.
PR rate limit reachedRenovate creating too many concurrent PRs.Configure prConcurrentLimit: 10 and prHourlyLimit: 2 in configuration.

References

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.