본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)33k · #9111

dependabot-review

하는 일

이 스킬은 AI 에이전트가 GitHub의 자동 의존성 업데이트 풀 리퀘스트를 관리하도록 안내합니다. 변경 사항을 일일이 검토하지 않고 패키지를 최신으로 유지하려는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓저장소의 열린 Dependabot 풀 리퀘스트를 모두 검토하고 싶을 때.
  • ✓어떤 의존성 업데이트가 위험하고 어떤 것이 안전하게 병합 가능한지 알아야 할 때.
  • ✓사람이 검토해야 하는 의존성 업데이트 보고서가 필요할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

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.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“열린 Dependabot 풀 리퀘스트를 검토하고, 안전한 것은 병합하고, 제가 검토해야 할 것을 알려 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 GitHub CLI로 열린 Dependabot 풀 리퀘스트를 나열하고, 업데이트 규모별로 정렬하며, CI 결과를 확인하고, 위험이 낮은 것을 병합합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.

자주 묻는 질문

어떤 업데이트를 자동으로 병합하나요?

GitHub Actions 업데이트와 패치 업데이트를 병합하며, 마이너 업데이트는 CI를 통과한 뒤 병합합니다.

무엇을 직접 검토해야 하나요?

메이저 버전 업데이트, 알려지지 않은 라이브러리, 보안 태그가 붙은 업데이트는 보고됩니다.

무엇을 설치해야 하나요?

풀 리퀘스트를 나열하고 병합하기 위해 GitHub CLI인 gh를 사용합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
33k
순위
#9111
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