用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/yu-iskw/agentic-workloads --skill node-upgrade-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Workflow for auditing security vulnerabilities using trivy, osv-scanner, and trunk.
Comprehensive workflow for creating, implementing, and validating Agent Skills. Use when asked to "create a new skill", "author a skill", "add a capability", or when standardizing project-specific workflows. Support for platform detection (Cursor, Claude Code, Gemini CLI, Codex) and template selection.
Manage Architecture Decision Records (ADRs) using adr-tools. Use this to initialize, create, list, and link ADRs to document architectural evolution.
基于 SOC 职业分类
正在显示 SKILL.md
| name | node-upgrade-workflow |
| description | Step-by-step workflow for safely upgrading Node.js dependencies across npm, pnpm, yarn, and bun. |
node-upgrade-workflowThis skill guides you through the process of safely upgrading Node.js dependencies. It supports multiple package managers by detecting the project's lockfile.
Before starting, ensure:
package.json file exists in the project root.pnpm-lock.yaml (pnpm)yarn.lock (yarn)bun.lockb (bun)package-lock.json (npm)pnpm-lock.yaml, yarn.lock, bun.lockb, package-lock.json.PM_COMMAND based on the detected manager (e.g., npm, pnpm, yarn, bun).npm auditpnpm audityarn audit (v1) or yarn npm audit (v2+)bun audit${PM_COMMAND} test.cp package.json package.json.bakcp pnpm-lock.yaml pnpm-lock.yaml.bak).Choose one of the following upgrade paths based on the detected manager:
| Manager | Path | Command |
|---|---|---|
| npm | Full (Semver) | npm update |
| Targeted (Latest) | npm install <package>@latest | |
| pnpm | Full (Semver) | pnpm update |
| Full (Latest) | pnpm update --latest | |
| Targeted | pnpm update <package> | |
| yarn | Full (Semver) | yarn upgrade (v1) |
| Full (Latest) | yarn upgrade --latest (v1) or yarn up (v2+) | |
| Targeted | yarn upgrade <package> (v1) or yarn up <package> (v2+) | |
| bun | Full (Semver) | bun update |
| Full (Latest) | bun update --latest | |
| Targeted | bun add <package>@latest |
Note: For yarn v2+, use yarn up -i for interactive upgrades if possible.
${PM_COMMAND} test.rm package.json.bak <lockfile>.bak.package.json and the lockfile.If any step fails:
mv package.json.bak package.jsonmv <lockfile>.bak <lockfile>${PM_COMMAND} install to ensure the environment matches the restored state.