Index of every page on this site: llms.txt
All skills
jd-solanki avatar

/automate-npm-release

@372cfb1
by JD Solankijd-solanki/ai6 stars
2
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/jd-solanki/ai/automate-npm-release

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SINGLE_PACKAGE.md

≈273 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Single-Package npm Release

Use this when the repository has one public npm package and one release tag should publish that package.

Manual first publish

npm requires the first publish to establish package name and ownership:

npm publish --access public

If the package is scoped and public, keep --access public or add:

{
  "publishConfig": {
    "access": "public"
  }
}

Version bump with bumpp

Add a release script:

{
  "scripts": {
    "release": "bumpp"
  }
}

Run the release script, choose the version increment, and let bumpp commit, tag, and push:

pnpm release

The default tag shape is usually v%s, such as v1.2.3.

GitHub Actions

The workflow should trigger on v* tags:

on:
  push:
    tags:
      - 'v*'

Use:

permissions:
  contents: write
  id-token: write

contents: write is needed when the workflow creates GitHub releases. id-token: write is needed for npm provenance or trusted publishing.

See EXAMPLE_WORKFLOW.yml for a complete example.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides secure, well-documented templates for automating npm releases via GitHub Actions. It implements industry best practices including OIDC-based trusted publishing, provenance validation, and scoped monorepo release management.

  • Socket2mo

    1 alert: gptAnomaly

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 372cfb1. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 4 months ago
disable-model-invocation
true

README badge

README badge for jd-solanki/ai/automate-npm-release