dependabot-review
Skill này làm gì
Skill này hướng dẫn agent AI quản lý các pull request cập nhật phụ thuộc tự động trên GitHub. Skill dành cho lập trình viên muốn giữ các gói của dự án luôn mới mà không phải rà soát từng thay đổi bằng tay.
Khi nào nên dùng
- ✓Khi bạn muốn xem qua tất cả pull request Dependabot đang mở trong một kho mã.
- ✓Khi bạn cần biết cập nhật phụ thuộc nào có rủi ro và cập nhật nào an toàn để merge.
- ✓Khi bạn muốn có báo cáo về các cập nhật phụ thuộc cần người xem lại.
Liên kết skill
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/workflow-automation/dependabot-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể rà soát các PR Dependabot đang mở, merge những cái an toàn và cho tôi biết cái nào cần tôi xem lại không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent liệt kê các pull request Dependabot đang mở bằng GitHub CLI, sắp xếp theo kích thước cập nhật, kiểm tra kết quả CI, rồi merge những cập nhật rủi ro thấp.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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.
Câu hỏi thường gặp
Những cập nhật nào được tự động merge?
Skill tự động merge các cập nhật GitHub Actions và cập nhật bản vá, còn cập nhật phiên bản nhỏ thì merge sau khi CI đạt.
Những gì cần tôi xem lại?
Các cập nhật phiên bản lớn, thư viện chưa rõ và các cập nhật được gắn thẻ bảo mật sẽ được báo cho bạn.
Tôi cần cài gì?
Skill dùng GitHub CLI, gh, để liệt kê và merge các pull request.
Chi tiết
Mô tả gốc của tác giả
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".
Độ phổ biến
- Sao GitHub
- 33k
- Vị trí xếp hạng
- #9111
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
owasp-security
33kDạy agent hướng dẫn bảo mật OWASP cho ứng dụng web, API, di động, container và agent AI, để nhận ra các điểm yếu phổ biến và gợi ý cách sửa.
agent-management
33kCho phép agent của bạn tạo, liệt kê, cho ngủ đông, đánh thức, đổi tên và xóa các agent AI bằng dòng lệnh AI Maestro, quản lý vòng đời của từng agent.
agent-messaging
33kCho phép agent của bạn gửi, nhận và trả lời tin nhắn có chữ ký giữa các agent AI, dùng Agent Messaging Protocol, chủ yếu trên máy của bạn.
docs-search
33kCho phép agent của bạn tìm trong tài liệu code được tạo tự động, như chữ ký hàm, định nghĩa lớp và chú thích, để kiểm tra API thật trước khi sửa code.
Skill tương tự
openclaw-update
394kGiúp agent của bạn cập nhật OpenClaw Gateway đang có, chọn cách cập nhật phù hợp với cách cài đặt và giữ phiên làm việc của bạn hoạt động.
diagnose-gateway
394kGiúp agent của bạn tìm hiểu vì sao OpenClaw Gateway bị lỗi bằng cách kiểm tra cài đặt, kênh và cổng mà không thay đổi gì.
crabbox-apps
394kGiúp agent của bạn mở và chạy một app trên máy đám mây tạm thời, rồi hiển thị giao diện của nó trong thanh bên của chat.