github/awesome-copilot · npm-trusted-publishing · SKILL.md

npm 可信发布

在 GitHub Actions 中设置或修复 npm 可信发布(OIDC),并移除 NPM_TOKEN。适用于 ENEEDAUTH、PUT 请求返回 E404、E422 repository.url,或在 2027 年 1 月前迁移脱离 2FA 绕过令牌。

★ 40349 质量 71.0 许可证 MIT 文档 generic

这是公开 Agent Skill 的中文说明,由采集翻译或编辑润色,完整内容以上游 SKILL.md 为准。适用于 Cursor / Claude Code / Codex / Gemini。 打开上游 SKILL.md

安装

通用(npx skills)

npx skills add github/awesome-copilot -s npm-trusted-publishing

Cursor

把该 Skill 复制到项目的 .cursor/skills/npm-trusted-publishing/ 目录

Claude Code

npx skills add github/awesome-copilot -a claude-code -s npm-trusted-publishing

返回目录