dependency-updater
Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance…
от OGKevin★ 55 звёзд на GitHub
Установить dependency-updater в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Updating Dependencies
Resolve failed dependency update PRs from Renovate or Dependabot by diagnosing version constraints and API breaks, then verifying with the project skills.
Core mission
- Diagnose — Understand what Renovate/Dependabot bumped and why it failed
- Reproduce — Recreate the failure locally
- Resolve — Fix version constraints and API changes methodically
- Verify — Follow the AGENTS.md testing sequence
Workflow
Phase 1: Analysis
Read the PR description to understand:
- Which package was updated (e.g.
rand_core 0.9.3 -> 0.10.0) - The changelog/release notes for breaking changes
- Any artifact update errors from Renovate
- Which package was updated (e.g.
Check CI logs for:
- Version constraint conflicts (
failed to select a version for the requirement) - Compilation errors (API changes, removed types/traits/methods)
- Test failures
- Version constraint conflicts (
Examine the commit diff to see exactly what changed in
Cargo.toml
Phase 2: Reproduce locally
Confirm you are on the PR branch, then:
cargo update
cadmuscli test --features emulator
If cargo update fails with version constraints, note which packages conflict
before changing manifests.
Phase 3: Resolve version constraints
When you see errors like:
error: failed to select a version for the requirement `rand_core = "^0.9.0"`
candidate versions found which didn't match: 0.10.0
required by package `rand_xoshiro v0.7.0`
Resolution strategy:
Identify the dependency chain:
rand_xoshirorequiresrand_core ^0.9.0Check if dependent packages have updates: Look for versions compatible with the new requirement
Update related dependencies together:
cargo search rand_xoshiroEdit
Cargo.toml(and workspace deps in the root manifest when applicable) so related packages move to compatible versions together
Phase 4: Resolve API breaking changes
After constraints resolve, build/test to surface API changes:
cadmuscli test --features emulator
To understand new APIs:
cargo doc -p <crate_name>
Docs land under target/doc/{crate_name}/. Prefer the crate's CHANGELOG or
migration guide when one exists.
Phase 5: Fix compilation errors
For each error:
- Read the compiler message carefully — it usually suggests the fix
- Check the crate's migration guide if available
- Make minimal changes — do not refactor unrelated code
Phase 6: Verification
After Cargo.toml or dependency-related code changes, complete every step in
AGENTS.md Testing:
- Formatting —
fmtskill - Lint —
clippy-diff-reportorbuild-cadmus-nativeskill - Tests —
build-cadmus-nativeskill (--features emulator; a device feature is required) - Kobo ARM build —
build-koboskill (required)
Commit message format
chore(deps): resolve {package} {old_version} -> {new_version} update
- Update {related_package} to {version} for compatibility
- Migrate from {old_api} to {new_api}
- {other changes}
Resolves version constraint conflict with {explanation}
Known Renovate bugs
Cargo workspace packages with +metadata version strings
Affects: Packages that use build metadata in their version (e.g.
[email protected]+spec-1.1.0), when those packages are declared in multiple
Cargo.toml files within the same workspace.
Symptom: Renovate runs
cargo update --manifest-path <crate>/Cargo.toml --package pkg@old+meta --precise new
once per manifest file. The first run succeeds and rewrites Cargo.lock. The
second run then fails:
error: package ID specification `pkg@old+meta` did not match any packages
because old+meta no longer exists after the first run.
See: https://github.com/renovatebot/renovate/discussions/42208
Fix: Run cargo update from the workspace root, targeting the new
version already written into Cargo.lock by the first run:
cargo update -p pkg@<new-version>+<meta> --precise <new-version>
Also bump the minimum version constraint in every affected Cargo.toml to the
new version so the intent is explicit, e.g.:
toml = "1.1.2"
Important guidelines
- Never downgrade security updates — find forward-compatible solutions
- Update related packages together — do not leave partial updates
- Preserve existing functionality — API changes should not change behavior
- Document non-obvious migrations in commit messages or PR text (not inline code comments)
- Test thoroughly — run the full AGENTS.md verification sequence
- Keep changes minimal — only modify what the update requires
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dependency-updater?
Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance. Use when a dependency bump PR fails CI, Cargo cannot select versions, or a crate update requires code migration.
Как установить скилл dependency-updater?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dependency-updater запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…