jmservera/aithena/dependabot-batch-sweep

Claude Code and agent skill by jmservera/aithena

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Batch multiple Dependabot PRs into a single PR with cherry-pick + lockfile regeneration

Install

npx vskill@latest install jmservera/aithena/dependabot-batch-sweep

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as jmservera/aithena/dependabot-batch-sweep.

Context

When Dependabot opens many PRs simultaneously, merging them individually creates noise and CI churn. Batch them into a single PR for cleaner history and fewer CI runs.

Recipe

1. Setup
bash
git fetch origin
git worktree add ../<repo>-dependabot-<date> -b chore/dependabot-batch-<date> origin/dev
cd ../<repo>-dependabot-<date>
2. Triage
  • LOW/MEDIUM risk (patch/minor bumps, dev deps): Include in batch
  • HIGH risk (major versions, runtime changes like Python/Node base images): Exclude, create tracking issues
3. Cherry-pick

For each included PR:

bash
branch=$(gh pr view <N> --json headRefName -q .headRefName)
git cherry-pick origin/$branch

Lockfile conflicts are expected when stacking bumps for the same service. Resolution:

bash
git checkout --theirs <lockfile>
git add <lockfile>
git cherry-pick --continue --no-edit
4. Regenerate lockfiles

After all cherry-picks, regenerate lockfiles per service:

bash
# Python services
cd src/<service> && uv lock
# Node services
cd src/<service> && npm install

Commit the regenerated lockfile separately with a clear message.

5. Verify
bash
.squad/scripts/verify.sh --all
6. PR + CI + Merge
  • Push branch, create PR to dev with grouped bullet list
  • Watch CI: gh pr checks <N> --watch --interval 60
  • E2E may flake (#1583) — rerun up to 3 times: gh run rerun <id> --failed
  • Resolve review threads via GraphQL before merge
  • If strict mode: merge origin/dev into branch before final merge
  • Merge: gh pr merge <N> --squash --delete-branch (or --admin if classic protection)
7. Cleanup
  • Close superseded PRs: gh pr close <N> --comment "Superseded by #<batch>" --delete-branch
  • Post summary on milestone issue

Anti-Patterns

  • ❌ Don't include major version bumps (Python, Node, Solr) in low-risk batches
  • ❌ Don't skip lockfile regeneration — cherry-picked lockfiles may be stale
  • ❌ Don't assume --admin bypasses rulesets (it only bypasses classic branch protection)
  • ❌ Don't forget to resolve code-scanning review threads before merge

Gotchas

  • Squash-merge does NOT auto-close referenced PRs — must manually close each superseded PR
  • Each push triggers new code-scanning review threads — resolve all before merge attempt
  • Pre-commit hooks run tests during cherry-pick --continue — may modify lockfiles (reset with git checkout --)
  • npm lockfiles auto-merge cleanly more often than uv.lock; Python lockfiles almost always need regeneration
  • ⚠️ CRITICAL: `--ours`/`--theirs` on manifest files silently reverts earlier bumps — See .squad/skills/dependabot-batch-merge for tactical conflict-resolution patterns. Never resolve conflicts on package.json / pyproject.toml with blanket --theirs; manually reconcile all distinct version specs instead.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jmservera/aithena/dependabot-batch-sweep/badge)](https://verified-skill.com/skills/jmservera/aithena/dependabot-batch-sweep)

Something wrong with this skill or its page? Tell us.