Install
$ agentstack add skill-lugassawan-swe-workbench-workflow-dependency-upgrade ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
workflow-dependency-upgrade
Structured runbook for the full upgrade lifecycle: triage → bump → test → triage breakage → PR hygiene.
Announce at start: "I'm using the workflow-dependency-upgrade skill to structure this dependency upgrade."
When to invoke
- Routine dependency sweep (scheduled or prompted by CI/tooling alerts).
- Triage and merge a batch of Dependabot or Renovate PRs safely.
- A CVE has been flagged in a dependency — need to patch and verify closure.
- Major-version migration with expected API breakage.
When NOT to invoke
- Design-time dep-graph minimization or supply-chain posture review →
swe-workbench:principle-security. - Release/version-bump mechanics (semver discipline, changelog, pre-release gate) →
swe-workbench:principle-release-engineering. - A full feature build that happens to bump a dep →
/swe-workbench:implement.
Composition
swe-workbench:principle-security— supply-chain integrity, CVE triage, SBOM, lockfile pinning, frozen installs.security-auditoragent — CVE confirmation and dependency-graph risk read.revieweragent — breakage diff read for ambiguous API/type changes.
> Sub-skill: swe-workbench:workflow-commit-and-pr — used at Phase 5 for commit format enforcement and PR filing.
Phases
Phase 1 — Triage & batch
- Classify each pending upgrade as patch, minor, or major.
- Batch low-risk patch/minor upgrades together in one PR.
- Pin/isolate majors and security-critical bumps — one per PR.
- Prefer automated tools (Dependabot/Renovate) for routine patch/minor; manual sweeps for majors.
Phase 2 — Bump & regenerate lockfile
- Use the ecosystem command matrix below to bump the manifest.
- Regenerate the lockfile immediately after — never commit a stale lockfile.
- Commit lockfile churn as a separate atomic commit from any code fixes.
Phase 3 — Build & test
- Run full build + test + typecheck + lint.
- Run the ecosystem audit command to confirm a patched CVE is actually closed.
- If the audit still flags the CVE: a transitive pin may still reference the old version — inspect and force-resolve.
Phase 4 — Triage breakage
| Class | Typical cause | Action | |-------|--------------|--------| | Type / compile errors | API renamed or signature changed | Update call sites; consult reviewer for large diffs | | Behavioral test failures | Semantic change in dep behavior | Read changelog/release notes; update assertions | | Transitive / peer conflicts | Two deps require incompatible sub-dep | Force-resolve or isolate in its own PR | | CVE still flagged post-bump | Transitive pin to old version | Override transitive dep version explicitly |
Abort path: if a major upgrade won't reconcile cleanly, pin to last-good version and file an issue rather than ship a half-migration.
Phase 5 — PR hygiene & deliver
- PR body must include: per-dep rationale, before/after versions, what broke and how fixed, audit/CVE evidence.
- Keep lockfile changes and code fixes in separate reviewable commits.
- Hand off to
swe-workbench:workflow-commit-and-pr.
Ecosystem command matrix
| Ecosystem | Bump | Regen lockfile | Audit | |-----------|------|----------------|-------| | npm | npm update / npx npm-check-updates -u | npm install (auto) | npm audit | | pnpm | pnpm update | pnpm install (auto) | pnpm audit | | yarn | yarn upgrade | yarn install (auto) | yarn npm audit | | cargo | cargo update -p | cargo update (auto) | cargo audit | | pip/uv | uv add @latest | uv lock | pip-audit | | poetry | poetry add @latest | poetry lock --no-update | poetry audit (plugin) | | go | go get @latest | go mod tidy | govulncheck ./... | | bundler | bundle update | bundle install (auto) | bundler-audit check | | maven | mvn versions:use-latest-releases | auto | mvn dependency-check:check | | gradle | edit version in build file | ./gradlew dependencies | ./gradlew dependencyCheckAnalyze |
Common mistakes
| Mistake | Why it matters | |---------|----------------| | Batching a major with patches | Obscures API breakage risk; hard to revert one piece | | Editing manifest without regenerating lockfile | Produces a stale lockfile that diverges from what CI installs | | Skipping the audit re-check | CVE may persist through a transitive pin — bump alone is not enough | | Shipping a half-done major migration | Leaves the codebase in an inconsistent compatibility state | | Mixing lockfile + logic in one commit | Makes the diff unreadable and code review impractical |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: lugassawan
- Source: lugassawan/swe-workbench
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.