بنقرة واحدة
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 المهني
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.
| 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.