jmservera/aithena/dependabot-batch-merge
Claude Code and agent skill by jmservera/aithena
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
How to consolidate multiple dependabot PRs into a single batch without silently reverting earlier bumps
Install
npx vskill@latest install jmservera/aithena/dependabot-batch-mergeSemi-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-merge.
Context
When batching multiple dependabot branches (e.g., 17 PR chain across npm, Python, GitHub Actions), manifest files (package.json, pyproject.toml) often conflict if multiple branches touch the same file. Naive conflict resolution via git checkout --theirs can silently revert earlier merged bumps.
Observed scenario (2026-05-31):
- Batch PR #1608 consolidated 17 bumps
- Merge #1596 (pika bump to solr-search/pyproject.toml)
- Merge #1601 (uvicorn bump to solr-search/pyproject.toml)
- Later merge #1602 from branch dep-1602 which had pyproject.toml with only its own bump
- Naive
git checkout --theirson conflict → uvicorn + pika reverted silently - Same pattern on package.json: npm bumps from #1594/#1595/#1599/#1600 disappeared when merging dep-1597
Root cause: Each dependabot branch has its own snapshot of the manifest. When merging, the incoming branch's version of the file replaces all prior changes to the same file, even if they're from already-merged branches.
Patterns
❌ Anti-Pattern: Naive --theirs
✅ Pattern 1: Manual 3-Way Reconciliation
For each conflicted manifest:
- Identify all bumps: Extract version specs from the incoming branch + all prior merged branches that touched this file
- Merge bump entries: Combine all distinct version updates into a single manifest entry
- Regenerate lockfile:
uv lockornpm cito ensure consistency - Verify: Run
verify.shto confirm all tests pass before committing
Example (pyproject.toml conflict):
✅ Pattern 2: Higher-Level Strategy (Recommended)
For future dependabot batch workflows:
- Use a 3-way merge tool (git mergetool, VS Code merge UI) that shows incoming ∆ base ∆ current
- Batch _before_ creating branch: Instead of merging 17 individual branches, cherry-pick all 17 bumps onto a single worktree from main, then create _one_ PR
- Automate lockfile regeneration: Add a pre-commit hook that runs
uv lock/npm ciwhenever manifest changes
Examples
Recovering Lost Bumps (2026-05-31)
Commit 4fd7ed3 — restoration after conflict gotcha:
Anti-Patterns
- ❌
git checkout --oursor--theirswithout reviewing what's being dropped - ❌ Merging multiple dependabot branches without checking for overlaps in manifest files first
- ❌ Assuming
git diffbetween commits will show all lost bumps (lockfile regeneration makes diffs hard to read) - ❌ Pushing batch PR without running full
verify.shlocally
Related Skills
dependabot-batch-sweep— The high-level strategy for batching multiple dependabot PRs. This skill focuses on tactical manifest-conflict handling during the merge phase of that workflow.git-workflows— worktrees, 3-way merges, rebase strategiespython-dependency-management— uv lock regeneration, pyproject.toml semanticsnpm-dependency-management— npm ci, package-lock.json regeneration
Confidence Notes
Low confidence — observed in one session (Ralph round 3, 2026-05-31). Pattern holds if:
- Future batches also merge multiple overlapping manifest branches
- Conflict resolution continues to use
--ours/--theirsworkflows - No tooling changes (e.g., git mergetool config)
If this pattern recurs in next dependabot cycle, bump to medium confidence.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.squad/skills/dependabot-batch-merge/SKILL.md
Popularity
- 7-day trend score
- 0
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
[](https://verified-skill.com/skills/jmservera/aithena/dependabot-batch-merge)