ワンクリックで
dependabot-unblock
Unblock stuck Dependabot PRs by requesting rebases for conflicts and investigating failing checks.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Unblock stuck Dependabot PRs by requesting rebases for conflicts and investigating failing checks.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Batch-merge the open Dependabot PRs that are ready (no conflicts, all checks passing) by combining them onto a single branch and merging once, instead of one PR at a time.
Run a full Dependabot maintenance sweep — unblock stuck PRs, batch-merge ready PRs onto the sweep branch, fix vulnerability alerts, update changelog, open one PR, and merge it once checks are green.
Run system-wide maintenance (e.g. a weekly Dependabot sweep) across all your configured projects by discovering and executing each project's `maintenance-<tag>` skill, with a live observability web app that shows per-project progress and results. Invoke as `/zed:maintenance <tag>`.
Check out a PR, read its GitHub review comments, evaluate each for validity, fix the good recommendations, and report on what was done. If the PR has no review and none is pending, always generate one (codex, copilot CLI, or a Claude subagent) and post it before fixing.
Record progress on a maintenance followup ticket — comment on it, mark it done, or decline it. Invoke as `/zed:maint-followup <ticket-number> <update|done|nope> [comment]`. When the last open ticket of a run is closed, the run flips to Completed.
Read a context handoff Markdown file written by `send-context` from another Claude Code session, absorb it into the current session, then delete the file.
| name | dependabot-unblock |
| description | Unblock stuck Dependabot PRs by requesting rebases for conflicts and investigating failing checks. |
Unblock stuck Dependabot PRs. For merge conflicts, request a rebase from Dependabot. For failing checks, investigate and attempt a trivial fix.
Before taking any action, check the project's Claude configuration for special dependency management requirements or scripts. Look in:
CLAUDE.md (and any imported files).claude/CLAUDE.mdAGENTS.mdLook for guidance on dependency updates, rebasing, merging, or Dependabot handling — for example, a project may provide a custom rebase script because Dependabot's built-in rebase is too naive. If such guidance exists, follow it in place of the default behavior in the steps below (e.g., use the project's rebase script instead of @dependabot rebase).
Run the helper script to retrieve all open Dependabot PRs and their merge readiness:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/dependabot-prs.sh"
If the script reports no open Dependabot PRs, tell the user and stop.
If the script fails, report the error and stop.
Parse the JSONL output. Each line is a JSON object with these fields:
number — PR numbertitle — PR titlebranch — head branch namemergeable — merge state: MERGEABLE, CONFLICTING, or UNKNOWNchecks_pass — boolean or null; true if all status checks succeeded, false if any failed, null if check info is unavailable (token lacks checks:read permission)review_decision — review decision (may be empty if no reviews required)url — PR URLCategorize PRs into three groups:
mergeable is CONFLICTINGchecks_pass is false AND mergeable is NOT CONFLICTING (to avoid double-handling)checks_pass is null; note these in the summary but do not investigate (check status cannot be determined)If no PRs are in either group, tell the user there are no blocked Dependabot PRs and stop.
For every PR in the "conflicting" group, comment on the PR to request a rebase:
gh pr comment <number> --body "@dependabot rebase"
Report each one to the user (number, title, URL, that a rebase was requested).
Select the first (oldest) PR from the "failing checks" group. Only handle one per invocation.
gh pr checks <number> to see which checks are failinggit checkout <branch>actions/setup-go, Go module directive, Node.js version), check whether the version is declared in multiple places and only updated in one. Look across project config (go.mod, package.json engines, .nvmrc, .node-version, .tool-versions, .python-version), CI workflows (.github/workflows/*.yml), and Dockerfiles (FROM directives). Mismatches are a common cause of check failures on version-bump PRs — fix all locations to use the same version.Summarize all actions taken: