npm-publish

Automates npm package publishing with validation, versioning, git tagging, GitHub releases, and verification.

1|Updated Apr 13, 2026
One-click install
npx skills add https://github.com/0xjitsu/jitsu-skills --skill npm-publish-0xjitsu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: npm-publish
Source: https://github.com/0xjitsu/jitsu-skills/tree/main/skills/npm-publish
Command: npx skills add https://github.com/0xjitsu/jitsu-skills --skill npm-publish-0xjitsu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Releasing npm packages is error prone and involves many manual verification steps; this Skill automates pre-flight validation, version management, publication, tagging, release creation, and post-publish verification to reduce mistakes and prevent leaking secrets.

Core Features & Use Cases

  • Pre-flight validation: Validate package.json fields, .npmrc scope, build outputs, tests, and perform an npm pack dry-run to detect secrets or bloat before publishing.
  • Version and release orchestration: Offer an interactive semver bump, update changelogs, commit version changes, publish with public access for scoped packages, and create git tags and GitHub releases.
  • Post-publish verification & rollback: Confirm registry version, test installability in a temp environment, and provide rollback steps for accidental or broken releases.

Quick Start

Use the npm-publish skill to validate, bump the version, and publish @0xjitsu/mypackage to npm with a full pre-flight check and post-publish verification.

Frequently Asked Questions about npm-publish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish scoped npm packages safely without leaking secrets?

To publish scoped npm packages safely, this Skill automates pre-flight validation by running package.json checks, .npmrc scope verification, and an npm pack dry-run to detect secrets or bloat before publishing to the registry.

What is the best way to automate npm release workflows in CI?

Automating npm release workflows in CI involves orchestrating version bumps, build and test execution, changelog updates, and npm publish commands. This Skill coordinates these steps end-to-end, including git tagging and GitHub release creation for reliable deployments.

How do I validate package.json and run an npm pack dry-run before publishing?

Validating package.json fields and running an npm pack dry-run are core pre-flight checks. This Skill automatically validates configuration, checks the .npmrc scope, executes builds and tests, and performs the dry-run to prevent broken or bloated releases.

Can I verify npm package installability in a temp environment after publishing?

Yes, you can verify package installability after publishing. This Skill performs post-publish verification by confirming the registry version and testing installation in a temporary environment to ensure the published package is accessible and functional.

What should I do if an accidental or broken npm package release happens?

If a broken npm package release occurs, this Skill provides rollback steps to help revert accidental publications. Post-publish verification detects issues early, and the Skill outlines specific rollback instructions to mitigate the impact of failed releases.