Agent Skills
› elie222/inbox-zero
› update-packages
update-packages
GitHub指导在仓库中安全更新依赖包,遵循.pncurc.cjs的锁定列表,保持Node版本一致,并执行pnpm更新、安装及测试验证流程。
Trigger Scenarios
用户请求更新依赖
需要刷新包版本
Install
npx skills add elie222/inbox-zero --skill update-packages -g -y
SKILL.md
Frontmatter
{
"name": "update-packages",
"description": "Update workspace packages while respecting the repo's pinned package list in .ncurc.cjs. Use when the user asks to update dependencies or refresh package versions."
}
Update Packages
Use this workflow when updating dependencies in this repo.
Steps
- Check the pinned package list in
.ncurc.cjs. Do not upgrade packages listed there. - Keep the repo on Node 24. If you change Node runtime settings, update
.nvmrc,engines.node,@types/node, Dockerfiles, and CI together. - Update manifests across the workspace:
pnpm dlx npm-check-updates -u -ws
- Refresh the lockfile and install updated packages:
pnpm install
- Verify the update:
pnpm test
pnpm lint
Notes
npm-check-updatesreads.ncurc.cjs, so the reject list is applied during the manifest update.pnpm installmay also bump the rootpackageManagerfield and regeneratepnpm-lock.yaml.- Do not run
pnpm devorpnpm buildunless the user explicitly asks. - Keep
@hookform/resolversin the.ncurc.cjsreject list and pinned to4.1.0whileapps/webremains onzod@3.25.76. The5.xresolver line importszod/v4/core, which has caused local Next.js/Turbopack resolution failures even though the app code still uses Zod 3.
Version History
- 633a2ab Current 2026-08-20 17:15


