Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

npm-deploy

БесплатноБез исполняемых скриптовНе проверен

Load to publish the kendex Pi extension packages to npm: audit, bump, tag, refresh and verify.

vanillagreencomот vanillagreencom★ 93 звезды на GitHub

Об этом скилле

Project Instructions

Problems with a kendex-owned skill go through kendex report; check ownership in the file first.

Run a complete npm deployment pass for the kendex Pi extension packages under pi-extensions/. An optional package name in $ARGUMENTS limits the audit, the bump, the publish and the tags to that package; with no argument every package is in scope. The catalog policy test and the closing refresh and check read the whole catalog and take no package filter, so a scoped run still validates every package and can update unrelated ones whose merged source changed.

Intent

Find every pi-extensions/*/package.json package whose consumer-facing content changed since its last npm release, then validate it, land its version bump, and tag it; the tag push starts the GitHub workflow, which publishes it from the default branch. Then refresh the installed copies and verify. Leave no dirty or untracked files anywhere.

kendex distribution is independent of npm. kendex update-pi installs the catalog source; npm publishing populates the pi.dev gallery and lets external users run pi install npm:@vanillagreen/<name>. Skipping a publish never breaks kendex consumers.

Hard rules

  • Publish only a commit that is on the default branch: the version bump lands through a pull request through the repository's normal gates and merge queue, never a direct push, and its tag names that merged commit after git fetch. The workflow refuses a tag whose commit the default branch does not hold.
  • Publish only packages that need a new npm version. Use the scoped name from package.json (@vanillagreen/<name>).
  • Per-package release tags are <unscoped-name>-v<version> at the bump commit (example pi-qol-v2.1.0). A version npm already serves is never published again; a missing tag for a served version is a tagging gap, repaired as Audit step 5 says.
  • The tag push is the publish. .github/workflows/publish-npm.yml runs on it and dispatches its own publish job on the default branch, which publishes the version the tag names with npm trusted publishing. For a package npm already serves, this pass runs no npm publish and needs no npm login or token; a package npm does not serve yet is the first-release row of Audit step 7. Push one tag per git push: GitHub starts no workflow for a push that carries more than three tags.
  • Each package's CHANGELOG.md is the release record. Consumer-facing changes since the last release sit under ### Unreleased; a release renames that heading to the new version. A package whose files changed since its tag with no ### Unreleased entry gets the entry written and merged before any bump.

Skip publish for

  • Refactors with no behavior change, internal cleanup, comment or typo fixes.
  • README or documentation edits, unless the gallery copy needs them.
  • Repository-only files: tests, fixtures, tooling.

Choose the bump by the release-version rule. Write breaking-change entries under the release standard, which also defines compatibility.

Audit

  1. Inspect git status --short --branch; the tree must be clean, and HEAD must equal the freshly fetched default-branch ref, so nothing unmerged is audited. Pin that commit as <base> and read every package's files and versions from it.
  2. Enumerate the packages in scope: find pi-extensions -maxdepth 2 -name package.json | sort, reading name and version from each.
  3. For each package compute the npm version (npm view <name> version), the unreleased entry count (the - lines under ### Unreleased in its CHANGELOG.md), and the tag for its current version. An E404 from that lookup means npm serves no version of the package, which is its own row below; any other lookup failure stops the pass with the error npm printed. Where npm serves a version, place the manifest version against it with kendex version-compare <version> <npm version>, whose verdict is newer, same or older; step 4 acts on older and the rows in step 7 mean newer and same, because a string comparison misreads both a lexical boundary such as 1.10.0 against 1.9.0 and a prerelease identifier.
  4. Hold every package's verdict before touching anything. A verdict of older means npm serves a version ahead of the default branch, which no ordinary pass produces: stop there and report the package and both versions. Nothing below runs until every package in scope has a verdict, so one package's repair cannot reach the remote ahead of another package's stop.
  5. Repair a tagging gap: when npm already serves the manifest version and its tag is missing, tag that version's bump commit
Полный SKILL.md на GitHub

Установить npm-deploy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл npm-deploy?

Load to publish the kendex Pi extension packages to npm: audit, bump, tag, refresh and verify.

Как установить скилл npm-deploy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл npm-deploy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить npm-deploy с