npm-publish

Automate NPM package publishing with 2FA and pre-publish validation.

12|3|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/Fei2-Labs/skill-genie --skill npm-publish-fei2-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: npm-publish
Source: https://github.com/Fei2-Labs/skill-genie/tree/main/skills/npm-publish
Command: npx skills add https://github.com/Fei2-Labs/skill-genie --skill npm-publish-fei2-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires npm, and includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of manually handling the entire npm publish flow, which includes browser-based login, 2FA/security key support, and pre-publish validation.

Core Features & Use Cases

  • Automated Publishing: Handles the full npm publish process with minimal user interaction.
  • Authentication Support: Manages browser-based login flows and supports 2FA and security key authentication.
  • Pre-Publish Validation: Ensures packages are ready to publish before submission.

Quick Start

Use the 'npm-publish' skill to publish a new version of your NPM package.

Frequently Asked Questions about npm-publish

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

FAQPage Schema
How do I automate npm package publishing with 2FA or security key authentication?

Automating npm package publishing with 2FA and security key authentication is handled by managing browser-based login flows and pre-publish validation. This ensures packages are securely published with minimal user interaction.

What is pre-publish validation for npm packages and why do I need it?

Pre-publish validation for npm packages is the process of checking package readiness before submission. It is needed to ensure your package meets all requirements, preventing failed releases and ensuring a smooth automated publish flow.

How do I handle browser-based login for npm release automation?

Browser-based login for npm release automation is handled by supporting various authentication methods, including 2FA and security keys. This manages the login flow automatically, allowing developers to publish packages without manual CLI authentication steps.

Does npm publish automation support 2FA and security keys?

Yes, npm publish automation supports 2FA and security keys. It handles the full publish process while managing browser-based login flows and validating package readiness, making it ideal for developers managing secure npm releases.

What's the best way to validate package readiness before an npm release?

The best way to validate package readiness before an npm release is using pre-publish validation. This checks your package configuration and readiness before submission, ensuring the automated publish process completes without errors.

Can I use npm release automation for managing multiple package versions?

Npm release automation is ideal for developers managing npm package releases across multiple versions. It automates the publish process, handles authentication, and validates package readiness, streamlining the release workflow for new versions.