comfyui-pack-live-smoke
БесплатноБез исполняемых скриптовНе проверенLive-smoke a ComfyUI pack in a running instance: browser-driven and headless API-driven checks catch frontend/backend bugs unit tests miss. Use when verifying…
от laurigates★ 61 звезда на GitHubОб этом скилле
comfyui-pack-live-smoke
A ComfyUI pack's just check (pytest + vitest + tsc + build) can be fully
green while the pack is broken in the running app, because the two
halves are tested in isolation: pytest stubs server/folder_paths, vitest
only covers DOM-free pure helpers, and the modal DOM + the frontend↔backend
contract (route names, JSON shapes, gating predicates) are exercised by
neither. Stand the pack up in a real ComfyUI and click through it (or
drive it headlessly over the API) before opening the registry/gitops PR.
This is where bugs that ship green actually surface.
Canonical break (
comfyui-touch-manager, 2026-06): every gate green, jsdom modal mount green — yet live in the running app the Install-from-URL button was disabled on the normal127.0.0.1setup. The frontend gated onconfig.allow_remote_installalone (the non-loopback env override) while the backend/installgate actually permits the clone whenis_loopback || override. The headline feature was dead in the common case; only a browser smoke caught it.
When to Use This Skill
| Use this skill when... | Use instead when... |
|---|---|
| Verifying a pack end-to-end in a running ComfyUI instance before opening a PR | Writing the pack's code in the first place -> comfyui-node-authoring |
| Confirming an edited/built workflow JSON actually runs | Editing the workflow JSON itself -> comfy-workflow-json |
Target host — COMFYUI_HOST
Every recipe below reads the target instance from the COMFYUI_HOST
environment variable, defaulting to 127.0.0.1:8188 (a local/CPU-fork
smoke). Set it in .claude/settings.local.json's env block (gitignored,
per-machine) to point at a different install without hardcoding a host in
any command:
{ "env": { "COMFYUI_HOST": "192.0.2.10:8188" } }
Lesson 1: frontend gating must mirror the backend gate's full predicate
When the backend enforces a security/permission gate, the frontend's show/enable/disable logic must replicate the entire predicate, not a convenient sub-flag. Gating on a partial predicate silently disables a feature in the case the backend would have allowed.
- Extract the predicate into a pure, exported helper and unit-test it
(
installPermitted(config) => config.is_loopback || config.allow_remote_install), rather than leaving it as inline DOM logic — inline gating is exactly what a pure-helper unit-test suite skips, so the bug ships green. - The backend stays the real gate; the frontend mirror is UX only. Keep the
helper's predicate textually aligned with the backend's
if not (...)check.
Browser-driven smoke (chrome-devtools MCP)
| Friction | Fix |
|---|---|
new_page/list_pages fail: "browser is already running for …/chrome-devtools-mcp/chrome-profile" |
A stale automation Chrome (a prior MCP session) holds the profile. It's the MCP's own profile (--enable-automation, --remote-debugging-pipe), not your real browser — kill <parent-pid> it, then re-new_page. |
Clicking a ComfyUI Vue dialog button (confirm/cancel) via MCP click silently no-ops (dialog stays open) |
The synthetic MCP click doesn't reach the Vue overlay handler. Use evaluate_script → [...document.querySelectorAll("button")].find(b => b.textContent.trim() === "Confirm").click() (a real in-page DOM click the handler catches). |
Result toasts (extensionManager.toast, ~4 s life) vanish before you can assert |
Don't assert on the transient toast. Assert on a persistent signal instead — an in-modal status banner, the re-rendered list, or the backend state via curl. |
| Backend behaviour without the whole UI | The pack's routes answer over plain HTTP: curl -s http://$COMFYUI_HOST/<route> isolates backend vs. frontend instantly. |
resize_page to a phone width (~390–500px) and re-open the modal to verify
the touch layout (tap-target size, full-width modal, no iOS zoom).
Minimal browser-smoke recipe
- Bring up a ComfyUI instance (CPU is fine for a fork:
python main.py --cpu), or point at an existing one viaCOMFYUI_HOST. - Symlink the pack into
custom_nodes/;bun run buildsoweb/dist/index.jsis current; hard-reload the browser after any frontend rebuild (no restart); restart the server after any backend.pychange. - Click every tab/action; exercise the headline feature end-to-end (e.g. actually install from a GitHub URL and confirm the clone + restart prompt).
- Clean up: remove any test-installed packs from
custom_nodes/, stop the server.
Scripted first load
Two traps a fresh, script-driven instance hits on first load, observed on
frontend 1.59.1 with ComfyUI e9afbccc2 (2026-11). Reference implementation:
the touch-probe script (probe.py) in laurigates/comfyui-nodes#278.
| Trap | Fix |
|---|---|
A fresh --user-directory opens a Templates dialog over an empty graph, so app.graph._nodes stays empty and a probe waiting |
Установить comfyui-pack-live-smoke в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(curl *)Bash(bun run build *)ReadGrepGlobFAQ
Что делает скилл comfyui-pack-live-smoke?
Live-smoke a ComfyUI pack in a running instance: browser-driven and headless API-driven checks catch frontend/backend bugs unit tests miss. Use when verifying a pack before opening a registry PR.
Как установить скилл comfyui-pack-live-smoke?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл comfyui-pack-live-smoke запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic