omcustom:npm-publish

Validate package.json, run tests, and publish npm packages with a specified tag.

13|6|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/baekenough/second-brain --skill omcustom-npm-publish
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: omcustom:npm-publish
Source: https://github.com/baekenough/second-brain/tree/main/.claude/skills/npm-publish
Command: npx skills add https://github.com/baekenough/second-brain --skill omcustom-npm-publish

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Publish npm packages with confidence by performing thorough pre-publish checks and validation, reducing failed releases.

Core Features & Use Cases

  • Pre-publish validation: verify package.json, version integrity, and required fields before publishing.
  • CI/CD friendly workflow: supports dry-run, custom tags, and automated checks in local or CI pipelines.
  • End-to-end publishing: runs tests, lint, build, packs the package, publishes to the registry, and reports success or failure.

Quick Start

Run npm-publish in your project directory to validate and publish your package to npm with a chosen tag.

Frequently Asked Questions about omcustom:npm-publish

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

FAQPage Schema
How do I automate npm package publishing with pre-checks?▼

To automate npm package publishing, you can run a workflow that validates package.json, checks the registry version, runs tests and lint, builds the project, packs, and publishes to the npm registry with a specified tag to reduce failed releases.

What is the best way to prevent failed npm releases in CI/CD?▼

The best way to prevent failed npm releases in CI/CD is to perform thorough pre-publish validation, including version consistency checks, automated testing, and linting before executing the npm publish command.

Can I use a custom tag when publishing my Node.js package to the registry?▼

Yes, you can use a custom tag when publishing your Node.js package. The publishing process allows you to publish to the npm registry with a specified tag after all pre-checks are successfully completed.

Does the npm publish process validate package.json fields before releasing?▼

Yes, the npm publish process validates package.json fields before releasing. It verifies version integrity, checks for required fields, and ensures registry version consistency before running tests and packing.

How do I run a dry-run for npm publishing in my local development workflow?▼

You can run a dry-run for npm publishing in your local development workflow by using a CI/CD friendly publishing workflow that supports automated checks and dry-runs to validate your package without pushing to the registry.