重要前提
安装AI Skills的关键前提是:必须科学上网,且开启TUN模式,这一点至关重要,直接决定安装能否顺利完成,在此郑重提醒三遍:科学上网,科学上网,科学上网。查看完整安装教程 →
pnpm-upgrade by openai/openai-agents-js
npx skills add https://github.com/openai/openai-agents-js --skill pnpm-upgrade使用以下步骤来更新 pnpm 和 CI 配置中的版本锁定,避免粗暴的搜索/替换操作。
本地更新 pnpm
pnpm self-update;如果 pnpm 缺失或自更新失败,请运行 corepack prepare pnpm@latest --activate。PNPM_VERSION=$(pnpm -v)。同步 package.json 文件
package.json 文件,将 packageManager 字段设置为 pnpm@${PNPM_VERSION}(注意保留末尾的换行符和原有格式)。查找最新的 pnpm/action-setup 标签
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
curl -fsSL https://api.github.com/repos/pnpm/action-setup/releases/latest | jq -r .tag_nameGITHUB_TOKEN 或 GH_TOKEN 以获得更高的 API 速率限制。ACTION_TAG(例如 v4.2.0)。如果标签缺失,则中止操作。将动作标签解析为不可变的提交 SHA
git ls-remote https://github.com/pnpm/action-setup "refs/tags/${ACTION_TAG}^{}" 并将获取的 SHA 记录为 ACTION_SHA。git ls-remote https://github.com/pnpm/action-setup "refs/tags/${ACTION_TAG}"。ACTION_SHA 为空,则中止操作。仔细更新工作流文件(避免使用宽泛的正则表达式)
.github/workflows/ 目录下使用了 pnpm/action-setup 的文件。uses: pnpm/action-setup@${ACTION_SHA}。with: version: 字段,将其设置为 ${PNPM_VERSION}(保持原有的引号风格和缩进)。验证
pnpm -v 并确认其版本与 packageManager 字段中指定的版本一致。git diff 以确保只有预期的工作流文件和 package.json 文件发生了更改。后续操作
$code-change-verification;否则,进行简单的检查即可。chore: upgrade pnpm toolchain 提交更改并开启一个 PR(自动化流程可能会完成此操作)。curl、jq、node、pnpm/corepack。如果缺失,请安装。每周安装量
66
代码仓库
GitHub 星标数
2.5K
首次出现
2026年1月24日
安全审计
安装于
opencode57
codex56
gemini-cli56
github-copilot56
cursor56
claude-code55
Use these steps to update pnpm and CI pins without blunt search/replace.
Update pnpm locally
pnpm self-update; if pnpm is missing or self-update fails, run corepack prepare pnpm@latest --activate.PNPM_VERSION=$(pnpm -v).Align package.json
package.json and set packageManager to pnpm@${PNPM_VERSION} (preserve trailing newline and formatting).Find latest pnpm/action-setup tag
curl -fsSL https://api.github.com/repos/pnpm/action-setup/releases/latest | jq -r .tag_name.GITHUB_TOKEN/GH_TOKEN if available for higher rate limits.ACTION_TAG (e.g., v4.2.0). Abort if missing.Resolve the action tag to an immutable commit SHA
git ls-remote https://github.com/pnpm/action-setup "refs/tags/${ACTION_TAG}^{}" and capture the SHA as ACTION_SHA.git ls-remote https://github.com/pnpm/action-setup "refs/tags/${ACTION_TAG}".ACTION_SHA is empty.Update workflows carefully (no broad regex)
.github/workflows/ that uses pnpm/action-setup.uses: pnpm/action-setup@${ACTION_SHA}.with: version: field exists, set it to ${PNPM_VERSION} (keep quoting style/indent).Verify
pnpm -v and confirm it matches packageManager.git diff to ensure only intended workflow/package.json changes.Follow-up
$code-change-verification; otherwise, a light check is enough.chore: upgrade pnpm toolchain and open a PR (automation may do this).curl, jq, node, pnpm/corepack. Install if missing.Weekly Installs
66
Repository
GitHub Stars
2.5K
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode57
codex56
gemini-cli56
github-copilot56
cursor56
claude-code55
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
158,400 周安装
Play.fun 游戏集成技能 - 官方API、SDK与部署指南 | OpusGameLabs
102 周安装
shadcn组件发现工具:在1500+组件库中搜索,避免重复造轮子
108 周安装
Apple HIG项目上下文技能:自动收集iOS/macOS应用设计开发信息
106 周安装
Apple HIG 状态组件设计指南:进度条、旋转器、活动圆环最佳实践
105 周安装
Apple HIG 内容组件指南:图表、集合、图像视图等组件选择与优化
104 周安装
YouTube数据分析技能 - 使用YouTube API v3进行频道分析、视频表现评估与SEO优化
106 周安装