Command Palette

Search for a command to run...

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

comfy-registry-lifecycle

БесплатноЗапускает вложенные скриптыНе проверен

Comfy Registry release pipeline: release-please + lockfile drift traps, the empty-web/dist publish bug, version status states, phantom versions, icon/banner…

laurigatesот laurigates★ 61 звезда на GitHub

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

comfy-registry-lifecycle

A ComfyUI custom-node pack's release flow: conventional commits → release-please bumps pyproject.toml + CHANGELOG.md → merge the release PR → the published GitHub release triggers publish.yml → Comfy-Org/publish-node-action publishes to registry.comfy.org. The failures below live in this flow (or the CI that gates it) and are easy to ship without noticing, because the pipeline reports green while the registry artifact is broken.

When to Use This Skill

Use this skill when... Use instead when...
Setting up or debugging a pack's release-please -> publish.yml -> registry pipeline Writing the pack's frontend/backend code itself -> comfyui-node-authoring
A published node's frontend or artwork isn't showing up correctly Smoke-testing the pack in a running instance -> comfyui-pack-live-smoke

1. uv.lock self-version drifts — release-please has no native uv.lock support

release-please bumps pyproject.toml but not the pack's own version in uv.lock. Before merging a release PR, or when scaffolding or auditing a pack, apply the toml extra-files updater and pre-release check in references/uv-lock-and-changelog.md.

2. The registry "Updates" changelog — use native COMFY_NODE_CHANGELOG, not a post-publish PUT

Empty "Updates" section or a red post-publish changelog step (tomllib): export COMFY_NODE_CHANGELOG before publishing — step in references/uv-lock-and-changelog.md.

3. Bumping a shared frontend-kit dependency: regenerate the lockfile and the built bundle together

Bumping a shared TS package a pack inlines at build time: regenerate bun.lock and rebuild web/dist in the same commit. CI symptoms and a pack-set consistency loop: references/shared-kit-bump.md.

The empty-web/dist publish trap

For TS-built packs, the registry tarball is supposed to force-ship the built frontend via [tool.comfy] includes = ["web/dist"]. The trap: a published tarball can contain web/dist/ as an empty directory — no index.js — while publish.yml reports green.

Root cause is the publish action, not the include:

  • Comfy-Org/publish-node-action@v1 (and tags 1.0.0 / 1.0.1) run an unconditional actions/checkout@v4 that wipes the git-ignored web/dist a prior bun run build step produced. None of the tagged releases have a skip_checkout input.
  • skip_checkout exists only on the action's main branch (added 2025-05-03, commit c742414d; no tagged release carries it).
  • comfy node publish then packs git-tracked files + includes; its zip_files walks an included dir's contents only if the dir exists at pack time — if absent it writes an empty-dir entry. A wiped web/dist → empty web/dist/ in the tarball.

Fix — pin the action to the commit that gates checkout on skip_checkout (no tag has it yet):

      - name: Publish Custom Node
        # @v1/1.0.x lack skip_checkout and wipe the built web/dist. Pin
        # the main commit that gates checkout on skip_checkout (no tag has it).
        uses: Comfy-Org/publish-node-action@d2366e7abb6ab16f3bb03e3520ae25c8cf749bc9  # v1.0.2-dev (main HEAD; skip_checkout not yet tagged)
        with:
          personal_access_token: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
          skip_checkout: 'true'

skip_checkout: 'true' is silently ignored by @v1 — passing it without repinning does nothing, which is exactly what lets this hide for weeks.

Verify a publish actually shipped the frontend

Never trust a green publish.yml run — it succeeds even when the tarball is empty. Download the real artifact and inspect it:

python3 - <<'PY'
import json, urllib.request, zipfile, io
nid, ver = "<node-id>", "<version>"
d = json.load(urllib.request.urlopen(f"https://api.comfy.org/nodes/{nid}/versions"))
v = next(x for x in d if x["version"] == ver)
z = zipfile.ZipFile(io.BytesIO(urllib.request.urlopen(v["downloadUrl"]).read()))
print([n for n in z.namelist() if n.startswith("web/dist/") and n.endswith((".js",".css"))])
PY

Empty list ⇒ broken tarball. The downloadUrl (cdn.comfy.org/<owner>/<id>/<ver>/node.zip) is in each version object.

Version status: Pending vs Flagged vs Active

api.comfy.org/nodes/<id>/versions returns every version with a status:

Status Meaning Action
NodeVersionStatusPending held while the automated security scan runs auto-transitions to Active, usually < a few hours — just wait
NodeVersionStatusActive scan passed; installable none
NodeVersionStatusFlagged scan flagged it stuck — does NOT auto-clear. Still installable. The listing (/nodes/<id> latest_version) does not count only Active versions: on 2026-11-14 it showed a Flagged 0.1.33 for comfyui-gallery-loader. Full reasons: `GET /nodes//versions?includ
Полный SKILL.md на GitHub

Установить comfy-registry-lifecycle в Claude Code и Claude Desktop

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

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

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

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

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

Bash(curl *)
Bash(jq *)
Bash(gh run list *)
Bash(identify *)
Bash(uvx --from cairosvg cairosvg *)
Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/registry_banner_bg.py *)
Bash(python3 ${CLAUDE_SKILL_DIR}/scripts/registry_banner_compose.py *)
Bash(uv lock *)
Bash(bun run build *)
Bash(git add *)
Read
Grep
Glob
Write
Edit

Вложенные файлы

references/icons-and-banners.mdreferences/security-scan.mdreferences/shared-kit-bump.mdreferences/uv-lock-and-changelog.mdscripts/registry_banner_bg.pyscripts/registry_banner_compose.py

FAQ

Что делает скилл comfy-registry-lifecycle?

Comfy Registry release pipeline: release-please + lockfile drift traps, the empty-web/dist publish bug, version status states, phantom versions, icon/banner generation. Use when debugging a pack's publish pipeline.

Как установить скилл comfy-registry-lifecycle?

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

Скилл comfy-registry-lifecycle запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить comfy-registry-lifecycle с