본문으로 건너뛰기
cccskills
무료GitHub에 공개

dependabot

Processes all open Dependabot PRs sequentially — rebases if needed, analyzes for breaking changes and security issues, then merges or requests changes. Use when you want to handle pending Dependabot dependency updates.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구GitHub
설치 방법 보기

포함된 파일(1)

  • SKILL.md6.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Dependabot PR Processor

Processes all open Dependabot pull requests one at a time: analyze for risks first, then rebase and merge if safe, or request changes if not.

Process Overview

For each open Dependabot PR:
  1. Analyze update for breaking changes and security issues
  2. If risky → request changes with explanation → move to next PR
  3. If safe → check if up-to-date with base branch
  4. If not up-to-date → comment "@dependabot rebase" → poll until done
  5. Merge
  6. Move to next PR

Step 1: Discover Open Dependabot PRs

gh pr list --author "app/dependabot" --state open --json number,title,headRefName,baseRefName,url,labels,body --limit 100

Parse the JSON output. If no PRs found, report "No open Dependabot PRs" and stop.

Sort PRs by number (ascending) to process oldest first.

Print a summary table of all found PRs before starting processing.

Step 2: Process Each PR Sequentially

For each PR, execute steps 2a through 2e before moving to the next.

Step 2a: Analyze Dependency Update

Analyze the update before rebasing — no point wasting a rebase if the update is problematic.

Extract from the PR body and title:

  • Package name and ecosystem (npm, cargo, pip, docker, github-actions, etc.)
  • Version change (from → to)
  • Whether it's a major, minor, or patch update

Determine Risk Level

Major version bumps (e.g., 6.x → 7.x): HIGH risk — likely contains breaking changes.

Minor version bumps (e.g., 6.1 → 6.2): MEDIUM risk — could contain new features or deprecations.

Patch version bumps (e.g., 6.1.1 → 6.1.2): LOW risk — typically bug fixes only.

Research the Update

Use web search to check for issues:

Search: "<package-name> <new-version> breaking changes"
Search: "<package-name> <new-version> changelog"
Search: "<package-name> <new-version> security vulnerability CVE"

Also check the PR body itself — Dependabot usually includes a changelog summary and release notes.

Analysis Checklist

Evaluate the following and document findings:

  1. Breaking changes: Does the changelog mention breaking changes, removed APIs, or changed behavior?
  2. Security advisories: Is this update fixing a known CVE? Are there new CVEs introduced?
  3. Compatibility: Is the new version compatible with our other dependencies and our minimum supported versions?
  4. CI status: Check if CI passes on the PR:
    gh pr checks <NUMBER>
    

Decision Matrix

ConditionAction
Patch update, CI passes, no known issuesProceed to rebase/merge
Minor update, CI passes, no breaking changes foundProceed to rebase/merge
Major update, CI passes, no breaking changes foundProceed to rebase/merge (with note)
CI failsRequest changes
Breaking changes foundRequest changes
Security vulnerability introducedRequest changes
Cannot determine safetyRequest changes (err on the side of caution)

If the analysis found problems → skip to step 2e (request changes). If the analysis is positive → continue to step 2b.

Step 2b: Check if PR is Up-to-Date

gh pr view <NUMBER> --json mergeable,mergeStateStatus

Also check if the PR branch is behind the base branch:

git fetch origin <baseRefName> <headRefName>
git rev-list --count origin/<headRefName>..origin/<baseRefName>

If the count is > 0, the PR needs a rebase (likely because a previous PR was just merged into the base branch). Proceed to step 2c. If the count is 0, the PR is up-to-date. Skip to step 2d.

Step 2c: Rebase via Dependabot Comment

Post a comment to trigger Dependabot's rebase:

gh pr comment <NUMBER> --body "@dependabot rebase"

Then poll until the rebase is complete. Check every 60 seconds:

sleep 60
git fetch origin <headRefName>
git rev-list --count origin/<headRefName>..origin/<baseRefName>
  • If count reaches 0 → rebase complete, proceed to step 2d
  • If after 10 minutes (10 checks) the rebase still hasn't completed → log a warning and skip this PR (move to next)
  • If the PR is closed or the branch is gone → log and skip

Step 2d: Merge the PR and Wait for Completion

main merges through a merge queue. Merge with the procedure in the merge-train skill, which waits on the queue entry and not on the PR state: a PR that drops out of the queue stays OPEN.

