一键导入
deps-updater
Updates dependencies to exact latest versions across the monorepo. Use when user says 'update dependencies', 'upgrade deps', or 'run dep update'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Updates dependencies to exact latest versions across the monorepo. Use when user says 'update dependencies', 'upgrade deps', or 'run dep update'.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Sentry protocol expert and Rustrak compatibility navigator. Use when the user invokes 'rusty', asks to investigate Sentry protocol, or needs deep Relay source analysis.
Prepara el release commit con changeset y changelog. Use when user says 'prepare release commit' or 'create release version' or 'hacer release'.
Analyze Rustrak PR review threads, verdict each as real error vs false positive, fix approved items, commit, push, resolve threads. Use when on a PR branch or given a PR number and wanting to address review feedback.
Sets up BMad Builder module in a project. Use when the user requests to 'install bmb module', 'configure BMad Builder', or 'setup BMad Builder'.
Run a skill's evals in a clean, isolated environment and report results. Use when the user wants to evaluate a skill, run evals, benchmark a skill, validate triggers, or grade skill outputs.
Sets up {module-name} module in a project. Use when the user requests to 'install {module-code} module', 'configure {module-name}', or 'setup {module-name}'.
| name | deps-updater |
| description | Updates dependencies to exact latest versions across the monorepo. Use when user says 'update dependencies', 'upgrade deps', or 'run dep update'. |
Scans every package.json and Cargo.toml in the workspace, resolves latest versions, pins them as exact, runs available codemods, then verifies nothing broke. Detects breaking changes and researches fixes, asking for user approval in interactive mode. Supports headless mode and scope narrowing (--workspace, --packages, --skip-packages). Act as a senior dependency maintenance engineer — minimize drift while protecting stability.
references/discover-deps.md) resolve from the skill root.{skill-root} resolves to this skill's installed directory (where customize.toml lives).{project-root}-prefixed paths resolve from the project working directory.{skill-name} resolves to the skill directory's basename.Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow
If the script fails, resolve the workflow block yourself by reading these three files in base → team → user order and applying structural merge rules: {skill-root}/customize.toml, {project-root}/_bmad/custom/{skill-name}.toml, {project-root}/_bmad/custom/{skill-name}.user.toml. Scalars override, tables deep-merge, arrays of tables keyed by code/id replace matching entries and append new ones, all other arrays append.
Execute each entry in {workflow.activation_steps_prepend} in order before proceeding.
Treat every entry in {workflow.persistent_facts} as foundational context for the whole run. Entries prefixed file: are paths or globs — load the referenced contents as facts. All other entries are facts verbatim.
Execute each entry in {workflow.activation_steps_append} in order before entering the workflow's first stage.
If --headless or -H was passed, set headless=true for the run. Read {workflow.headless_breaking_policy} to determine breaking-change treatment.
Parse --workspace, --packages, and --skip-packages from invocation args. Fall back to {workflow.workspace_scope}, {workflow.package_scope}, {workflow.skip_packages} if not provided. Empty means "all".
Before any file writes, verify:
ncu (npm-check-updates) and cargo-upgrade (cargo-edit). If missing, install them.package.json, Cargo.toml for Rust workspaces).In interactive mode, present a summary of what will be checked and ask to proceed. In headless mode, abort early if any pre-flight check fails.
Load references/discover-deps.md and execute. Applies scope filters to the manifest. Produces a filtered manifest of external deps across JS and Rust workspaces.
Progression: proceed when a complete, filtered manifest has been produced.
Soft-gate (interactive only): Present the scope and number of packages to update. "Ready to update {N} packages across {M} workspaces to latest? Any packages to skip or workspaces to exclude?" Let the user adjust scope before proceeding to file mutations.
Load references/run-codemods.md and execute. For each dep in the manifest with a matching entry in {workflow.codemod_registry}, run the registered migration. Codemods run BEFORE version bumps so they can transform code while the old version is still installed.
Progression: proceed when all applicable codemods have been attempted (failures are warnings, not blockers).
Load references/resolve-and-pin.md and execute. Updates all package.json and Cargo.toml to latest exact versions. Save a diff of what changed before proceeding.
Progression: proceed when all deps are at latest exact versions (or breaking changes were deferred to user approval).
Load references/verify-fixes.md and execute. Run typecheck, lint, build, and tests across the workspace.
Progression: proceed on all-clear. On failures, offer to roll back or fix.
Load references/detect-breaking.md and execute. Identify major-version bumps, research migration paths, and in interactive mode ask the user to approve each one before finalizing.
Progression: all breaking changes resolved (approved, reverted, or skipped per headless policy).
Load references/report.md and execute. Summarize what changed, what was verified, and any unresolved issues. In headless mode, this is the final output. In interactive mode, present and ask if the user is satisfied.
When headless=true, emit JSON at the end:
{
"status": "complete",
"scope": { "workspaces": ["apps/webview-ui"], "packages": [], "skipped": [] },
"updated_packages": 5,
"breaking_changes": ["next@17.0.0", "react@20.0.0"],
"unresolved": [],
"verification": "all-passed"
}
On verification failure: "status": "blocked" with a "reason" field.
If verification fails in Stage 4, the user may ask to roll back. Restore from git: git checkout -- <paths> for affected files. The diff saved in Stage 3 is the source of truth for what changed.