con un clic
deps
Upgrade JS/TS dependencies with risk assessment and Dependabot PR integration
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Upgrade JS/TS dependencies with risk assessment and Dependabot PR integration
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | deps |
| version | 0.4.0 |
| description | Upgrade JS/TS dependencies with risk assessment and Dependabot PR integration |
| allowed-tools | Bash, Read, Grep, Glob, Edit |
Upgrade JavaScript/TypeScript dependencies with intelligent risk assessment.
This skill helps you upgrade dependencies safely by:
IMPORTANT: Always follow these defaults unless the user explicitly requests otherwise:
Work in a branch - Never commit directly to main. Create a feature branch:
git checkout -b deps/update-packages
Handle Dependabot PRs in main - Merge existing Dependabot PRs to main first (they're already in PRs), then switch to a feature branch for additional updates.
Create a PR - After committing changes, create a pull request:
gh pr create --title "chore: update dependencies" --body "## Summary
- Updated X packages
- Fixed Y vulnerabilities
## Changes
[list changes]"
No attribution - Do NOT include any of these in commits or PRs:
Co-Authored-By: Claude or any Claude attribution🤖 Generated with Claude Code or similar footersupkeep binary must be installed and available on your PATH. Install it with:
brew install llbbl/tap/upkeep
(or download a binary from the GitHub releases).upkeep command, verify it is on PATH and stop with a clear message if not:
command -v upkeep >/dev/null 2>&1 || {
echo "upkeep not found on PATH — install it with: brew install llbbl/tap/upkeep" >&2
exit 1
}
gh CLI for Dependabot PR integration (optional but recommended)upkeep detect --json
This tells you:
upkeep dependabot --json
Dependabot PRs are pre-tested and often the safest to merge first.
upkeep deps --json
This returns all outdated packages categorized by update type (major/minor/patch).
Present upgrades to the user in this priority order:
upkeep audit --json for vulnerabilitiesBefore upgrading, assess the risk:
upkeep risk <package> --json
This analyzes:
Then show the user the risk assessment and ask for confirmation.
Use the detected package manager:
npm update <package> or npm install <package>@latestyarn upgrade <package>pnpm update <package>bun update <package>For major upgrades, use explicit version:
<pm> install <package>@<version>
<pm> test<pm> lint or check with the detected linter<pm> typecheck or tsc --noEmitIf tests pass:
If tests fail:
git checkout package.json <lockfile>User: "Update my dependencies"
upkeep detect --json to understand the projectupkeep deps --json to see what's outdatedupkeep audit --json to check for security issuesFor low-risk upgrades (patches with good test coverage), offer to batch them:
<pm> update # Updates all to latest within semver range
Only do this if:
| Command | Purpose |
|---|---|
upkeep detect | Detect project configuration |
upkeep deps | List outdated packages |
upkeep audit | Security vulnerability scan |
upkeep imports <pkg> | Find where package is used |
upkeep risk <pkg> | Assess upgrade risk |
upkeep dependabot | List Dependabot PRs |