dependabot-review
できること
このスキルは、GitHubで自動化された依存関係の更新プルリクエストを管理するようAIを導きます。すべての変更を手でレビューせずに、プロジェクトのパッケージを最新に保ちたい開発者向けです。
使う場面
- ✓リポジトリのオープンな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がスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“オープンなDependabotのPRを確認し、安全なものはマージして、私のレビューが必要なものを教えてください。”
毎週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
securitylabel 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".
人気
- GitHubのスター
- 33k
- ランキング
- #9111
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
owasp-security
33kエージェントがWebアプリ、API、モバイル、コンテナ、AIエージェント向けの OWASP のセキュリティ指針を理解し、よくある弱点を見つけて修正案を出せるよう支援します。
agent-management
33kエージェントが、AI Maestro のコマンドラインを使って AI エージェントを作成、一覧表示、休止、再開、名前変更、削除できるよう支援します。各エージェントのライフサイクルを管理します。
agent-messaging
33kエージェントが、主に自分のマシン上で Agent Messaging Protocol を使い、AIエージェント同士の署名付きメッセージを送信、受信、返信できるよう支援します。
docs-search
33kエージェントが、自動生成されたコードのドキュメントから関数の署名、クラスの定義、コメントを検索できるよう支援します。コードを変更する前に、実際のAPIを確認できます。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。