publish-npm-package

Installation
SKILL.md

Publish npm Package

Set up npmjs publishing via GitHub Actions with a complete, internally consistent release flow: auth, version management, package-manager installs, workflow trigger, provenance, validation, and recovery. Decisions and routing live here; full YAML and tool deep-dives live in references/.

When to use

Use this skill if the request is one of:

  • "publish this package to npm", "set up npm publishing", "automate npm releases"
  • "npm publish from GitHub Actions", "release workflow for npm", "npm CI/CD"
  • "trusted publishing", "OIDC for npm", "NPM_TOKEN provenance", "id-token: write"
  • "semantic-release", "changesets", "release-please", "automate version bumps"
  • "first publish of a new package", "bootstrap npm package", "link GitHub repo to npm"
  • "why is my npm publish failing", "EOTP / ENEEDAUTH / E403 in CI", "npm whoami in Actions"

package.json / repo signals that should pull this skill in:

  • "name" field plus "version" and a repository.url pointing at GitHub
  • .github/workflows/*.yml with npm publish, setup-node, id-token: write, or NPM_TOKEN
Related skills
Installs
35
GitHub Stars
6
First Seen
Mar 10, 2026