一键导入
upgrade-js-deps
Upgrade JavaScript dependencies using npm-check-updates, then run post-upgrade checks to ensure nothing is broken.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Upgrade JavaScript dependencies using npm-check-updates, then run post-upgrade checks to ensure nothing is broken.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Interactively fix any type checking issues in Python code
Use when the user asks to create, view, or modify a SaaS Pegasus project via the `pegasus` CLI — e.g. "create a new Pegasus project for X", "add subscriptions to my Pegasus project", "show me my project settings", "switch the front-end framework to React", "what features can I use on my license tier".
Resolve merge conflicts when upgrading SaaS Pegasus. Use when the user has merge conflicts after running git merge during a Pegasus upgrade, or when they need help with the merge process. Also use when the user mentions 'merge pegasus".
Upgrade to the latest version of SaaS Pegasus. Use when the user mentions 'upgrade pegasus,' or 'pegasus upgrade.'
Upgrade Python dependencies using uv, then run post-upgrade checks to ensure nothing is broken.
| name | upgrade-js-deps |
| description | Upgrade JavaScript dependencies using npm-check-updates, then run post-upgrade checks to ensure nothing is broken. |
| allowed-tools | ["Bash(npx npm-check-updates *)","Bash(make npm-install *)","Bash(make npm-build *)","Bash(make npm-type-check *)","Bash(make test *)"] |
Upgrade all JavaScript dependencies and verify nothing is broken.
Run npx npm-check-updates to see what upgrades are available. Review the output and
present the list to the user.
Run npx npm-check-updates -u to update package.json with the new versions.
Run make npm-install to install the upgraded dependencies and update package-lock.json.
Run these checks sequentially, stopping if any step fails:
make npm-type-check and report any new type errors.make npm-build to verify the production build still works.make test to verify the test suite still passes.Summarize what was done:
If there were failures, present the issues and ask how the user wants to proceed.
If everything passed, ask the user if they'd like to commit the changes. If yes, commit
using the /commit skill.