Do not merge a Dependabot security update unless Security update approved is green on the commit being merged (AGENTS.md, "Security updates"). Report it and move to the next PR.

Wait until the PR is merged before starting the next one, because each merge changes main and makes the other Dependabot PRs outdated.

Log: "Merged PR #<NUMBER>: <title>"

Step 2e: Request Changes

If the analysis in step 2a found problems:

gh pr review <NUMBER> --request-changes --body "$(cat <<'EOF'
## Dependabot Auto-Review: Changes Requested

This dependency update was flagged for manual review.

### Findings

<list specific findings here>

### Reason

<explain why this cannot be auto-merged>

### Recommended Action

<suggest what the maintainer should do>
EOF
)"

Log: "Requested changes on PR #<NUMBER>: <title> — Reason: <brief reason>"

Step 3: Summary Report

After processing all PRs, print a summary:

## Dependabot Processing Complete

| PR | Package | Version | Action | Reason |
|----|---------|---------|--------|--------|
| #123 | vite | 6.0 → 7.0 | Merged | Patch update, CI green |
| #124 | serde | 1.0 → 2.0 | Changes requested | Major version, breaking API |
| #125 | node | 22 → 24 | Skipped | Rebase timed out |

**Merged:** N
**Changes requested:** N
**Skipped:** N

Important Notes

  • Process PRs strictly one at a time — do NOT start processing the next PR until the current one is confirmed MERGED. Each merge changes the base branch, making other PRs outdated
  • Always wait for CI to be green before merging
  • When in doubt, request changes — a human can always override
  • The @dependabot rebase command is the standard way to trigger a rebase; Dependabot responds with a reaction emoji and rebases asynchronously
  • After confirming a merge, do a brief sleep 10 before starting the next PR to allow GitHub to process webhooks and update remaining PR branches
  • Expect each subsequent PR to need a rebase after the previous one merges — this is normal and handled by step 2b/2c

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Check if a RIG preview deployment is actually running and healthy. Verifies CI triggered, images exist, pods started, and services respond. Use when a PR deployment seems broken or after pushing code.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NederlandseDigitaleDienst/regelrecht252026년 10월 19일 업데이트

Performs critical code reviews using REVIEW.md guidelines. Evaluates code quality, architecture, testing, and domain-specific concerns (legal faithfulness, cross-law references, engine safety). Use after completing significant code changes or before merging.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NederlandseDigitaleDienst/regelrecht252026년 10월 19일 업데이트

Writing rules for the regelrecht docs site (docs/). Use when writing or editing prose under docs/ — RFCs, guides, component docs, concept pages, and the NL/EN landing copy. Keeps docs prose free of AI-generated tells and consistent with the site's government-technical register. Not for code, commit messages, or PR descriptions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NederlandseDigitaleDienst/regelrecht252026년 10월 19일 업데이트

Provides context about the regelrecht Figma design system and helps with Figma-related tasks like component lookups and design comparisons. Use this skill proactively when: implementing UI components, looking up Figma node IDs, comparing code with Figma designs, downloading Figma assets, or working with design tokens. Activate automatically when user mentions Figma, design system, component styling, or asks about RR-Components.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NederlandseDigitaleDienst/regelrecht252026년 10월 19일 업데이트

Downloads Dutch official legal publications including national laws, local regulations, and implementation policies from government sources (wetten.overheid.nl, lokaleregelgeving.overheid.nl). Use this skill proactively when: user mentions downloading, fetching, or importing a Dutch law by name or BWB/CVDR identifier, when a source.regulation reference points to a law not in the corpus, or when user provides a wetten.overheid.nl URL. Activate automatically when user mentions a specific Dutch law name, BWB identifier (BWBR...), or CVDR identifier.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NederlandseDigitaleDienst/regelrecht252026년 10월 19일 업데이트

Generates machine_readable execution logic for Dutch law YAML files: writes the machine_readable sections, validates against the schema, and (when a shell is available) runs the BDD suites until the model is correct. Use this skill proactively when: editing or creating machine_readable sections in law YAML files, working with corpus regulation files, or when user mentions 'generate', 'machine_readable', or wants to make a law executable. Activate automatically when user discusses law YAML files that need executable logic.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

NederlandseDigitaleDienst/regelrecht252026년 10월 19일 업데이트

NederlandseDigitaleDienst의 스킬 모두 보기

이 스킬의 문제 신고