Npm Release

Repo-specifiek npm publish playbook, incl. een fix voor geredigeerde auth URL's in agent shells.

Door luochang212 · luochang212/skill-zoo

Getest · Werkt ★ 9.6/10

Npm Release — Repo-specifiek npm publish playbook, incl. een fix voor geredigeerde auth URL's in agent shells.

Wat het doet

Repo-specifiek playbook voor het publiceren van het Skill Zoo CLI pakket naar npm: identificeert het echte publiceerbare workspace pakket, voert typecheck/test/build/dry-run uit, en behandelt faalmodi zoals dubbele versies of slechte tarball inhoud. De opvallende zet is een `script -q /dev/null` wrapper die de echte npm browser-auth URL herstelt bij het uitvoeren in niet-interactieve agent shells, waar npm deze normaal gesproken redigeert naar `***`.

Testrapport

De fix van de skill voor een echte niet-interactieve-agent blokkade — npm redigeert de browser auth URL naar `***` in niet-TTY shells — is een `script -q /dev/null npm publish` wrapper die de echte URL herstelt; een baseline antwoord zegt gewoon 'klik op de link' en loopt vast.

Getest op: 2026-07-14 · Claude Code 2.x (agent harness)

Installatie

git clone https://github.com/luochang212/skill-zoo
cd skill-zoo
mkdir -p ~/.claude/skills
cp -r skills/npm-release ~/.claude/skills/npm-release

Commando's en voorbeeldprompts

  • /npm-releaseRepo-specifiek npm publish playbook, incl. een fix voor geredigeerde auth URL's in agent shells.

Skills reageren op gewone verzoeken — geen commando's om te onthouden. Na installatie activeren prompts zoals deze de skill (in het Engels):

  • I'm ready to publish our CLI package to npm, walk me through the release
  • npm keeps redacting the auth URL in my agent shell, help me get past that
  • Run the typecheck, build, and dry-run before we publish this npm package