← ClaudeAtlas

dependabot-mergelisted

Bulk-process open dependabot PRs: audit each dependency, comment findings, merge if CI green, request rebase on conflicts or CI failures. Use to merge dependabot PRs, process dependency bumps, auto-merge bot PRs, or handle dependabot backlog.
lklimek/claudius · ★ 1 · AI & Automation · score 67
Install: claude install-skill lklimek/claudius
# Dependabot PR Bulk Processor Audit, comment, and merge open dependabot PRs. Each PR gets a security review via the `review-dependency` skill, a comment with findings, and — if safe — a squash merge. **Argument**: `$ARGUMENTS` — optional filter (e.g., `golang`, `docker`, `npm`). Empty = process all open dependabot PRs. ## Prerequisites - `ghsudo` installed for write operations (`pip install ghsudo`) - GitHub MCP tools available (`mcp__plugin_claudius_github__*`) - `review-dependency` skill available ## Workflow ### 1. Discover Open Dependabot PRs ```bash gh pr list --repo <owner>/<repo> --author 'app/dependabot' \ --json number,title,statusCheckRollup,mergeable --limit 50 ``` Extract per PR: number, title, CI status (which checks passed/failed), mergeable state. If `$ARGUMENTS` is set, keep only PRs whose title contains it. ### 2. Check for Unpushed Commits Before spawning worktree agents: ```bash git log @{upstream}..HEAD --oneline ``` If unpushed commits exist, **alert the user and stop** — worktree agents fork from remote state and would miss them. If no upstream is configured, fall back to `git log origin/$(git branch --show-current)..HEAD`. ### 3. Classify PRs | Group | Condition | Action | |---|---|---| | **Green** | All CI checks passed + MERGEABLE | Audit, Comment, Merge | | **Red** | CI failures + MERGEABLE | Audit, Comment, `@dependabot rebase` | | **Conflicting** | CONFLICTING mergeable state | Comment conflict notice, `@dependabot rebase` | Prese