/release-ops:dependency-upgradefrom release-ops
Safe batch dependency upgrades across a codebase — inventory outdated packages (npm outdated / uv lock --upgrade), group by risk (patch/minor/major), upgrade in waves with tsc/test/Playwright gates, read changelogs for majors, run `exposure-scan` for supply-chain checks, and land one PR per wave. Use when asked to "upgrade dependencies," "bump packages," "clear npm outdated," or on a periodic maintenance pass.
Ships in release-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Bulk dependency bumps are routine but not risk-free — a single bad major-version bump can break a build silently until deploy, and supply-chain compromises (the kind exposure-scan catches) don't announce themselves. This skill treats upgrades as a small pipeline with gates, not a single npm update and a prayer. Node/TypeScript projects use npm; Python projects use uv. Run Playwright E2E where the project has it — applications that render a UI — and skip it for pure libraries.
Inventory. Run the right command for the stack:
npm outdated --json for a structured list of current/wanted/latest per package.uv tree --outdated to list the latest available version of each package, and uv lock --upgrade --dry-run to preview lockfile changes without writing them.Group by risk, not alphabetically:
@types/* together, all eslint-* together) to keep changelogs reviewable in one pass.next + eslint-config-next + @next/*) per wave — never bundle unrelated majors together.Upgrade in waves, smallest risk first:
npm update <pkg>..., or uv lock --upgrade-package <name> per package then uv sync; run gates, one PR. npm update stays inside the ranges declared in package.json, so it never moves a major. uv lock --upgrade (no package) moves everything as far as pyproject.toml bounds allow, which can include majors on unbounded dependencies — prefer --upgrade-package here.npm install <pkg>@^<x.y> per ecosystem group, or uv lock --upgrade-package <name> then uv sync; run gates, one PR per group (or one PR if the groups are small and unrelated-but-safe).npm install <pkg>@<major>, or raise the bound in pyproject.toml and run uv lock --upgrade-package <name> then uv sync; run gates, one PR per major (one package or tightly coupled group).Read changelogs before any major bump. Pull the changelog/release notes (GitHub releases page, or the package's CHANGELOG.md) for every version between current and target — not just the latest entry. Look specifically for: removed APIs, config-file format changes, Node/TypeScript minimum-version bumps, peer-dependency changes. For framework majors (Next.js, React, Prisma) check the official migration guide, not just the changelog — use WebSearch/Context7 if available rather than relying on memory, since major-version migration steps change and training data may be stale.
Run the gates for every wave, in this order, stopping at the first failure:
tsc --noEmit — type-check gate, catches API surface changes immediately.npx playwright test (projects with an E2E suite) — catches UI/E2E regressions the type checker can't see, especially after UI-library or Next.js bumps.Run exposure-scan before finalizing any wave — this checks installed packages against threat-intel catalogs of known-compromised releases. Run it especially for major bumps that pull in new transitive dependencies, since a new sub-dependency is a new unvetted surface.
Lockfile hygiene: commit the updated lockfile (package-lock.json / uv.lock) in the same PR as the version bump — never let package.json and the lockfile drift. Don't hand-edit lockfiles; regenerate them via the package manager. Before pushing, confirm the lockfile matches the manifest: npm ci succeeds (it errors when package.json and package-lock.json disagree) or uv lock --check passes.
One PR per wave, titled per Conventional Commits: chore(deps): bump patch dependencies / chore(deps): bump next to v15 etc. Squash-merge per house convention, feature-branch naming chore/<issue>-deps-<wave> if an issue number exists, otherwise a clear branch name.
npm outdated / uv tree --outdated) before touching anythingtsc --noEmit → tests → Playwright (where applicable)exposure-scan run per wave, especially majors with new transitive depspackage.json/pyproject.toml changes, and npm ci / uv lock --check passesexposure-scan clean; lockfile and manifest committed together; lockfile check passes.exposure-scan hit; lockfile out of sync with the manifest.npm update and expecting majors; it only moves within declared ranges.package.json without the lockfile, or the reverse.Sources: npm update, npm ci, uv locking and syncing.
A wave plan (table: package / current / target / risk tier / wave) up front, then per-wave PRs with gate results pasted into the PR description as evidence.
exposure-scan flags a package as matching a known-compromised release → stop immediately, do not proceed with that upgrade, and surface it — this is a supply-chain incident, not a routine finding.backup-verify skill and follow db-migration-safety (both in the ship-pipeline pack) before applying anything beyond a dev/staging environment.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub stylusnexus/agent-plugins --plugin release-ops10 skills in this plugin
/customer-support-triageSupport inbox workflow for a small team - classify each request (bug, feature request, billing, how-to), attempt reproduction, assign severity, file a standard GitHub issue with no customer PII, check refund requests against the written policy, and draft the reply for a human to send. Use when triaging support email or tickets, or when asked to "handle this support request", "file this bug", or "draft a reply to this customer"./incident-responseProduction incident runbook for a small team - severity call, fixed triage order, rollback-first decision, user comms, and a one-page blameless postmortem. Use when a service is down, erroring, or degraded in production, e.g. "site is down", "we're getting 500s", "uptime alert fired", "users report errors", "was it the last deploy?", "roll back", or "write the postmortem".Other plugins' skills for the same job
/llm-cost-audit