j-mauro-r/SAT-Dengue-V2 / .agents/skills/deepworkplan/addons/dependency-upgrade
deepworkplan-addon-dependency-upgrade
VerifiedDeepWorkPlan addon that safely upgrades a repo's dependencies — reasoning about the repo's ACTUAL package manager (npm/pnpm/yarn + ncu, pip/poetry/uv, cargo, go mod, bundler, composer, and more) rather than assuming npm — with a batched, validated, revertible workflow that detects the manager and manifests/lockfiles, classifies upgrades (patch/minor/major), upgrades in safe batches, runs the repo's real validation gate after each batch, reverts a failing batch, and summarizes. Near-default — offered for every repo with declared dependencies, and its delegator installs under the onboarding consent unless declined; upgrades themselves never run automatically, only as explicit, gated work. Never required for baseline conformance; reconciles with the repo's existing tooling. Use when the developer wants to bring dependencies up to date without breaking the build.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 10.4 KB |
| SPEC.md | markdown | 8.5 KB |
| addon.json | config | 221 B |
| templates/ecosystems.md | markdown | 5.8 KB |
| templates/lib-upgrade-command.md | markdown | 2.0 KB |
| templates/upgrade-report.md | markdown | 1.4 KB |
templates/lib-upgrade-command.md
View on GitHub# Template — `/lib-upgrade` delegator command (reasoning aid)
This is the **delegator command** the dependency-upgrade addon installs into the
target repo's `.agents/commands/lib-upgrade.md` under the Phase 0 onboarding
consent during `onboard` Phase 7b **unless the addon is explicitly declined**
(or when the addon is run directly). It is a
**thin delegator**: it carries no upgrade logic of its own — it routes to the
`deepworkplan-addon-dependency-upgrade` addon, which holds the real flow.
Fill the placeholders by reasoning about the target repo (its detected package
manager and real validation gate); do not copy verbatim. Decline the addon → do
**not** install this command.
```markdown
---
name: lib-upgrade
description: Safely upgrade this repo's dependencies (batched, validated, revertible) via the DeepWorkPlan dependency-upgrade addon.
---
# /lib-upgrade
Bring this repository's dependencies up to date **without breaking the build**.
This command is a **thin delegator** to the DeepWorkPlan
`deepworkplan-addon-dependency-upgrade` addon — it does not contain the upgrade
logic itself.
## Steps
1. Invoke the `deepworkplan-addon-dependency-upgrade` addon (via
`/deepworkplan-addon-dependency-upgrade` or by reading the addon's `SKILL.md`).
2. Follow the addon's flow: detect this repo's package manager
(<e.g. pnpm via pnpm-lock.yaml>), classify upgrades (patch/minor/major),
upgrade in safe batches, run this repo's real gate after each batch
(<e.g. `pnpm run biome:check && pnpm run astro:check && pnpm run build`>),
revert any batch whose gate fails, and summarize.
3. Surface the upgrade report and the diff; do **not** auto-commit.
## Notes
- Detected package manager for this repo: <fill in — e.g. pnpm / poetry / cargo>.
- Real validation gate for this repo: <fill in the repo's actual commands>.
- Majors require explicit approval before they are included in a batch.
- The lockfile is regenerated by the manager — never hand-edit it.
```
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |
| fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks. | Stars: 115k | Updated | Claude CodeCodex | Verified | Install |