api2cli-publish-to-npm

Installation
SKILL.md

Publish to npm

Publish an api2cli-generated CLI to the npm registry so users can install it with npm i -g <name> or run it with npx <name>.

Phase 1: Pre-flight

Run these checks silently. Only stop if auth is missing.

Auth

Run npm whoami.

  • If it succeeds: note the username, continue.
  • If it fails: tell the user to run npm login first. Stop and wait until they confirm.

Resolve package name

Read name from package.json. Determine the publish name:

Related skills
Installs
4
Repository
melvynx/api2cli
GitHub Stars
26
First Seen
Mar 7, 2026