← ClaudeAtlas

js-depslisted

Fix JavaScript package security vulnerabilities or upgrade outdated npm/yarn/pnpm/bun dependencies. Use when the user wants to patch CVEs, resolve npm audit findings, bump package versions, modernize node_modules, or update specific packages across a JS project or monorepo. Handles any project with package.json files. Also triggers for "/js-deps" with or without specific package names or glob patterns. Not for non-JS ecosystems, adding brand-new packages, creating package.json from scratch, switching package managers, or debugging runtime errors.
WhatIfWeDigDeeper/agent-skills · ★ 2 · Data & Documents · score 74
Install: claude install-skill WhatIfWeDigDeeper/agent-skills
# JS Deps ## Arguments Specific package names (e.g. `jest @types/jest`), `.` for all packages, or glob patterns (e.g. `@testing-library/*`). If `$ARGUMENTS` is `help`, `--help`, `-h`, or `?`, skip the workflow and read [references/interactive-help.md](references/interactive-help.md). ## Workflow Selection Based on user request: - **Security audit** (audit, CVE, vulnerabilities, security): Read [references/audit-workflow.md](references/audit-workflow.md) - **Dependency updates** (update, upgrade, latest, modernize): Read [references/update-workflow.md](references/update-workflow.md) - **Ambiguous** (no clear intent, or invoked with no args and no context): Read [references/interactive-help.md](references/interactive-help.md) to present the interactive help flow. If the user expresses version preferences (e.g., "only minor and patch", "skip major versions", "only critical CVEs"), apply the filters defined in [references/interactive-help.md](references/interactive-help.md) without requiring an explicit `--help` invocation. ## Shared Process ### 1. Create Worktree Create an isolated git worktree so the main working directory is never modified: ```bash TIMESTAMP=$(date +%Y%m%d-%H%M%S) BRANCH_NAME="js-deps-$TIMESTAMP" # Prefer a sibling directory to the project root; fall back to $TMPDIR if that's not writable WORKTREE_PATH="$(dirname "$(git rev-parse --show-toplevel)")/$BRANCH_NAME" git worktree add "$WORKTREE_PATH" -b "$BRANCH_NAME" 2>/dev/null || { WORKTREE_PATH="${TM