dep-pr-cleanup
Installation
SKILL.md
dep-pr-cleanup
Dependency bots open pull requests faster than teams merge them. Renovate opens a minor and a major PR side by side, a grouped PR repeats updates that single PRs already carry, a security update targets an older version than the version-update PR next to it. This skill finds the bot PRs whose every update is already contained in other open PRs of the same bot, shows the overlaps, and closes the obsolete ones once the user has agreed.
Contract
- Input: a GitHub repository (the working directory's by default); optionally extra bot
accounts, the replacement options, and
.github/dep-pr-cleanup.json. - Output: a side-by-side comparison of the overlapping bot PRs and the proposed obsolete
ones in the conversation; after confirmation, the chosen PRs closed with a comment and their
branches deleted; a report in
docs/dep-pr-cleanup/. - Not in scope: merging, rebasing, or approving PRs; changing manifests; configuring the bots.
- Never commits. The report is written to the working tree; the user decides about it.