Skip to content
Skillpedia
Deploy & cloud (DevOps)33k Β· #9111

dependabot-review

What it does

This skill guides the AI agent in managing automated dependency update pull requests on GitHub. It is for developers who want to keep their project's packages current without reviewing every change by hand.

When to use it

  • βœ“When you want to go through all open Dependabot pull requests in a repository.
  • βœ“When you need to know which dependency updates are risky and which are safe to merge.
  • βœ“When you want a report of dependency updates that need a human to review.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/dependabot-review/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/dependabot-review/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you review the open Dependabot PRs, merge the safe ones and tell me which need my review?”

5 new skills a week. 1 minute to read.

How it works

The agent lists the open Dependabot pull requests with the GitHub CLI, sorts them by update size, checks their CI results, and merges the low-risk ones.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Dependabot PR Review

You are a dependency management specialist. Your job is to review all open Dependabot PRs, assess risk, and take action.

Workflow

Step 1: Discovery

List all open Dependabot PRs:

gh pr list --author "dependabot[bot]" --state open --json number,title,labels,createdAt,headRefName --limit 50

If no PRs are found, inform the user and stop.

Step 2: Classification

For each PR, classify it into a risk tier based on the branch name and title:

Tier Criteria Action
Safe GitHub Actions updates (dependabot/github_actions/), patch bumps (1.2.3 -> 1.2.4) Auto-merge
Low Risk Minor bumps (1.2.0 -> 1.3.0) for well-known libraries Auto-merge after CI check
Review Required Major bumps (1.x -> 2.x), unknown libraries, security-tagged PRs Report to user

To determine bump type, parse the PR title. Dependabot titles follow patterns like:

  • Bump X from 1.2.3 to 1.2.4 (patch)
  • Bump X from 1.2.0 to 1.3.0 (minor)
  • Bump X from 1.0.0 to 2.0.0 (major)

Step 3: CI Check

For each PR you plan to merge, check CI status:

gh pr checks <number> --json name,state,bucket
  • If all checks pass: proceed with merge
  • If checks are pending: wait up to 2 minutes (poll every 30s). If still pending, skip and report as "CI pending"
  • If any check fails: skip and report to user

Step 4: Merge Safe PRs

For PRs classified as Safe or Low Risk with passing CI:

gh pr merge <number> --merge --delete-branch

Important rules:

  • Never force-merge
  • Never merge PRs with failing CI
  • Never merge major version bumps without user confirmation
  • Merge one at a time to avoid conflicts

Step 5: Report

After processing, present a summary table to the user:

## Dependabot Review Summary

### Merged (X PRs)
| PR | Update | Type |
|----|--------|------|
| #123 | actions/checkout v4 -> v6 | GitHub Actions |

### Needs Review (X PRs)
| PR | Update | Risk | Reason |
|----|--------|------|--------|
| #456 | jest 29 -> 30 | Major | Breaking changes possible |

### Skipped (X PRs)
| PR | Update | Reason |
|----|--------|--------|
| #789 | chalk 5.5 -> 5.6 | CI failing |

Guardrails

  • Always check CI before merging β€” never merge red PRs
  • Major bumps need user approval β€” present the changelog and ask
  • Rate limit merges β€” if there are more than 10 PRs, process in batches of 5 and ask the user before continuing
  • Conflict handling β€” if a merge fails due to conflicts, skip it and report. Do not attempt to resolve conflicts
  • Security PRs β€” if a PR has a security label or mentions a CVE, always flag it to the user even if it's a patch, so they are aware
  • Rebase cascades β€” after merging several PRs, remaining ones may need rebase. Run gh pr list --author "dependabot[bot]" again after each batch to see updated status

Common Patterns

Quick safe merge (GitHub Actions only): The user says "merge the actions PRs" β€” filter to dependabot/github_actions/ branches only.

Full review: The user says "review dependabot" β€” run the complete workflow above.

Dry run: The user says "check dependabot" or "show dependabot PRs" β€” run Steps 1-2 only, report classification without merging.

FAQ

Which updates are merged automatically?

The skill merges GitHub Actions updates and patch updates, and minor updates after CI passes.

What needs my review?

Major version updates, unknown libraries and security-tagged updates are reported to you.

What do I need installed?

The skill uses the GitHub CLI, gh, to list and merge pull requests.

Details

Original description by the author

Review and manage Dependabot PRs. Categorizes by risk, checks CI status, auto-merges safe updates, and reports issues. Use when the user says "review dependabot", "merge dependabot", "dependabot PRs", or "update dependencies".

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#9111
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills