agents/skills/deps/SKILL.md
Audit outdated dependencies, check for vulnerabilities, and upgrade with test verification. Use for dependency audits, security checks, or upgrading packages.
npx skillsauth add drn/dots depsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Audit outdated dependencies, check for known vulnerabilities, and upgrade with automatic test verification. Rolls back any upgrade that breaks tests.
$ARGUMENTS - Optional: audit (check only, no changes), upgrade (apply upgrades), or a specific package name to focus onfind . -maxdepth 1 \( -name go.mod -o -name Gemfile -o -name package.json -o -name Cargo.toml -o -name pyproject.toml \) 2>/dev/null | head -5find . -maxdepth 1 \( -name go.sum -o -name Gemfile.lock -o -name package-lock.json -o -name yarn.lock -o -name pnpm-lock.yaml -o -name Cargo.lock -o -name poetry.lock -o -name uv.lock \) 2>/dev/null | head -5Based on the context above, identify the package manager:
| File | Package Manager | Outdated Command |
|------|----------------|-----------------|
| go.mod | Go modules | go list -m -u all |
| Gemfile | Bundler | bundle outdated |
| package.json | npm/yarn/pnpm | npm outdated or yarn outdated |
| Cargo.toml | Cargo | cargo outdated (if installed) |
| pyproject.toml | pip/poetry/uv | pip list --outdated or poetry show --outdated |
IF no recognized package manager is found, report "No supported package manager detected." and stop.
IF multiple are found, process each in order.
Run the appropriate outdated command. Parse the output into a table:
| Package | Current | Latest | Type |
|---------|---------|--------|------|
| foo | 1.2.3 | 2.0.0 | Major |
| bar | 1.0.0 | 1.1.0 | Minor |
| baz | 1.0.0 | 1.0.1 | Patch |
Classify each as Major, Minor, or Patch based on semver difference.
Run the appropriate audit command:
| Package Manager | Audit Command |
|----------------|--------------|
| Go | govulncheck ./... (if installed, otherwise skip) |
| Bundler | bundle audit check (if installed, otherwise skip) |
| npm | npm audit |
| Cargo | cargo audit (if installed, otherwise skip) |
| pip | pip-audit (if installed, otherwise skip) |
Report any known vulnerabilities with severity level.
IF $ARGUMENTS is audit or empty, present the combined report and stop:
## Dependency Report
### Outdated (<N> packages)
<table from Step 2>
### Vulnerabilities (<N> found)
<table of vulnerabilities with severity>
### Recommendation
- <N> critical/high vulnerabilities to fix immediately
- <N> major updates to evaluate
- <N> minor/patch updates safe to apply
IF $ARGUMENTS is upgrade or a specific package name, proceed with upgrades.
Order of operations:
For each upgrade:
Apply the upgrade using the appropriate command:
go get <package>@latestbundle update <gem>npm install <package>@latestCargo.toml, run cargo update -p <package>pip install --upgrade <package>Run the test suite (detect framework same as /test skill):
go test ./...bundle exec rspecnpm testcargo testpytestIF tests pass: keep the upgrade, move to next package.
IF tests fail: revert the change (git checkout -- <lockfile> <manifest>), report the failure, and move to next package.
## Upgrade Summary
| Package | From | To | Status |
|---------|------|----|--------|
| foo | 1.0.0 | 1.0.1 | Upgraded |
| bar | 1.0.0 | 2.0.0 | Failed (test: <brief reason>) |
| baz | 1.0.0 | 1.1.0 | Skipped (user declined) |
**Tests:** All passing after upgrades.
development
Walk every unresolved review thread on a PR, triage each one, reply with a rationale of whether or not the comment will be acted upon, make the code change if warranted, and mark the thread resolved. Use when the user asks to address only the open PR comments without re-running CI, respond to review feedback, resolve review threads, or clear bot comments on a PR.
tools
Iteratively run /rereview, fix the findings, and loop until reviewers approve clean. Use for iterative automated review, when you want /rereview to loop until clean, or for a paranoid pre-merge review that auto-addresses every blocker.
development
Generate self-contained HTML visualizations with Plannotator theming. Use for implementation plans, PR explainers, architecture diagrams, data tables, slide decks, and any visual explanation of technical concepts. Plans and PR explainers follow Plannotator's prescriptive approach; all other visual content delegates to nicobailon/visual-explainer.
development
Create reviewed Codex goal setup packages for long-running /goal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final /goal prompt.