원클릭으로
shrug-test
Run the shrug-prompter test suite and verify the ComfyUI V3 loader can import the package.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run the shrug-prompter test suite and verify the ComfyUI V3 loader can import the package.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | shrug-test |
| description | Run the shrug-prompter test suite and verify the ComfyUI V3 loader can import the package. |
Run the full test suite plus a ComfyUI loader check. The loader check catches
class of bug that unit tests miss: __init__.py or nodes.py edits that
break the relative-import chain or the V3 extension registration.
Mirrors coderef/ComfyUI-AudioLoopHelper/.claude/skills/comfyui-test/SKILL.md.
uv run pytest tests/ -v
Expected: 67+ tests pass. The suite covers:
_IOStub fallback.ShrugTemplate outputs.cd "${COMFYUI_HOME:-$HOME/ComfyUI}" && python -c "
import asyncio, nodes as n
r = asyncio.run(n.load_custom_node('custom_nodes/shrug-prompter', module_parent='custom_nodes'))
print('ComfyUI loader: OK' if r else 'COMFYUI LOADER FAILED')
exit(0 if r else 1)
"
This catches:
ModuleNotFoundError: client / ModuleNotFoundError: media — nodes.py
sibling imports broke the relative/absolute dual form.AttributeError: comfy_entrypoint — __init__.py guard swallowed a real
error (check stderr for the actual exception).uv run python scripts/smoke.py --base-url https://<your-server>/ --model <vision-model-id>
Hits every ShrugClient method against a real heylookitsanllm. Prints
per-call latency. Skip /v1/cache/clear unless --admin-token is passed.
ModuleNotFoundError: httpx or respx — forgot uv sync.async def functions are not natively supported — asyncio_mode = "auto"
missing from [tool.pytest.ini_options] or pytest-asyncio not installed.attempted relative import with no known parent package — pytest picked
up __init__.py. Root conftest.py should have
collect_ignore = ["__init__.py"].comfy_entrypoint not found when loading in ComfyUI — the
try: from comfy_api.latest import ComfyExtension probe in __init__.py
caught a real error and fell through. Delete the except: pass temporarily
to see the traceback.Diff ShrugClient methods against heylookitsanllm's current FastAPI routes. Flags endpoints added to the server that shrug-prompter hasn't wired up, endpoints ShrugClient calls that no longer exist, and request/response shape drift. Run before a new shrug-prompter release or after pulling heylookitsanllm upstream.
Scaffold a new shrug-prompter ComfyUI V3 node — generates the class skeleton in nodes.py, registration in ShrugExtension.get_node_list, a test stub in tests/test_nodes.py, and a row in CLAUDE.md's node table.