Agent Skillselie222/inbox-zero › update-packages

update-packages

GitHub

指导在仓库中安全更新依赖包,遵循.pncurc.cjs的锁定列表,保持Node版本一致,并执行pnpm更新、安装及测试验证流程。

.claude/skills/update-packages/SKILL.md elie222/inbox-zero

触发场景

用户请求更新依赖 需要刷新包版本

安装

npx skills add elie222/inbox-zero --skill update-packages -g -y
更多选项

非标准路径

npx skills add https://github.com/elie222/inbox-zero/tree/main/.claude/skills/update-packages -g -y

不安装直接使用

npx skills use elie222/inbox-zero@update-packages

指定 Agent (Claude Code)

npx skills add elie222/inbox-zero --skill update-packages -a claude-code -g -y

安装 repo 全部 skill

npx skills add elie222/inbox-zero --all -g -y

预览 repo 内 skill

npx skills add elie222/inbox-zero --list

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

  1. Check the pinned package list in .ncurc.cjs. Do not upgrade packages listed there.
  2. Keep the repo on Node 24. If you change Node runtime settings, update .nvmrc, engines.node, @types/node, Dockerfiles, and CI together.
  3. Update manifests across the workspace:
pnpm dlx npm-check-updates -u -ws
  1. Refresh the lockfile and install updated packages:
pnpm install
  1. Verify the update:
pnpm test
pnpm lint

Notes

  • npm-check-updates reads .ncurc.cjs, so the reject list is applied during the manifest update.
  • pnpm install may also bump the root packageManager field and regenerate pnpm-lock.yaml.
  • Do not run pnpm dev or pnpm build unless the user explicitly asks.
  • Keep @hookform/resolvers in the .ncurc.cjs reject list and pinned to 4.1.0 while apps/web remains on zod@3.25.76. The 5.x resolver line imports zod/v4/core, which has caused local Next.js/Turbopack resolution failures even though the app code still uses Zod 3.

版本历史

  • 633a2ab 当前 2026-08-20 17:15

同 Skill 集合

.claude/skills/agent-browser/SKILL.md
.claude/skills/changelog/SKILL.md
.claude/skills/cloud-dev-environment/SKILL.md
.claude/skills/code-simplifier/SKILL.md
.claude/skills/create-pr/SKILL.md
.claude/skills/explain-changes/SKILL.md
.claude/skills/fullstack-workflow/SKILL.md
.claude/skills/llm-test/SKILL.md
.claude/skills/llm/SKILL.md
.claude/skills/project-structure/SKILL.md
.claude/skills/qa-label/SKILL.md
.claude/skills/qa-new-flow/SKILL.md
.claude/skills/review-ai-prompt-changes/SKILL.md
.claude/skills/review/SKILL.md
.claude/skills/test-feature/SKILL.md
.claude/skills/testing/SKILL.md
.claude/skills/ui-components/SKILL.md
clawhub/inbox-zero-api/SKILL.md
.claude/skills/logging/SKILL.md
.claude/skills/prisma/SKILL.md
.claude/skills/qa-run/SKILL.md
.claude/skills/e2e/SKILL.md
.claude/skills/write-tests/SKILL.md
.claude/skills/wait/SKILL.md

元信息

文件数
0
版本
780453c
Hash
e9d1113d
收录时间
2026-08-20 17:15

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-21 15:45
浙ICP备14020137号-1