From dev-toolkit
Analyzes outdated dependencies and upgrades them safely with breaking change detection using pnpm for frontend/TS/JS or uv for Python backend. Generates PR summaries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-toolkit:bump-depsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Analyze outdated dependencies and safely upgrade them with breaking change detection.
Analyze outdated dependencies and safely upgrade them with breaking change detection.
Detect package manager based on current directory:
frontend/ directory or working with TypeScript/JavaScript: use pnpm referencebackend/ directory or working with Python: use uv referenceList outdated dependencies using the package manager-specific command from the reference
Spawn background analysis tasks for EACH notable upgrade:
CRITICAL: You MUST spawn the package-upgrade-analyzer sub-agent as a background Task for EACH and EVERY notable upgrade. Do NOT take shortcuts.
Task(
subagent_type="package-upgrade-analyzer",
run_in_background=true,
prompt="Analyze upgrade for {package_name} from {old_version} to {new_version}. GitHub: {repo_url}"
)
Notable upgrades include:
Spawn ALL tasks in a single message with multiple tool calls for maximum parallelism.
Wait for all background tasks to complete:
TaskOutput to retrieve results from each background taskPlan tool and its sub-agents to strategically address the breaking changesAsk clarifying questions:
Generate PR summary document:
Write a .claude/scratchpad/PR.md file using the PR template.
Ensure that all package identifiers are properly wrapped in backticks for readability.
Create PR (user confirmation required):
After generating .claude/scratchpad/PR.md, use AskUserQuestion to confirm:
AskUserQuestion(
question="Ready to create the PR? You can edit .claude/scratchpad/PR.md first if needed.",
header="Create PR?",
options=[
{ label: "Create PR", description: "Create the PR with current PR.md content" },
{ label: "Let me edit first", description: "I'll edit PR.md and confirm when ready" }
]
)
Once the user confirms, derive PR_TITLE and create the PR:
Deriving PR_TITLE:
app for frontend (pnpm), api for backend (uv)react-query to v5, next to v15"sqlalchemy to v2 (+4 packages)"PR_TITLE="deps(app): bump react-query to v5, next to v15"
gh pr create --base dev --head "$(git rev-parse --abbrev-ref HEAD)" --title "$PR_TITLE" --body-file .claude/scratchpad/PR.md
After successful PR creation:
# Clean up the scratchpad file
rm .claude/scratchpad/PR.md
Return the PR URL to the user.
The remaining instructions are behavior overrides by the user.
$ARGUMENTS
npx claudepluginhub casper-studios/casper-marketplace --plugin dev-toolkitScans JS, Python, Go, Rust, Java package files for outdated dependencies, summarizes changelogs, detects breaking changes and vulnerabilities, generates prioritized update reports.
Coordinates safe dependency upgrades across multiple package managers (npm, pip, cargo, maven, gradle), handling lockfiles, version conflicts, vulnerability patches, and migration risk.
Plans and executes safe, incremental dependency upgrades with risk assessment, migration guides, compatibility checks, and rollback strategies.