automate-npm-release
БесплатноБез исполняемых скриптовНе проверенAutomate npm package publishing via GitHub Actions for single-package repos and independent monorepo packages, including bumpp version tags, GitHub release…
от jd-solanki★ 162 звезды на GitHubОб этом скилле
Automate npm Release
Use this skill to set up npm release automation. First identify the repository shape, then load the matching reference:
- Single publishable package: see SINGLE_PACKAGE.md.
- Workspace monorepo with independently published packages: see MONOREPO.md.
Shared rules
- npm requires the first publish to be done manually for each public package:
npm publish --access public
- Prefer npm trusted publishing/OIDC when the project asks for it. Configure the package on npmjs.com after the first manual publish, then use
id-token: writein GitHub Actions. Ensurepackage.jsonhasrepository.urlexactly matching the GitHub repo URL (case-sensitive) — required for provenance validation. - If using token-based publishing, configure
actions/setup-nodewithregistry-url: https://registry.npmjs.orgsoNODE_AUTH_TOKENcan authenticatenpm publish. - In pnpm workspaces, publish via
pnpm packfollowed bynpm publish <tarball> --access public. This lets pnpm rewriteworkspace:*dependencies while npm handles trusted publishing/OIDC. Use changelogithub only for GitHub release notes/releases. - Always run checks, tests, and package builds before publishing.
- Keep the private workspace root unpublished; publish from the actual package directory.
Quick choice
Use single-package release automation when one package.json owns the npm artifact and one v* tag maps to one package.
Use monorepo release automation when multiple workspace packages publish independently. In that flow, tags must encode the package, such as cli-v0.1.0, and GitHub release-note generation must use explicit previous same-package tag ranges.
Workflow examples
- EXAMPLE_WORKFLOW.yml — single-package token/provenance workflow.
- MONOREPO_WORKFLOW.yml — package-scoped monorepo workflow using trusted publishing and changelogithub.
Установить automate-npm-release в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл automate-npm-release?
Automate npm package publishing via GitHub Actions for single-package repos and independent monorepo packages, including bumpp version tags, GitHub release notes, trusted publishing, provenance, and package-scoped release tags. Use when setting up or modifying npm publish workflows, npm release pipelines, version bumping, package-scoped monorepo releases, changelogithub release notes, trusted publishing, provenance badges, NPM_TOKEN, or OIDC publishing.
Как установить скилл automate-npm-release?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл automate-npm-release запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic